Commit Graph

8577 Commits

Author SHA1 Message Date
Cecilia Hong
d93b336375 Merge "Send AGSA the dismiss intent when user dismisses the recommendation card or the reactivated media player (during the recommendation active session)." into sc-qpr1-dev am: 72afe9d682
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15844486

Change-Id: Id15a71628361e7769c7afa1443af88b7ac90ea92
2021-09-25 02:15:16 +00:00
TreeHugger Robot
50787490ef Merge "[Provider Model] Add Ethernet network to Internet Panel" into sc-qpr1-dev am: 01841cf819
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15853769

Change-Id: Id8269ec3844622bd57fdd7855e6ef4999fb1dbfd
2021-09-25 02:11:58 +00:00
Evan Laird
974aa5add4 Merge changes Ibdaec230,I06d5e569,I5e2eb489,I116b5f63,I6fa7adaa into sc-v2-dev
* changes:
  Create QsInfo and SbInfo boxes for MobileSignalController
  Move some logic to MobileState
  Remove qsDataType since it was the same as dataType
  Remove isWide from MobileIconGroup
  Move callback anonymous classes out of constructor
2021-09-24 23:18:50 +00:00
Beth Thibodeau
1953f16498 Merge "Use orientation value from config change event" into sc-v2-dev 2021-09-24 19:49:16 +00:00
Tracy Zhou
cbc62e2056 Merge "Consolidate isTablet logic across launcher and SysUI" into sc-v2-dev 2021-09-24 17:16:41 +00:00
Tracy Zhou
aec791162f Consolidate isTablet logic across launcher and SysUI
Fixes: 197960261
Test: Change display size; nav bar and task bar don't show up at the same time`
Change-Id: I8e213dd0a77b2c694af10186ee301b7a03969ab0
2021-09-23 20:54:52 -07:00
Dave Mankoff
43057f8d5c Merge "Prevent NPE in NavigationBar" into sc-v2-dev 2021-09-23 19:53:07 +00:00
Evan Laird
1b3972d7f8 Create QsInfo and SbInfo boxes for MobileSignalController
Simplify MobileSignalController#notifyListeners() by splitting the QS
and SB portions of the method into their own *Info objects and moving
those calls out to their own methods.

Also adds mNetworkToIconLookup, mProviderModelBehavior, and
mProviderModelSetting to the MobileSignalController logs.

Test: dumpsys
Bug 197851948

Change-Id: Ibdaec230c4a407d23804fb8250809cc877a7f183
Merged-In: Ibdaec230c4a407d23804fb8250809cc877a7f183
2021-09-23 15:13:23 -04:00
Evan Laird
379fc8cd51 Remove isWide from MobileIconGroup
This field was unused

Bug: 197851948
Test: atest SystemUITests
Change-Id: I116b5f639f601a99349ec60246f42d1f8ab83c6d
Merged-In: I116b5f639f601a99349ec60246f42d1f8ab83c6d
2021-09-23 15:13:23 -04:00
Beth Thibodeau
7764837004 Use orientation value from config change event
Before, when the device was rotated we would get the new orientation value
from the event but then use the value from getResources() to decide
which layout to show. This discrepancy is a potential cause for an issue
where QS uses the landscape layout when the device was actually portrait

Fixes: 159737544
Test: atest QSPanelControllerBaseTest QSPanelControllerTest
Change-Id: Icd15712cd4821b7833a3373978a92f8b5959ac12
2021-09-23 16:12:02 +00:00
Dave Mankoff
eec420a375 Prevent NPE in NavigationBar
When the view detaches, we were left in a state where the view
was null but the a11y callbacks were still using it.

Test: atest SystemUITests
Fixes: 196285098
Change-Id: Ie53ac9d73c22be204d905079773f3f021010fd1d
2021-09-22 10:22:33 -04:00
PETER LIANG
5996de34d2 Merge changes I27530b15,Ic5d88cf3 into sc-v2-dev
* changes:
  Fixing the a11y floating menu could overlap the keyboard when rotated in a foldable device.
  Fixing the a11y floating menu could overlap the taskbar in a foldable device.
2021-09-22 06:01:42 +00:00
Peter_Liang
809296282a Fixing the a11y floating menu could overlap the keyboard when rotated in a foldable device.
Root cause:
WindowInsets have different values depend on timing and when to call it.

Actions:
Updating the latest ime inset to the menu when onApplyWindowInsets was triggered, and then adjust the position.

Bug: 200759679
Test: atest AccessibilityFloatingMenuViewTest
Change-Id: I27530b154cb3c89650be69b0d0e2116dc88a7b39
2021-09-22 05:59:52 +00:00
Nick Chameyev
c87aa1a23e Merge "Add should use default unfold transition attribute to wallpaper" into sc-v2-dev 2021-09-21 16:09:41 +00:00
Shan Huang
684b66adb2 Fix race condition wen setting boot color sysprops (round 2)
Bug: 197690550
Test: ThemeOverlayApplierTest, ThemeOverlayControllerTest. Set wallpaper
and reboot.

Change-Id: I7d304d442e3f6839ad047944cae21dc07d7c3dea
Merged-In: I7d304d442e3f6839ad047944cae21dc07d7c3dea
2021-09-20 23:14:40 +00:00
Cecilia Hong
72afe9d682 Merge "Send AGSA the dismiss intent when user dismisses the recommendation card or the reactivated media player (during the recommendation active session)." into sc-qpr1-dev 2021-09-20 16:21:54 +00:00
TreeHugger Robot
034a62510c Merge "[DO NOT MERGE] Show UDFPS icon on AOD even if fp auth isn't running" into sc-qpr1-dev 2021-09-20 15:29:10 +00:00
Matt Pietal
abd63e9310 Merge "[DO NOT MERGE] Smartspace - Don't connect until setup" into sc-v2-dev 2021-09-20 14:08:49 +00:00
Beverly
e5be111dc4 [DO NOT MERGE] Show UDFPS icon on AOD even if fp auth isn't running
* shows udfps if it's enrolled on AOD even if:
   * device requires strong auth (ie: after reboot, lockdown)
   * device is unlocked via smart lock

On click of the udfps icon in the above cases:
  * If the device is locked, the bouncer will show.
  * If the device is unlocked, the user will enter the device.

Fixes: 198315404
Test: manual
Change-Id: Id766df8f77427ae1db672507716bd38dc3462452
2021-09-20 14:07:42 +00:00
Nick Chameyev
0a14f33198 Add should use default unfold transition attribute to wallpaper
Adds new attribute to wallpaper XML declaration to indicate
whether a wallpaper should receive default zooming transition
updates when folding or unfolding. This attribute allows to
opt-out from the default behaviour during this transition and
implement custom behaviour.

Bug: 196933493
Test: atest android.app.cts.WallpaperInfoTest
Change-Id: I7cb104bf7dfbbe92de72e505ec31d866a59bae4a
2021-09-20 09:55:02 +00:00
cecilia
3a47929fd7 Send AGSA the dismiss intent when user dismisses the recommendation
card or the reactivated media player (during the recommendation active
session).

Fixes: 195064048
Test: Local builds & MediaDataManagerTest

Change-Id: Iaecbd80d137e28fb4f8983bf45a283e028b6c067
2021-09-20 07:18:51 +00:00
TreeHugger Robot
01841cf819 Merge "[Provider Model] Add Ethernet network to Internet Panel" into sc-qpr1-dev 2021-09-20 04:27:08 +00:00
TreeHugger Robot
f1851c9a84 Merge "Show UDFPS icon on AOD even if fp auth isn't running" into sc-v2-dev 2021-09-18 06:48:58 +00:00
Lucas Dupin
bc49f4f85a Merge "Revealing the light reveal scrim only during keyguard exit animation" into sc-dev am: 5837f7b41b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15738322

Change-Id: I0984f9ecf94a16ceb07c97a81d494b9e10df7549
2021-09-17 21:49:54 +00:00
Lucas Dupin
5837f7b41b Merge "Revealing the light reveal scrim only during keyguard exit animation" into sc-dev 2021-09-17 21:32:24 +00:00
Beverly
6976853a62 Show UDFPS icon on AOD even if fp auth isn't running
* shows udfps if it's enrolled on AOD even if:
   * device requires strong auth (ie: after reboot, lockdown)
   * device is unlocked via smart lock

On click of the udfps icon in the above cases:
  * If the device is locked, the bouncer will show.
  * If the device is unlocked, the user will enter the device.

Fixes: 198315404
Test: manual
Change-Id: Id766df8f77427ae1db672507716bd38dc3462452
2021-09-17 19:36:37 +00:00
Beverly
9b62051f88 Update clock burn-in so it doesn't clash with udpfs
* update the UDFPS icon burn-in parameters to be in pixels
because we don't want display density to increase the
position movement
* when the clock is centered aligned, we want to make sure
it doesn't overlap with the udfps icon

Test: atest SystemUITests, manually update clock times with
with DozeUi.BURN_IN_TESTING_ENABLED enabled and see clock
doesn't interfere with the UDFPS icon.
Fixes: 192423460

Change-Id: I6f95fe3ad763971b804129b517f4c98192ab3674
2021-09-17 17:48:25 +00:00
Weng Su
d20de58a2f [Provider Model] Add Ethernet network to Internet Panel
- Show the Ethernet network to first item of internet panel

- Show the Ethernet network even when airplane mode is turned on

Bug: 192930745
Bug: 192931553
Test: manual test
atest -c InternetDialogControllerTest \
         InternetDialogTest

Change-Id: I5f5b8fa44f9d4b0801684b663b634138c83cff42
Merged-In: I5f5b8fa44f9d4b0801684b663b634138c83cff42
(cherry picked from commit 2ad830cc06)
2021-09-17 16:27:40 +00:00
TreeHugger Robot
9a66f8324b Merge "Delay the transition to AOD1 if udfps is activated" into sc-dev 2021-09-17 13:54:05 +00:00
TreeHugger Robot
3a746b4ec0 Merge "Don't rotate LS udfps location unless LS is occluded" into sc-qpr1-dev am: ed47c002f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15839008

Change-Id: I78c9efde6cead95d72d0f5f602a393ea8fcb70f1
2021-09-17 13:04:17 +00:00
TreeHugger Robot
a608bf7c78 Merge "NotificationShade should animate away on MODE_UNLOCK_COLLAPSING" into sc-qpr1-dev am: a22f94bd81
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15843869

Change-Id: Id38a11f15fe1a320cc403a8bcd864ab651bab8db
2021-09-17 13:04:07 +00:00
TreeHugger Robot
7cf67680ed Merge "Merge "Don't wakeup from the pickup gesture when kg is occluded" into sc-qpr1-dev am: 04c515b87a" into sc-v2-dev 2021-09-17 13:03:45 +00:00
Beverly Tai
c114a23f9f Merge "Don't wakeup from the pickup gesture when kg is occluded" into sc-qpr1-dev am: 04c515b87a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15669803
Bug: 194925434
Fixes: 200166757
Change-Id: Ie384cc8de3889f7001b43bb7f209014927b6c384
Merged-In: I9856571e104ef05aec93d32056cd2097c2d2a1da
2021-09-17 12:08:36 +00:00
Peter_Liang
0086704424 Fixing the a11y floating menu could overlap the taskbar in a foldable device.
Actions:
1. Replacing the DisplayMetrics with WindowMettrics.
2. Using the window inset of the system bar.
3. Rename the "Screen" words to "Display".

Bug: 194073213
Bug: 194071997
Bug: 189193252
Test: atest AccessibilityFloatingMenuViewTest -c
Change-Id: Ic5d88cf3a51b1a230397735b0dda352278c539c4
2021-09-17 13:24:59 +08:00
TreeHugger Robot
f5f87aa36d Merge "Revealing the light reveal scrim only during keyguard exit animation" into sc-v2-dev 2021-09-16 23:45:48 +00:00
TreeHugger Robot
ed47c002f9 Merge "Don't rotate LS udfps location unless LS is occluded" into sc-qpr1-dev 2021-09-16 23:39:37 +00:00
Joe Bolinger
6b60bde8b1 Merge "Do not show side fingerprint sensor overlay on keyguard." into sc-v2-dev 2021-09-16 19:36:42 +00:00
Beverly
0d04492c48 Don't rotate LS udfps location unless LS is occluded
Test: manual
Fixes: 198083412
Change-Id: Ia58c294895ddb811fbf12e603507bbb296396504
2021-09-16 19:20:37 +00:00
TreeHugger Robot
a22f94bd81 Merge "NotificationShade should animate away on MODE_UNLOCK_COLLAPSING" into sc-qpr1-dev 2021-09-16 18:52:33 +00:00
Lucas Dupin
e05c21bdae Merge "Add monet to AOSP" into sc-v2-dev 2021-09-16 17:32:44 +00:00
Beverly Tai
04c515b87a Merge "Don't wakeup from the pickup gesture when kg is occluded" into sc-qpr1-dev 2021-09-16 16:54:43 +00:00
Joe Bolinger
b13dc6a105 Do not show side fingerprint sensor overlay on keyguard.
Bug: 197265282
Test: atest SidefpsControllerTest
Test: manual (lock device and verify no overlay on keyguard)
Change-Id: I7ff487e3d15d68ea1b182c6c7e7fd255801e4dea
2021-09-16 09:48:55 -07:00
Beverly
c7df567362 NotificationShade should animate away on MODE_UNLOCK_COLLAPSING
Animate away the NotificationShade - this was mistakenly
removed in ag/14455725

Test: manual, atest BiometricsUnlockControllerTest
Fixes: 197271777

Change-Id: I2accd8bd8975b2d49c1dc91870b7cc8467c5139d
2021-09-16 14:03:41 +00:00
Michał Brzeziński
45a1fc002e Merge "Making multiuser button work in collapsed QS in split shade" into sc-v2-dev 2021-09-16 12:44:39 +00:00
Michal Brzezinski
170542defc Making multiuser button work in collapsed QS in split shade
The issue was caused by MultiUserSwitchController always having reference and acting upon multiuser button in expanded QS - that's a different button than collapsed QS.
That reference was provided by dagger and while this issue could be fixed in dagger, that would require providing separate multiuser button and separate MultiUserSwitchController. That would require adding qualifier like @Named in multiple places (both providers and receivers) so seems like too much boilerplate (or opportunity for separate module?) and I went with adding factory for MultiUserSwitchController.

Another issue is MultiUserSwitchController opening multiuser detail always in expanded QS - collapsed QS currently doesn't support opening detail view. Looks like that requires non-trivial code changes, so for now I did it in a hacky way - forcing panel to expand and only then showing multiuser detail (as seen in QSPanelController). I think this hacky way is better than having non-functioning button.

Fixes: 196805122
Test: enable multiuser support -> expand split shade (but not expand QS)
-> click on multiuser button -> multiuser panel should open within QS

Change-Id: I76c9bb77c870b8a1a4e25221c63821786057d7f2
Merged-In: I76c9bb77c870b8a1a4e25221c63821786057d7f2
2021-09-16 11:45:25 +01:00
Selim Cinek
b879b2c828 Revealing the light reveal scrim only during keyguard exit animation
When unlocking from AOD, we now wait visually before
starting the reveal animation

Test: atest SystemUITests
Bug: 197113783
Change-Id: I5180ec48e6e100832741273277ac9d2ff4c289b0
2021-09-15 21:09:11 -07:00
Beverly
ab61699aac Update dwell ripple parameters am: bc9015e209 am: 4f3715c78d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15830762

Change-Id: Ia28cecd9c32198eb5e519a37ec81941bb8897112
2021-09-16 04:02:19 +00:00
Beverly
4f3715c78d Update dwell ripple parameters am: bc9015e209
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15830762

Change-Id: Ic584b8a938aa1816c82cf8b615e381fe2eac7b14
2021-09-16 03:44:19 +00:00
Selim Cinek
9eda54b15e Revealing the light reveal scrim only during keyguard exit animation
When unlocking from AOD, we now wait visually before
starting the reveal animation

Test: atest SystemUITests
Bug: 197113783
Merged-In: I5180ec48e6e100832741273277ac9d2ff4c289b0
Change-Id: I5180ec48e6e100832741273277ac9d2ff4c289b0
2021-09-15 20:42:08 -07:00
Joe Bolinger
bb7bd1873c Merge changes from topic "sfps-updates" into sc-v2-dev
* changes:
  Update side fsp sensor position via overlay.
  Update side fingerprint sensor overlay assets.
2021-09-16 01:28:17 +00:00