Commit Graph

20345 Commits

Author SHA1 Message Date
TreeHugger Robot
a5f160fd6e Merge "Show padlock on AOD" 2018-10-05 23:29:45 +00:00
Lucas Dupin
117365db66 Show padlock on AOD
Bug: 111405682
Test: manual
Change-Id: I1e41cc332d676d977447327b75737795713f3040
2018-10-05 12:35:35 -07:00
Charles Chen
403fc7e80d Merge "Make KeybuttonView respect display id" 2018-10-05 05:44:38 +00:00
Hyunyoung Song
c5c8b7d3a2 Merge "Fix Panel View not being able to handle touch when NexusLauncher dies" 2018-10-05 03:31:49 +00:00
Charles Chen
f7150f61e5 Make KeybuttonView respect display id
Bug: 115978725
Test: atest KeyButtonViewTest

Change-Id: I8ce3078fd72fd1022627ed8e8e7e12e66a6b82e3
2018-10-05 11:10:56 +08:00
Hyunyoung Song
547e11e85f Fix Panel View not being able to handle touch when NexusLauncher dies
Bug: 116744159
Test: builds
Also verified by executing following while touching on the device
$ adb shell am force-stop com.google.android.apps.nexuslauncher

Change-Id: I075dc05fbda2cc99573a78fcc239355a59e3a8ac
2018-10-04 16:44:42 -07:00
TreeHugger Robot
2f91645cf1 Merge "Page in PagedTileLayout only changes when needed" 2018-10-04 22:19:23 +00:00
TreeHugger Robot
6c76b21d24 Merge "Stop requesting a11y focus in GlobalActionsDialog" 2018-10-04 21:55:21 +00:00
Fabian Kozynski
3b651e90bc Merge "Fix crash on PagedTileLayout" 2018-10-04 18:01:50 +00:00
Fabian Kozynski
407ddb2f20 Page in PagedTileLayout only changes when needed
Made sure that pages are not changed unnecesarily on events that do not
modify the page structure.

Saves current page on destruction, to be restored later. In particular
in the case of switching to Dark theme on entering battery saver mode
(it destroys QSFragment).

Test: manual && runtest
Change-Id: I941f0a7728139257d5c5dd3646df16aaf1805470
Fixes: 117171669
2018-10-04 12:16:38 -04:00
Fabian Kozynski
fae42a8777 Fix crash on PagedTileLayout
Test: Manual
Change-Id: I4fe463db38c4dd67091cf26535de79e80b074517
Fixes: 117266580
2018-10-04 11:18:42 -04:00
Gus Prevas
cda0e83faf Merge "Fixes icons in shelf scrolled due to exposed menu." 2018-10-04 13:26:35 +00:00
Issei Suzuki
495de00e0a Merge "Refactor DisplayCutout to use Rect instead of Region." 2018-10-04 08:43:54 +00:00
Kevin Chyn
5ff2b1f158 Merge changes from topic "biometric-manager"
* changes:
  Move biometric setting observer from KeyguardUpdateMonitor to BiometricService
  Change BiometricManager#hasEnrolledBiometrics to canAuthenticate
2018-10-04 03:19:25 +00:00
Gus Prevas
99ba4bac9e Fixes icons in shelf scrolled due to exposed menu.
This change modifies NotificationStackScrollLayout to reset the exposed
menu state in the following cases:

- transitioning to AOD
- scrolling via a touch on the exposed notification
- shade height changing, causing footer to clip the exposed notification

This prevents the notification's icon from having its scrollX set (which
is how we keep it lined up with the translated notification) when it's
in the shelf.

Test: manual
Change-Id: Ie2d179c9275ec457ee46c6a40859310610a6d9d8
Fixes: 112304611
2018-10-03 15:29:11 -04:00
Lucas Dupin
8a6c2241b2 Merge "Reload theme when ui mode changes" 2018-10-03 16:10:40 +00:00
TreeHugger Robot
ddab9b0a7b Merge "Settings panel is expanded correnctly when QQS is showing" 2018-10-03 14:15:42 +00:00
Fabian Kozynski
f20a318b2d Settings panel is expanded correnctly when QQS is showing
Test: runtest && manual
Change-Id: I6f04264cf308e4b2b22ae2ee9d2448737025e3ea
Fixes: 110149988
2018-10-03 08:57:53 -04:00
Issei Suzuki
43190bdf40 Refactor DisplayCutout to use Rect instead of Region.
Test: unittest
Bug: 112296834

Change-Id: I4245543c26f99afa59a34f5b6e6650b93d052a6e
2018-10-03 18:52:33 +09:00
TreeHugger Robot
27fd83c417 Merge "Make settings brightness mirror dark" 2018-10-03 01:36:01 +00:00
Lucas Dupin
e5b7dc705c Reload theme when ui mode changes
ContextThemeWrappers must be reloaded because they have their
own internal themes and configurations.

Change-Id: Ib5ed9db4ca5b5c8af0c1dbdfc053f18836f40a59
Fixes: 117160883
Test: manually toggle dark mode multiple times
2018-10-02 15:18:05 -07:00
Lucas Dupin
ee7bdf6991 Make settings brightness mirror dark
Test: visual
Change-Id: I057868657908d8cf0b192da838f7590419894af6
Fixes: 117122866
2018-10-02 14:59:45 -07:00
Fabian Kozynski
51b2b84910 Merge "Fix crash when there's only one QQS tile" 2018-10-02 20:30:42 +00:00
TreeHugger Robot
dc792bcbe5 Merge "Synchronize ZenModeControllerImpl callbacks" 2018-10-02 20:19:17 +00:00
Salvador Martinez
25041bcec8 Merge "Update triggering to not double trigger at severe threshold" 2018-10-02 19:52:17 +00:00
Fabian Kozynski
1967f7dbc8 Fix crash when there's only one QQS tile
Test: runtest & manual (adb)
Change-Id: I5a48f69a0650fecea47e755bf0ba1124e1150db9
Fixes: 117101187
2018-10-02 10:54:16 -04:00
TreeHugger Robot
549f05925c Merge "Wifi Tile updates its label on Locale change" 2018-10-02 13:37:34 +00:00
Beverly
3f74c5dea1 Synchronize ZenModeControllerImpl callbacks
Test: manual
Bug: 115688927
Change-Id: Ib47913c7b5522c40405fadd97d570d5f197f71dc
2018-10-02 09:22:56 -04:00
Fabian Kozynski
051d856587 Merge "Fix clipping on scrolling QS Panel" 2018-10-02 13:02:31 +00:00
Kevin Chyn
b7b54a6039 Move biometric setting observer from KeyguardUpdateMonitor to BiometricService
Fixes: 116872423

Test: with additional logging, do
      adb shell settings put secure face_unlock_keyguard_enabled 1 (or 0)
Test: content observer updates when user changes
Test: clients receive the current state upon registering

Change-Id: Id37381a8c263b29a0b91abb5241d74bb52364d63
2018-10-01 15:40:43 -07:00
Salvador Martinez
88b0d501de Update triggering to not double trigger at severe threshold
If the low threshold is not shown for any reason and we reach the
severe threshold and it does show it will double trigger. This CL
just makes it so both are marked as "shown" if the severe warning
is shown regardless of whether the low warning was shown or not.

Test: runtest systemui
Bug: 116716293
Change-Id: I7fff2d7beba7b37312b9a4c4951a68c3d1f1ba3f
2018-10-01 14:48:41 -07:00
Fabian Kozynski
6eaf3acd2c Fix clipping on scrolling QS Panel
QS Panel paged view now clips to its padding.

Pages are horizontally centered.

Test: runtest & Visual
Change-Id: If35b8d6f4c44cb0c425efa6e8f6aa92a8cfa0c75
Fixes: 117096186
2018-10-01 17:28:54 -04:00
TreeHugger Robot
222b756958 Merge "Don't show vol settings button if in LockTask" 2018-10-01 21:19:46 +00:00
TreeHugger Robot
578a27c2c7 Merge "Revert "Revert onSurfaceRedrawNeeded behavior"" 2018-10-01 20:40:50 +00:00
Fabian Kozynski
cca4ee0895 Merge "Fixes NPE when trying to expand QSPanel with wrong name of tile" 2018-10-01 20:16:35 +00:00
Beverly
34d271d063 Don't show vol settings button if in LockTask
Test: manual
Change-Id: I2e6e69bcad41fe09b9b9f0be9aee9f8406c6cf6c
Fixes: 77511298
2018-10-01 14:54:01 -04:00
Tony Wickham
7362abd073 Merge "Move plugin support to shared lib" 2018-10-01 18:18:01 +00:00
Winson Chung
c8422db007 Merge "Remove empty NavBarGestureHelper class" 2018-10-01 17:27:22 +00:00
Fabian Kozynski
e3137e35a4 Fixes NPE when trying to expand QSPanel with wrong name of tile
Fixes promise of StatusBarManager#expandSettingsPanel to document what
happens on invalid tile name.

Added test to verify correct behavior.

Change-Id: I057210eb47411cf2a7dfefdd4efe49b96fd33f69
Fixes: 111128728
Test: runtest && manual
2018-10-01 12:21:30 -04:00
Lucas Dupin
d511605f9f Revert "Revert onSurfaceRedrawNeeded behavior"
This reverts commit d51863e994.

Reason for revert: Caused b/116859106
Fixes: 116859106

Change-Id: I12de0aa8d71164da29e3d40b4e0bd847c70f680c
2018-10-01 15:56:20 +00:00
Lucas Dupin
493cb6d5cb Merge "Renaming gesture" 2018-09-28 22:00:56 +00:00
Winson Chung
0d3815d98e Remove empty NavBarGestureHelper class
- Also add logging for QuickStepController state

Bug: 112783625
Bug: 114137554
Test: Can still swipe up into Overview
Test: adb shell dumpsys activity service SystemUIservice
Change-Id: I6a1203d7140e30239e032266680236d090b7682e
2018-09-28 21:20:39 +00:00
Fabian Kozynski
d9cb384948 Wifi Tile updates its label on Locale change
Change-Id: Ibcbf090fedda418f97820f7f9a2df67f77b25680
Fixes: 111426133
Test: manual
2018-09-28 16:55:00 -04:00
Tony Wickham
023cb195be Move plugin support to shared lib
In addition to changing imports, this required some changes to use java
7, since that's what the shared lib needs to be for launcher.

See bug for more details on this project.

Test: "atest com.android.systemui.shared.plugins"
  build succeeds and all tests pass

Bug: 115877296
Change-Id: Ib79ede0a61664df0ba1a194632a345d2229777fc
2018-09-28 10:04:09 -07:00
Lucas Dupin
13b0cb9890 Renaming gesture
Bug: 111414690
Test: make
Change-Id: I9d2a6507a942c56fe5b626d8dce46321ff70014b
2018-09-28 09:27:46 -07:00
TreeHugger Robot
328099b0ad Merge "Extract NotificationSwipeHelper and related state from NSSL." 2018-09-27 20:54:28 +00:00
Aaron Heuckroth
45d20bed1d Extract NotificationSwipeHelper and related state from NSSL.
Change-Id: Ic0a1178e4f3d6f2addd9bae1c31ec57dffee8eba
Test: Automated tests should pass. Manual testing should also show that notifications behave the same as before (swiping, tapping, dismissing, snapping/unsnapping menu, etc.)
2018-09-27 15:25:42 -04:00
Fabian Kozynski
ea8c3fad9d Merge "Brightness slider doesn't jump when panel is open" 2018-09-27 17:11:49 +00:00
Winson Chung
d0938d02a8 Merge "Removing dependencies on recents-specific code in SysUI" 2018-09-27 16:43:23 +00:00
TreeHugger Robot
361a1268f2 Merge "Fixes NPE on user changing back to Owner" 2018-09-27 16:11:31 +00:00