10373 Commits

Author SHA1 Message Date
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
Chris Wren
1689594851 don't clear notification effects in response to peeks
When the heads up appears it generates a visibility event for the panel.
This always clears the notification effects (buzz, beep, blink).
If we suppress that for heads up notifications, we never get another chance.
So we add a new call when we open the shade from the heads up to catch this case.

Bug: 20947591
Change-Id: I233e5346617ca2fce7851bd85154c838849df8f7
2015-06-24 13:21:47 -04:00
Selim Cinek
edd32b8817 Fixed a bug with encryption where the keyguard was never shown with PIN
This led to the network being unusable.
We now ensure that the Keyguard is not notified of the SIM PIN
changes until after the initial dismissal logic is done.
In addition, the fullscreen PIN is now always shown immediately
and not until the user swipes up, which was an error before.
Also made sure that the Keyguard Scrim is correctly visible
when shown.

Bug: 21850021
Change-Id: I81804124bae30adf0e17e26cc42f67e48fc446e8
2015-06-24 12:52:19 -04:00
Geoff Mendal
e042f952b3 Import translations. DO NOT MERGE
Change-Id: I23e3d5c71af8db285d657cf5dafbebc5c4bbad6b
Auto-generated-cl: translation import
2015-06-24 08:58:21 -05:00
Jason Monk
81b4636093 Merge "Add metrics to brightness slider" into mnc-dev 2015-06-23 19:56:13 +00:00
Jason Monk
97b87a9929 Add metrics to brightness slider
Had to add a way for BrightnessController to know when its the end
of a touch, so that we don't spam the event logs with intermediate
values.

Added visibility to BrightnessDialog as this is what settings
launches.

Bug: 21528168
Change-Id: Ie214b4ddb0c9f9bbe8c4f182f9c59f229963ebc7
2015-06-23 15:54:13 -04:00
Chris Wren
bb0e985bed Merge "turn off the ligths whenever we see the panel" into mnc-dev 2015-06-23 18:54:16 +00:00
Chris Wren
8a4014d2a4 Merge "Only report top peekingcard as visibile." into mnc-dev 2015-06-23 17:46:39 +00:00
Chris Wren
35a7c92fdf Only report top peekingcard as visibile.
Bug: 20751989
Change-Id: I741d5e6fc1dcbe036d2c8ac0d49e2e47fdf7a625
2015-06-23 13:45:00 -04:00
Selim Cinek
de1e281bbc Merge "Fixed a bug where the AssistComponent was outdated" into mnc-dev 2015-06-23 15:00:41 +00:00
Jason Monk
c13a651338 Fix crashes in QS tuner
Bug: 22027952
Change-Id: I571f115dfc2c936b54cdc2edaaf47e724758c669
2015-06-23 10:53:12 -04:00
Chris Wren
ca7febf4b8 Merge "add rank to notification visibility log" into mnc-dev 2015-06-23 12:43:09 +00:00
Selim Cinek
9a634991cf Fixed a bug where the AssistComponent was outdated
It also wasn’t updated when switching users.

Bug: 22005038
Change-Id: I45e58de5f48e3769f114ff830d62c287d2b04d4f
2015-06-23 01:11:25 -04:00