10285 Commits

Author SHA1 Message Date
Jeff Sharkey
32e80d7588 Permission to view shared storage for all users.
Typical apps are restricted so they can only view shared storage
belonging to the user they're running as.  However, a handful of
system components need access to shared storage across all users,
such as DefaultContainerService and SystemUI.

Since WRITE_MEDIA_STORAGE already offers this functionality by
bypassing any FUSE emulation, reuse it to grant the "sdcard_rw" GID
which is no longer handed out to third-party apps.  Then we change
the FUSE daemon to allow the "sdcard_rw" GID to see shared storage
of all users.

Bug: 19995822
Change-Id: I504c2a179ba74f142ed0d32da5baa69f4212cd82
2015-07-06 10:54:28 -07:00
Jean-Michel Trivi
462045e89a Ringtone: add support for volume control and looping
Bug 22182606

Change-Id: Ied910b9fe02a5da9c4822a107ee884677c8b4991
2015-07-06 10:06:02 -07:00
Geoff Mendal
b7b84d012b Import translations. DO NOT MERGE
Change-Id: I16a0ddf1bed80ef9b985cca96eec87e48d342982
Auto-generated-cl: translation import
2015-07-06 08:56:00 -05:00
Jeff Sharkey
ef10ee0145 Handle missing migration source volume.
Users can try migrating primary storage while the current location
is missing/unmounted.  Fail gracefully instead of runtime restarting.

Bug: 21927076
Change-Id: I40645f8ccea05154e7cbacd188f6cba5f4dbbdc4
2015-07-05 14:34:13 -07:00
Rubin Xu
c85c639312 Remove ExternalMediaFormatActivity
This activity is no longer used by any part of the framework.

Bug: 9433509
Change-Id: Iace394b7a11b75ed75b2eefc05990626a7e68ac2
2015-07-02 16:53:57 +01:00
Selim Cinek
f22e2e3998 Merge "Fixed accessibility order for quick settings" into mnc-dev 2015-07-01 22:03:34 +00:00
Chris Wren
c58d169530 Merge changes from topic 'tron' into mnc-dev
* changes:
  remove double count of panel open
  report notification load on panel reveal
2015-07-01 15:33:32 +00:00
Geoff Mendal
e9eef64495 Import translations. DO NOT MERGE
Change-Id: I53dabfe326ba0f15b66ecac3829e6b8f55b33924
Auto-generated-cl: translation import
2015-07-01 08:50:39 -05:00
Selim Cinek
4949c75f1e Fixed accessibility order for quick settings
Bug: 20535538
Change-Id: I4e464c54158eb575208f6361af295ae702b19b21
2015-06-30 19:38:26 -07:00
Jorim Jaggi
e4b840d63d Fix overexpand panel motion
Expanding was already set to false when we decided which QS
overscroll animation to run. We can't change the order of expanding
finished/tracking finished because of another bug. Instead, let the
stack scroller know about tracking state and combine both of them.

Bug: 21705230
Change-Id: I041ff1fabc6c939c233528f9d08d804ead64bbab
2015-06-30 23:33:00 +00:00
Jorim Jaggi
e4f1a202d8 Fix Keyguard header animation from SHADE_LOCKED -> Keyguard
Bug: 22128249
Change-Id: I36dbecc41e66922987c1b753d62bde27cb3b17be
2015-06-30 23:25:33 +00:00
Jorim Jaggi
6ef5898793 Don't show orb when voice session is already running
Bug: 22195186
Change-Id: I7839536d2f6362889a924b65011d80556f0176b8
2015-06-30 22:30:34 +00:00
Jorim Jaggi
3b866bee86 Make sure endClosing doesn't get called too early
Bug: 22196478
Bug: 22184101
Change-Id: I3488c40b74a080efbba9b1544f9709f7e509988b
2015-06-30 22:30:08 +00:00
Jason Monk
583d2d9ba2 Merge "Don't allow do not disturb when volume restricted" into mnc-dev 2015-06-30 20:08:17 +00:00
Chris Wren
afa6185a81 remove double count of panel open
Bug: 22199112
Change-Id: I6f7d6851a7091513ce84a3950eb5bdcc1a333f43
2015-06-30 15:30:22 -04:00
Chris Wren
b659c4f44a report notification load on panel reveal
Counts may differ from user perception. For example, if notifications arrive
after the shade is open (even if it is only peeking) there will not be another
panel_reveal before the user sees the shade.  User perception is more accurately
measured by visibility events.

Peek events will report the notificaiton load as 1.

Bug: 20088581
Change-Id: I10221d4b66a18c223aae21e616615f087c65b1e1
2015-06-30 15:30:22 -04:00
John Spurlock
a81c2e16fa Merge "Volume: Defend against monkeys pulling tags too early." into mnc-dev 2015-06-30 19:22:16 +00:00
John Spurlock
1a830f0d80 Volume: Defend against monkeys pulling tags too early.
Bug: 22197117
Change-Id: I0f944fbc7fd6dd5176300c4fd0fd7b79234efe2d
2015-06-30 15:14:27 -04:00
Jason Monk
f0a60dd206 Don't allow do not disturb when volume restricted
Bug: 21642285
Change-Id: I8e31f809506b48855eb90c67727c026deb120af5
2015-06-30 10:54:48 -04:00
John Spurlock
eb60c42df2 Merge "Volume: Mark inactive sliders as focusable." into mnc-dev 2015-06-30 14:22:23 +00:00
John Spurlock
c0892c6bd6 Volume: Mark inactive sliders as focusable.
Enabled but inactive sliders ought to be focusable, just not
focused.

Bug: 22096089
Change-Id: I95cdfc1b1258ca0e4562761031f4ee59bd35e7e3
2015-06-30 10:17:37 -04:00
Chris Wren
4572cbc917 only count clicks on zen mode selector
We were counting all changes of mode while the panel was visible, including the
first initialization of the selector.

Bug: 21196323
Change-Id: Icf2165056f03507b0b8c6a21ec1f07830c29173a
2015-06-30 09:43:41 -04:00
Jorim Jaggi
e85da2bad5 Add accessibility event for assist disclosure
Bug: 21568059
Change-Id: Ib51d4236fcc87acd54cb5d191197b9b2c6cc54ea
2015-06-30 00:27:14 +00:00
John Spurlock
c3409dd253 Merge "Volume: Force dismiss on ACTION_CLOSE_SYSTEM_DIALOGS." into mnc-dev 2015-06-29 20:08:44 +00:00
John Spurlock
bc7233a8a3 Volume: Force dismiss on ACTION_CLOSE_SYSTEM_DIALOGS.
Use ACTION_CLOSE_SYSTEM_DIALOGS as an additional signal to immediately
dismiss the volume dialog, if showing.  Otherwise nav bar navigation
will not immediately dismiss the dialog.

Bug: 22173890
Change-Id: I3eee85a4579b4673b19402cf0f4048068009be35
2015-06-29 15:34:18 -04:00
Makoto Onuki
cadf3969c3 Merge "Notification for non-adopotable disks shouldn't be snoozed" into mnc-dev 2015-06-29 16:56:09 +00:00
Jason Monk
435a1dfbd6 Merge "Fix weird case of multi cell icons" into mnc-dev 2015-06-29 16:19:48 +00:00
John Spurlock
f21f1a9158 Merge "Volume Dialog: Fix NPE found in monkey testing." into mnc-dev 2015-06-29 15:50:51 +00:00
John Spurlock
dc005a8965 Volume Dialog: Fix NPE found in monkey testing.
Bug: 22116033
Change-Id: I34c586ec77bd0d2baae4e84c07afc781cda09ec3
2015-06-29 11:42:28 -04:00
Jason Monk
8fcab35828 Fix weird case of multi cell icons
- Don't auto-inflate cell icons
 - Move callback to better time (shouldn't get callbacks before
   setSubs)
 - Fix accidental callback in MobileSignalController constructor
 - Fix subscription listener to run on the right thread to avoid
   the thread issue allowing this bug

Bug: 21504138
Change-Id: Ie1adf8eb05e1042245eead5354b29b314a2e0aae
2015-06-29 11:00:24 -04:00
Geoff Mendal
3945defe60 Import translations. DO NOT MERGE
Change-Id: I0a27f1d72cdcad094a9651c223f14e3a928ea2c3
Auto-generated-cl: translation import
2015-06-29 08:52:39 -05:00
Robin Lee
cd7ceb0711 Merge "SystemUI: show owner VPN for restricted profile" into mnc-dev 2015-06-26 20:44:57 +00:00
Robin Lee
63204eeafe SystemUI: show owner VPN for restricted profile
Restricted profiles don't have their own VPN configuration - whatever
is in charge of VPN for our USER_OWNER user will have network traffic
routed to it instead.

Bug: 18419023
Bug: 21188177
Change-Id: I7205d90032461c240048a036606c3a7938d0eda2
2015-06-26 10:35:25 -07:00
Selim Cinek
b84ace51b2 Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev 2015-06-26 15:26:29 +00:00
Selim Cinek
eb4ce1d6a3 Merge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev 2015-06-26 15:26:08 +00:00
Selim Cinek
4e6b2d3e7d Fixed a crash where onTouch might have been called too early
Bug: 21906153
Change-Id: I1fbc8b29f9cb0d7d71d6cb81e95a35da2fe9959e
2015-06-25 20:15:33 -04:00
Selim Cinek
2a46d68571 Now showing unlocked icon if both trusted and fingerprint running
Bug: 21781452
Change-Id: I7b04975b36f7a135358cdd68c1bdae1e73f22cc0
2015-06-25 19:44:05 -04:00
Jorim Jaggi
91617a793e Hide assist when launching an activity over an action
Also make sure to resume app switches in this case.

Bug: 22071080
Change-Id: Ib30e064f4a5d0768b608e23183a34e326ada32e6
2015-06-25 22:39:53 +00:00
Jorim Jaggi
7e6571f13d Use long press of KeyButtonView to invoke assist
This makes sure that accessibility is handled properly.

Bug: 18778078
Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8
2015-06-25 22:39:21 +00:00
Selim Cinek
0ebd001f30 Merge "Fixed a HUN crash with notification children" into mnc-dev 2015-06-25 18:37:56 +00:00
Winson Chung
b49dbeef52 Merge "Refactoring recents search bar widget logic." into mnc-dev 2015-06-25 17:24:55 +00:00
Selim Cinek
eaee9c0190 Fixed a HUN crash with notification children
Notification children were not properly handled
before when added lead to a crash.
This will fix this bug finally.

Bug: 21868047
Change-Id: I92f2f7e71659de8274711a448e370084d423ca9f
2015-06-25 11:05:52 -04:00
Winson Chung
af3bb69367 Refactoring recents search bar widget logic.
Bug: 19062975

Change-Id: I303710598675aeebca8f34ac57de6249462ec033
2015-06-24 18:44:44 -07:00
Selim Cinek
3b9fbd2f2d Merge "Fixed a bug with encryption where the keyguard was never shown with PIN" into mnc-dev 2015-06-24 22:19:38 +00:00
Winson Chung
6301d80224 Merge "Catching launch errors when trying to go Home while Home is updating." into mnc-dev 2015-06-24 21:21:24 +00:00
Winson Chung
b8f03072d4 Catching launch errors when trying to go Home while Home is updating.
Bug: 21442898

Change-Id: I7fc74422b220cb02acb195b5c9121ff72bc16dbe
2015-06-24 14:11:45 -07:00
John Spurlock
6b0f384f00 Merge "Volume Motion: Initial show and expand transition." into mnc-dev 2015-06-24 18:47:08 +00:00
Makoto Onuki
b138cb2c0d Notification for non-adopotable disks shouldn't be snoozed
Note if an adoptable SD is mounted as an external disk, it'll still be
snoozeable.  I *think* it's reasonable, as long as the sd card is inside
the device.

Bug 21898269

Change-Id: I0aaa6c85f9db84e3f30d3b0b485a35a5abef84e8
2015-06-24 11:11:30 -07:00
John Spurlock
22def3d4eb Volume Motion: Initial show and expand transition.
Also re-enable the content collapse layout transition animations,
supported by ensuring the dialog window is tall enough for long
enough to complete the transition, avoiding clipping.

Bug: 21335976
Change-Id: Ibc4cbb1e882c1e11c4406463752afa177fb1e6d7
2015-06-24 14:04:18 -04:00
Chris Wren
ccba036dd3 Merge "don't clear notification effects in response to peeks" into mnc-dev 2015-06-24 17:54:23 +00:00