Commit Graph

1924 Commits

Author SHA1 Message Date
Lyn Han
f1c9b8baef Bubble expanded view - update header color on uimode and overlay change
Bug:123829494
Test: manual
Change-Id: I1e399f30d61ba0e00a7a39a16995209de8896f2c
2019-03-19 17:57:16 -07:00
Mark Renouf
7c9b6f45f8 Merge "Pulls all dependencies into constructor of StatusBarNotificationActivityStarter" 2019-03-19 17:58:50 +00:00
Jack Yu
20d71403b8 API review feedback changes
Made the follwing changes based on API council review
feedback

1. Made the class and its Builder class final
2. Removed methods that should not be in the builder
3. Changed the return type of available services
   from array to list.

Test: Unit tests
Bug 127657991

Change-Id: I3c2d406fed3ddaf62dee193c7657caf8c5bc13d2
2019-03-19 07:01:22 -07:00
Charles Chen
6d4ee737c2 Merge "Add tests for multi-display in System UI" 2019-03-19 07:20:56 +00:00
TreeHugger Robot
39609b562a Merge "Prevent, again, custom clock view from being visible on Home screen." 2019-03-18 23:26:13 +00:00
Robert Snoeberger
98312398ea Prevent, again, custom clock view from being visible on Home screen.
Bug: 124133570
Test: manual testing, and created b/128691778 to add regression tests.
Change-Id: I00dcb8b2a8acf6adfbcc77a1e6987824027d300c
2019-03-18 16:33:19 -04:00
Mark Renouf
906a93fd6c Pulls all dependencies into constructor of StatusBarNotificationActivityStarter
Test: atest StatusBarTest
Change-Id: I42fa954c00a835052286fbfc00c1d5baca19bc5f
2019-03-18 12:38:45 -04:00
Jack Yu
e27d3fde88 Renamed NetworkRegistrationState to NetworkRegistrationInfo
API review changes. The class covers more information other than
registration state.

Test: Build
Bug: 127657991
Change-Id: I8af36b388182ab08257b64c37078f156d4821709
2019-03-18 00:17:54 -07:00
Charles Chen
54fce2c2fd Add tests for multi-display in System UI
Also fix passing argument in CommandQueue.

Bug: 117478341
Test: atest SystemUITests
Test: atest CommandQueueTest
Test: atest AutoHideControllerTest
Test: atest NavigationBarControllerTest

Change-Id: I69f031c7fbb18d165e9fcc39614ba9de1690bd9f
2019-03-15 18:59:15 +08:00
TreeHugger Robot
03eaa6b246 Merge "Fix a bug showing the background through a punch hole when switching bubbles." 2019-03-14 22:25:37 +00:00
Issei Suzuki
c03875463d Fix a bug showing the background through a punch hole when switching bubbles.
Bug: 126856255
Test: Manual. Recorded screen and verified.
Change-Id: I2d29fc30b192c0d28c7d7e28b45ec7e01385a912
2019-03-14 13:05:16 -07:00
Lucas Dupin
18e595fb96 Merge "Fix the state cannot transition to DOZE while room is dark." 2019-03-13 21:24:22 +00:00
Joanne Chung
57be7e1b38 Fix the state cannot transition to DOZE while room is dark.
When AOD is on and the device goes from SCREEN_ON to SCREEN_OFF
in a dark room, the doze state is DOZE_AOD. Due to DozeDockHandler
receives STATE_DOCKED_HIDE but the state is not PLUSING, the screen
does not hide.

Bug: 127737347
Test: atest SystemUITests:DozeDockHandlerTest
Test: Manual
Change-Id: Icaebbdf843de61ef0026e8d3d5dca47bfc2f89eb
2019-03-13 14:30:15 +08:00
Dieter Hsu
121b1ce24b Merge "Auto dismiss heads-up notification according to accessibility timeout" 2019-03-13 03:42:37 +00:00
Nadia Benbernou
fdacc3af7c Merge "Changes to notification silencing controls." 2019-03-12 15:06:14 +00:00
TreeHugger Robot
c54a18d142 Merge changes Ide3e8e94,I84e7c06e
* changes:
  Fixed flickering when swiping away last notification
  Fixed the order of notifications when Bubbles are present
2019-03-12 06:17:33 +00:00
Dieter Hsu
bb0fdbc921 Auto dismiss heads-up notification according to accessibility timeout
Bug: 126316308
Test: atest SystemUITests
Change-Id: I2f358786d1af6f92721a1cd702b773744cb94536
2019-03-12 13:33:18 +08:00
TreeHugger Robot
ab4a65e72e Merge "Darker scrim when pulsing" 2019-03-12 03:34:36 +00:00
TreeHugger Robot
4c3a6b68c4 Merge "Respect ambient HUN setting" 2019-03-12 02:46:58 +00:00
Lucas Dupin
2c3992b5ff Respect ambient HUN setting
Test: atest StatusBarTest
Test: manual
Fixes: 128156368
Change-Id: I271aabeab5cbfccb54eb31907ff0a4150edf2586
2019-03-11 16:34:08 -07:00
Selim Cinek
fdf8033802 Fixed the order of notifications when Bubbles are present
Bubbles were still counted as showing in the shade, which lead
to the ordering logic not working properly anymore.

Test: atest SystemUITests
Fixes: 126580322
Change-Id: I84e7c06eb9ad91d21dc4ec2430ab71a5987563ad
2019-03-11 16:13:54 -07:00
Nadia Benbernou
b66516cea7 Changes to notification silencing controls.
Bug: 123900504
Test: Manual testing.
Change-Id: Ib0075ac02fdd6f94171dc4470176b06ebcf4be2f
2019-03-11 15:30:56 -04:00
Lucas Dupin
f3d0737778 Merge "Only try to auth if there's a notification" 2019-03-11 17:03:05 +00:00
Lucas Dupin
30d0886353 Merge "StatusBarWindowViewTest should run with a Looper" 2019-03-11 16:56:53 +00:00
Lucas Dupin
15fcb6d82c Only try to auth if there's a notification
LS sensor isn't a strong signal

Bug: 111414690
Test: manual
Test: atest StatusBarTest
Change-Id: I4c85709e5bb2691644a23260e72687569fc85810
2019-03-09 15:16:05 -08:00
TreeHugger Robot
3ec1f95c21 Merge "Fixed an issue where notifications weren't dismissed properly" 2019-03-09 05:41:23 +00:00
TreeHugger Robot
f017599f3a Merge "Show only user sensitive ops in system ui" 2019-03-09 03:05:33 +00:00
Lucas Dupin
2a2a252a54 StatusBarWindowViewTest should run with a Looper
Fixes: 127665100
Test: atest StatusBarWindowViewTest
Change-Id: I7d72a37114cbdd0a6b9ffc4b7b9277e7803f5aa0
2019-03-08 18:54:34 -08:00
Lucas Dupin
3113db6798 Darker scrim when pulsing
Bug: 111414690
Test: visual
Change-Id: I562037425b3d722a5832fca8814b9794f7df33f7
2019-03-08 18:36:52 -08:00
TreeHugger Robot
783f181506 Merge "Send deleteIntent when a bubble is dismissed" 2019-03-09 01:08:07 +00:00
Selim Cinek
7bc9be7158 Fixed an issue where notifications weren't dismissed properly
Whenever the blocking helper was showing, the notification wasn't
actually dismissed in the notification manager and therefore the
notification dot and other visuals could be wrong as a result.
The reason was that we were lifetime extenders could even trigger
when the notification was dismissed.

Test: atest SystemUITest
Bug: 125799998
Change-Id: Iac7e690f609414de83eefcfeb38623d7668691c3
2019-03-08 16:02:03 -08:00
Philip P. Moltmann
e3dbb5ad0a Show only user sensitive ops in system ui
Test: Looked at system ui button when starting maps and camera
Change-Id: Id6a9a64162200281c5c94671668255f258db36b3
2019-03-08 14:50:23 -08:00
Mark Renouf
08bc42a06e Send deleteIntent when a bubble is dismissed
Test: atest BubbleControllerTest
Bug: 124381186
Change-Id: Ie332dc394c25a143e75b3f9caa46de6386b392db
2019-03-08 16:54:05 -05:00
Josh Tsuji
7fe86b0a81 Merge "Save the stack position on dismiss, so new bubbles appear in the original position." 2019-03-08 21:47:01 +00:00
Lucas Dupin
18a4db5f56 Merge "Change the color of keyguard scrims to black" 2019-03-08 18:24:09 +00:00
Lucas Dupin
c5c616455b Merge "Setting to bypass lock screen upon face unlock" 2019-03-08 17:12:04 +00:00
Lucas Dupin
4d6ddb297d Merge "Ensure inital and final state" 2019-03-08 17:11:07 +00:00
Lucas Dupin
4dbe518c86 Ensure inital and final state
Make sure we're in an expected state when the test starts,
and that animations will be cancelled when it ends.

Fixes: 124858892
Test: atest ScrimControllerTest
Change-Id: Ia0395f47968fea6559b4279ea7bcc6a87a4e4582
2019-03-07 18:34:33 -08:00
Lucas Dupin
1113fdf2cb Change the color of keyguard scrims to black
Test: atest ScrimControllerTest
Bug: 111414690
Fixes: 122801774
Change-Id: If3c47d6b8bc22247b540a52f800ca332581d59c9
2019-03-07 17:32:00 -08:00
Lucas Dupin
c94963fd90 Setting to bypass lock screen upon face unlock
Test: atest BiometricsUnlockControllerTest
Test: adb shell settings put secure face_unlock_dismisses_keyguard 0
Test: adb shell settings put secure face_unlock_dismisses_keyguard 1
Bug: 111414690
Change-Id: Id3b112644017bcacf2529717e1ae4b019b00a822
2019-03-07 15:00:27 -08:00
Selim Cinek
3201352edc Merge "Ignoring flakey tests" 2019-03-07 22:56:22 +00:00
Fabian Kozynski
d4ad9313d1 Merge changes I5e5b5bf5,I44e6f917
* changes:
  Change visuals for expanded QS
  Extracts carrier information from QSFooterImpl
2019-03-07 22:18:39 +00:00
Selim Cinek
2476ed7875 Ignoring flakey tests
Test: atest SystemUITests
Bug: 127665100
Change-Id: I794dfbd638c78e4402cdfc47bf92ec23f336acee
2019-03-07 13:19:23 -08:00
Fabian Kozynski
a48d2d09d5 Extracts carrier information from QSFooterImpl
QSCarrierGroup performs the same logic and visuals that were inside
QSFooterImpl

Extracted to QSCarrier

Supports up to 3 sims

Test: atest QSFooterImpl
Test: atest QSCarrierGroup
Test: manual
Change-Id: I44e6f917e176af7f305a1de235e1a5be52da579c
2019-03-07 12:32:06 -05:00
Joshua Tsuji
e13b4fce96 Save the stack position on dismiss, so new bubbles appear in the original position.
Also, moves the fling/spring logic into the StackAnimationController. It logically belongs there anyway, and also it makes it easier to save the resting position when the fling/spring animations are complete.

Fixes: 126726949
Test: atest SystemUITests
Change-Id: If788e08d1401016bb1135416d495fbb5abf82cbb
2019-03-07 10:56:41 -05:00
Josh Tsuji
fce0615a7d Merge "Ignore onChildRemoved test due to random flakes." 2019-03-07 14:21:20 +00:00
Fabian Kozynski
a607501c25 Merge "Removed unnecessary calls and creations of Binder" 2019-03-07 14:05:00 +00:00
TreeHugger Robot
66d64cd4d6 Merge "Add restart button for size compatibility mode activity" 2019-03-07 06:34:27 +00:00
Joshua Tsuji
ed386f2a10 Ignore onChildRemoved test due to random flakes.
Test: Just ignoring a test.
Change-Id: I4f902a8012e8bdafad1bc1abd34bc73b5f8145b1
2019-03-06 23:59:25 -05:00
Selim Cinek
891640397d Merge "Remove the ambient group layout" 2019-03-07 02:56:37 +00:00