* 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
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
This field was unused
Bug: 197851948
Test: atest SystemUITests
Change-Id: I116b5f639f601a99349ec60246f42d1f8ab83c6d
Merged-In: I116b5f639f601a99349ec60246f42d1f8ab83c6d
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
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
* 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.
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
* 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
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
card or the reactivated media player (during the recommendation active
session).
Fixes: 195064048
Test: Local builds & MediaDataManagerTest
Change-Id: Iaecbd80d137e28fb4f8983bf45a283e028b6c067
* 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
* 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
- 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)
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
Animate away the NotificationShade - this was mistakenly
removed in ag/14455725
Test: manual, atest BiometricsUnlockControllerTest
Fixes: 197271777
Change-Id: I2accd8bd8975b2d49c1dc91870b7cc8467c5139d
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
When unlocking from AOD, we now wait visually before
starting the reveal animation
Test: atest SystemUITests
Bug: 197113783
Change-Id: I5180ec48e6e100832741273277ac9d2ff4c289b0
When unlocking from AOD, we now wait visually before
starting the reveal animation
Test: atest SystemUITests
Bug: 197113783
Merged-In: I5180ec48e6e100832741273277ac9d2ff4c289b0
Change-Id: I5180ec48e6e100832741273277ac9d2ff4c289b0