Commit Graph

16413 Commits

Author SHA1 Message Date
TreeHugger Robot
f65d166959 Merge "Removed remaining use of static stack ids." 2017-10-11 21:27:05 +00:00
TreeHugger Robot
c87f3792f1 Merge "Handle Keyboard long-presses and Talkback shortcut on notifications" 2017-10-11 18:49:52 +00:00
Geoffrey Pitsch
409db2766b Handle Keyboard long-presses and Talkback shortcut on notifications
An incremental improvement to keyboard support on the status bar.
SwipeHelper calls a method on ExpandableNotificationRow, which it then
manually invokes from keydown/ups and the AccessibilityAction shortcut.

Regular clicks on the lockscreen still do not activate the notification.

Bug: 34840327
Test: manual
Change-Id: I5b59dec26c5e20237c4136820fff902ff8221371
2017-10-11 11:10:31 -04:00
Wale Ogunwale
44f036fd5a Removed remaining use of static stack ids.
Replace by windowingMode and activityType.

Test: Existing tests pass.
Test: go/wm-smoke
Bug: 64146578
Change-Id: I2ff026de3ead1a3e7136df17c68ed37d7aae5495
2017-10-11 07:40:46 -07:00
Charles He
e7a7a29d2e Merge "StatusBar: add DISABLE2_GLOBAL_ACTIONS." 2017-10-11 08:07:21 +00:00
Lucas Dupin
d9f19a87cf Merge "Fixed problem where scrim transition would be cancelled" into oc-mr1-dev am: 43aca9cdc8
am: 5493abd692

Change-Id: I2f3c3a46a30eeb2287d276ca68a53d555a4f2669
2017-10-11 03:12:46 +00:00
Lucas Dupin
5493abd692 Merge "Fixed problem where scrim transition would be cancelled" into oc-mr1-dev
am: 43aca9cdc8

Change-Id: I3de9cb8713cd0df80aeffc21c29bcfc9a3818d92
2017-10-11 03:03:39 +00:00
TreeHugger Robot
43aca9cdc8 Merge "Fixed problem where scrim transition would be cancelled" into oc-mr1-dev 2017-10-11 02:55:29 +00:00
Lucas Dupin
5909d0134d Fixed problem where scrim transition would be cancelled
Change-Id: I089e499bfaf524898f5156aecaf098c94b9a1b2b
Fixes: 64077859
Test: send notifications, look at AoD
2017-10-10 17:35:46 -07:00
Charles He
9851a8da99 StatusBar: add DISABLE2_GLOBAL_ACTIONS.
We add a new StatusBarManager flag to disable the global actions dialog
(a.k.a. the power button menu), which is required in certain kiosk mode
scenarios.

Bug: 65813398
Test: runtest systemui
Test: manual, by using a modified version of TestDPC and
      DevicePolicyManagerService

Change-Id: Ib7da2f4837281e98e558afcc30be8bae6f2e179a
2017-10-10 21:04:42 +01:00
Brad Ebinger
ad545464c2 Merge "Fix NPE when removing PIN locked SIM during E911 call" into oc-mr1-dev 2017-10-10 17:14:35 +00:00
Brad Ebinger
3311859a48 Fix NPE when removing PIN locked SIM during E911 call
There is the possibility of mCallback being null while
the Keyguard still has a PhoneStateListener registered
for onSimStateChanged callback. This can cause a NPE.

Bug: 66986066
Test: Manual, PIN/PUK locked SIM
Merged-In: Id8ca403a839cff994970c370973a91e8e5688722
Change-Id: I799c9521f787e800e259c3bdce9edee3f844f5f3
2017-10-09 22:46:13 +00:00
Lucas Dupin
1cada41b91 Merge "Decreases likelihood of AoD flickering" into oc-mr1-dev am: c856aa18e3
am: bd8305f328

Change-Id: I8dc3e1eaaf3481cba4f67f117d553f254071cc1e
2017-10-09 18:20:38 +00:00
TreeHugger Robot
a3c728e1a2 Merge changes from topic "jr-blocker"
* changes:
  Initial notification blocker
  Provide more information to the noti asst
2017-10-09 18:13:50 +00:00
Lucas Dupin
bd8305f328 Merge "Decreases likelihood of AoD flickering" into oc-mr1-dev
am: c856aa18e3

Change-Id: Ia9a137a7d7d4e0b170dabdae7aa5fd4253255a6e
2017-10-09 18:11:40 +00:00
TreeHugger Robot
c856aa18e3 Merge "Decreases likelihood of AoD flickering" into oc-mr1-dev 2017-10-09 18:01:54 +00:00
Julia Reynolds
503ed9404e Provide more information to the noti asst
And pass user sentiment from the assistant to listeners.

Not all of the information the assistant might want is provided
by systemui yet, but the hooks to do so have been added in this CL.

Bug: 63095540
Test: runtest systemui-notification, cts
Change-Id: I8194c065b7895d6013a40320e76eb62caab1263f
2017-10-09 12:36:46 -04:00
TreeHugger Robot
0e186ac3f0 Merge "Removed sys-ui's use of static stack ids." 2017-10-08 18:31:43 +00:00
Selim Cinek
53336b854c Merge "Fixed an issue where added icons were white in multiwindow" into oc-mr1-dev am: 3f0dd94efc
am: 9ff8ac0596

Change-Id: I79c2d4cb34b98e0e430cbaa525233d165bca2c30
2017-10-07 17:54:44 +00:00
Selim Cinek
9ff8ac0596 Merge "Fixed an issue where added icons were white in multiwindow" into oc-mr1-dev
am: 3f0dd94efc

Change-Id: I1fdb7cc9eba446167cf7d78cae2533a4bb5c3f89
2017-10-07 17:45:40 +00:00
TreeHugger Robot
3f0dd94efc Merge "Fixed an issue where added icons were white in multiwindow" into oc-mr1-dev 2017-10-07 17:34:40 +00:00
Wale Ogunwale
89be5761bc Removed sys-ui's use of static stack ids.
Test: Existing tests pass
Test: go/wm-smoke
Bug: 64146578
Change-Id: Ia74b363358cbae383e74dbc33fdcbb37191f0419
2017-10-06 16:34:43 -07:00
Lucas Dupin
5322dae530 Decreases likelihood of AoD flickering
The transition from display power modes isn't tightly coupled
to the AoD lifecycle. We rely on a timeout to show and hide
the sysui scrim. In this case we increased it.

Change-Id: I13a0d33205c9f904afced63f231176151aee15c4
Fixes: 64077859
Test: receive notificaition in AoD, observe.
2017-10-06 15:24:52 -07:00
Selim Cinek
887da3cf3a Fixed an issue where added icons were white in multiwindow
Because it wasn't laid out yet, icons would appear white.

Change-Id: I9338966299de253f36ae325553e82b76defe3b9d
Fixes: 66711268
Test: add icon with light statusbar in multiwindow, icon looks normal
2017-10-06 13:40:31 -07:00
Selim Cinek
34e83d28f0 Merge "Fixed a bug where the order of the icons was wrong" into oc-mr1-dev am: 942aaf5ae8
am: 7c548a5712

Change-Id: Ib20dad12716a3472d6cf78f469e793ce18a5093d
2017-10-06 16:39:41 +00:00
Selim Cinek
7c548a5712 Merge "Fixed a bug where the order of the icons was wrong" into oc-mr1-dev
am: 942aaf5ae8

Change-Id: I199657bc2e2582cd2228045ae208d96bbc951485
2017-10-06 16:28:59 +00:00
Selim Cinek
942aaf5ae8 Merge "Fixed a bug where the order of the icons was wrong" into oc-mr1-dev 2017-10-06 16:09:29 +00:00
Brad Ebinger
74b5da24fe Merge "Fix NPE when removing PIN locked SIM during E911 call" am: b7dc3a3b21 am: 4910739237 am: 5b2afc8dab
am: 6a834447ef

Change-Id: I0c54947c73d99fbbaa976273f17746cc009b4e24
2017-10-06 04:23:19 +00:00
Brad Ebinger
6a834447ef Merge "Fix NPE when removing PIN locked SIM during E911 call" am: b7dc3a3b21 am: 4910739237
am: 5b2afc8dab

Change-Id: Id8ca403a839cff994970c370973a91e8e5688722
2017-10-06 04:12:31 +00:00
Brad Ebinger
5b2afc8dab Merge "Fix NPE when removing PIN locked SIM during E911 call" am: b7dc3a3b21
am: 4910739237

Change-Id: I7a0be565cebff2f87b136a6c29484ee43ca116ab
2017-10-06 04:03:51 +00:00
Brad Ebinger
4910739237 Merge "Fix NPE when removing PIN locked SIM during E911 call"
am: b7dc3a3b21

Change-Id: I16555b53bbf9c743921cbd36578af3550705a242
2017-10-06 03:54:29 +00:00
Treehugger Robot
b7dc3a3b21 Merge "Fix NPE when removing PIN locked SIM during E911 call" 2017-10-06 03:43:31 +00:00
Selim Cinek
138590588b Fixed a bug where the order of the icons was wrong
Because the normal order would not factor in the
yTranslation.

Change-Id: Ie37b69ee5187c4f4bd58f90d8297cf73b7a4ed53
Fixes: 67017075
Test: swipe through notification in statusbar, observe right ordering
2017-10-05 17:16:57 -07:00
Brad Ebinger
7130675c53 Fix NPE when removing PIN locked SIM during E911 call
There is the possibility of mCallback being null while
the Keyguard still has a PhoneStateListener registered
for onSimStateChanged callback. This can cause a NPE.

Bug: 66986066
Test: Manual, PIN/PUK locked SIM
Change-Id: I799c9521f787e800e259c3bdce9edee3f844f5f3
2017-10-05 11:39:06 -07:00
Charles He
aff38adc43 Merge "StatusBar: add DISABLE2_NOTIFICATION_SHADE flag." 2017-10-05 07:52:47 +00:00
Matthew Ng
012e78b9af Merge "Hides the statusbar in recents for low ram devices" into oc-mr1-dev am: eb7aba16d2
am: cc14e2bf3c

Change-Id: Ie2401daed37da53ea977b487a811a03522bf78d4
2017-10-05 01:23:09 +00:00
Matthew Ng
cc14e2bf3c Merge "Hides the statusbar in recents for low ram devices" into oc-mr1-dev
am: eb7aba16d2

Change-Id: I73c29391eebb8df44c9ae40c00a594e4a0cd5580
2017-10-05 00:51:33 +00:00
TreeHugger Robot
eb7aba16d2 Merge "Hides the statusbar in recents for low ram devices" into oc-mr1-dev 2017-10-05 00:34:02 +00:00
Matthew Ng
27b3b2bc1b Hides the statusbar in recents for low ram devices
When entering recents on a low ram device, the system will hide the
statusbar to match the spec (go/android-go-recents).

Test: manual - enter recents
Bug: 67346921
Change-Id: I180899560aa1379b0a68cf63ae9b780fdef1746d
2017-10-04 15:14:10 -07:00
Charles He
2eda242fbc StatusBar: add DISABLE2_NOTIFICATION_SHADE flag.
Previously, DISABLE_EXPAND would disable the expansion of the status
bar. But this was only limited to the unlocked case. The status bar (and
thus the quick settings panel) could still be expanded on the lock
screen (keyguard), by swiping down from either the status bar or the
notification cards.

We introduce a new flag which would disable notification shade on all
surfaces, which will be used by DevicePolicyManager to enforce LockTask
restrictions, etc.

Bug: 65813398
Test: runtest systemui
Test: manual, by using a modified version of TestDPC and
      DevicePolicyManager

Change-Id: I364567422e0ca8837ecffa3037adc131c3cef691
2017-10-04 21:11:02 +01:00
Matthew Ng
876259154c Merge "Fixes rounded corners for clear all button on low ram devices" into oc-mr1-dev am: 440240db5c
am: 9c970eee77

Change-Id: I43afd141d4268629804df203d61d9b16ff24bb9a
2017-10-04 01:22:43 +00:00
Matthew Ng
9c970eee77 Merge "Fixes rounded corners for clear all button on low ram devices" into oc-mr1-dev
am: 440240db5c

Change-Id: I5bfd0a633e96447c37f7b64c4fc8fc52b374f059
2017-10-04 01:07:47 +00:00
Matthew Ng
d2eb55d098 Fixes rounded corners for clear all button on low ram devices
Fixed rounded corners for clear all button by using a themed
background color on a shape with rounded corners instead of
programmatically changing the background color.

Change-Id: Iaaf4f0d94d417b0064c7e6bf4895b49d9fa6561f
Fixes: 67368134
Test: manual - go to recents and scroll up to show clear all button
2017-10-03 22:57:26 +00:00
Selim Cinek
76ea222105 Merge "Collapse Notification panel after tapping CLEAR ALL button" am: ca8b270063 am: d4b6e59cad am: 3674a64029
am: adea17d335

Change-Id: Ie80f7695f63341aa6b6ce0fdd4060c0c057db5b1
2017-10-03 22:15:27 +00:00
Selim Cinek
adea17d335 Merge "Collapse Notification panel after tapping CLEAR ALL button" am: ca8b270063 am: d4b6e59cad
am: 3674a64029

Change-Id: Iaac0047f43ebfb721a1d632686e1c0afad44cb96
2017-10-03 21:59:03 +00:00
Selim Cinek
3674a64029 Merge "Collapse Notification panel after tapping CLEAR ALL button" am: ca8b270063
am: d4b6e59cad

Change-Id: Ib6f48bc7bf8f6cfae5f66adcdd7923891c320f99
2017-10-03 21:45:55 +00:00
Selim Cinek
d4b6e59cad Merge "Collapse Notification panel after tapping CLEAR ALL button"
am: ca8b270063

Change-Id: I3ce745ab3546fa93aa0cafa7874b8449e6d2cfc9
2017-10-03 21:30:14 +00:00
Chris Wren
193a5275da Merge "measure snooze UI use more precisely" into oc-mr1-dev am: 72826c99fa
am: 875ecb48f0

Change-Id: I8736e71c23fbc5e83278eebba0826119924e34fd
2017-10-03 20:57:08 +00:00
Chris Wren
875ecb48f0 Merge "measure snooze UI use more precisely" into oc-mr1-dev
am: 72826c99fa

Change-Id: I1304ace99258426667059dd98c51ea7d4e10b00c
2017-10-03 20:40:55 +00:00
TreeHugger Robot
bed34700b9 Merge "Make WifiTracker lifecycle aware" 2017-10-03 20:21:52 +00:00