Commit Graph

644198 Commits

Author SHA1 Message Date
Lucas Dupin
8bdce16ce4 Fix invalid ripple bounds
Test: manual
Fixes: 188112758
Change-Id: I6e23c02adc4761fde2e69bafc341066be15f63ee
2021-06-17 00:18:05 -04:00
Ryan Lin
9da336b4c1 Merge "Fix incorrect magnification border after rotation" into sc-dev 2021-06-17 01:38:49 +00:00
Kevin Chyn
b2e3ba68b0 Merge "Launch action to admin component when button clicked" into sc-dev 2021-06-17 01:28:17 +00:00
Kevin Chyn
c3e64b14c5 Merge "Add BiometricActionDisabledByAdminController" into sc-dev 2021-06-17 01:27:03 +00:00
Nikita Ioffe
3989c51011 Merge "Drop prebuilt files to android source tree." into sc-dev 2021-06-17 00:32:26 +00:00
Felipe Leme
60ec24eb1e Merge "Split DevicePolicyManagerInternal into DevicePolicyManagerLiteInternal." into sc-dev 2021-06-17 00:03:24 +00:00
Bill Lin
789f014c04 Merge "Allow one-handed mode shortcut expand notification" into sc-dev 2021-06-16 23:59:28 +00:00
Kevin Chyn
b35863580b Launch action to admin component when button clicked
Bug: 188847063
Test: "Set up parental controls" screen seen
Test: m -j RunSettingsLibRoboTests ROBOTEST_FILTER=BiometricActionDisabledByAdminControllerTest
Change-Id: Iad3ffbcd87fe3af5ebaf6a1e6078bf772606efc4
2021-06-16 16:41:14 -07:00
Kevin Chyn
4e84b8849a Add BiometricActionDisabledByAdminController
1) Adds UserManager#DISALLOW_BIOMETRIC. We actually need to
   pass a restriction from settings to ActionDisabledByAdmin area,
   otherwise the biometric-specific dialog would be shown outside of
   biometric flows.
2) Adds an interface to ActionDisabledByAdminController to return a
   optional OnClickListener for the positive dialog button
3) Returns an instance of the biometric controller when conditions
   are met
4) Adds string interfaces to DeviceAdminStringProvider to retrieve
   biometric-specific strings

Bug: 188847063
Bug: 191306258
Test: manual

Change-Id: Iaeffdeb1336d5db56d464104cdc7677b9021f609
2021-06-16 16:41:14 -07:00
TreeHugger Robot
b2c6cd7474 Merge "[DO NOT MERGE] Fix layout for errorprone build" into sc-dev 2021-06-16 23:39:43 +00:00
TreeHugger Robot
603ade2fcc Merge "Coordinate circle reveal with authRipple" into sc-dev 2021-06-16 22:42:56 +00:00
Humza Azam
83f88bc43a Merge "Revert "Revert "Revert "HULK SMASH! We've gotta declare REL."""" into sc-dev 2021-06-16 22:03:08 +00:00
Jorge Gil
c6e212c5b2 Merge "Start pinchResize only if pointers are inside PIP" into sc-dev 2021-06-16 21:59:53 +00:00
Nikita Ioffe
e2aac991de Drop prebuilt files to android source tree.
CtsShim.apk
package: name=com.android.cts.ctsshim
versionCode=31
versionName=12-7464984
platformBuildVersionName=S
compileSdkVersion=31
compileSdkVersionCodename=S
sdkVersion:24
targetSdkVersion:28

CtsShimPriv.apk
package: name=com.android.cts.priv.ctsshim
versionCode=31
versionName=12-7464984
platformBuildVersionName=S
compileSdkVersion=31
compileSdkVersionCodename=S
sdkVersion:24
targetSdkVersion:28

CtsShim.apk
package: name=com.android.cts.ctsshim
versionCode=31
versionName=12-7464984
platformBuildVersionName=S
compileSdkVersion=31
compileSdkVersionCodename=S
sdkVersion:24
targetSdkVersion:28

CtsShimPriv.apk
package: name=com.android.cts.priv.ctsshim
versionCode=31
versionName=12-7464984
platformBuildVersionName=S
compileSdkVersion=31
compileSdkVersionCodename=S
sdkVersion:24
targetSdkVersion:28

Built here: ab/7464984

This build IS suitable for public release.

The change is generated with prebuilt drop tool.

Test: presubmit
Bug: 188062003
Bug: 191262663
Change-Id: I92132d00e248c6d4cc2488af346ddc032e8c727a
2021-06-16 22:49:50 +01:00
John Reck
0d5d58a15f Merge "Fix ripples not going away" into sc-dev 2021-06-16 21:47:34 +00:00
Beth Thibodeau
c1d7a61b2f Merge "Remove recommendations when setting is disabled" into sc-dev 2021-06-16 21:26:45 +00:00
Beth Thibodeau
79709cfb41 [DO NOT MERGE] Fix layout for errorprone build
0dp width caused an error because there was no weight. Since this should
never be visible anyways, changed to wrap_content and visibility gone

Bug: 190505997
Test: visual, builds
Change-Id: I6ad5f50b03df78f014c59a201853b290061f9021
2021-06-16 21:11:04 +00:00
Humza Azam
32eef1d580 Revert "Revert "Revert "HULK SMASH! We've gotta declare REL."""
This reverts commit 67f28e7448.

Reason for revert: Testing fix for b/191191441

Bug: 191191441
Change-Id: I15ca686c7c44626b734ba45e785adbe66fcf624a
2021-06-16 20:51:30 +00:00
Sunny Goyal
c0b53c93a2 Merge "Updating logging so that edge swipe logs do not get evicted by normal taps" into sc-dev 2021-06-16 20:51:13 +00:00
Mady Mellor
4de2f90856 Merge "Fix tests - needed a reasonable max set in bubble positioner" into sc-dev 2021-06-16 20:36:05 +00:00
TreeHugger Robot
916a356f71 Merge "Exempt some callers from min-window restrictions" into sc-dev 2021-06-16 20:30:44 +00:00
Caitlin Cassidy
ae8d7cff27 Merge "[Status Bar] Fix NPE in #dumpBarTransitions." into sc-dev 2021-06-16 20:21:27 +00:00
TreeHugger Robot
100b0929b7 Merge "[DO NOT MERGE] Update power menu info messsage" into sc-dev 2021-06-16 19:57:59 +00:00
John Reck
85933d4c55 Fix ripples not going away
Fixes: 191141356
Test: ripples on calculator
Change-Id: Icabf80914c5ba9c0649e69ef0fa67c03d6ad5cdd
2021-06-16 15:48:33 -04:00
TreeHugger Robot
7bb24f6378 Merge "Don't show estimate with center notch" into sc-dev 2021-06-16 19:46:45 +00:00
Matt Casey
f12e42de4e Merge "Updated animation for long screenshot crop entrance." into sc-dev 2021-06-16 19:32:46 +00:00
Matt Casey
11aac84721 Merge "Fix LongScreenshotActivity rotation" into sc-dev 2021-06-16 19:32:14 +00:00
TreeHugger Robot
9515d87dbb Merge "Log FGS ENTER event synchronously." into sc-dev 2021-06-16 19:18:42 +00:00
Mady Mellor
36810e7002 Merge "ignore a flaky test" into sc-dev 2021-06-16 19:16:48 +00:00
Sunny Goyal
f77a765fe6 Updating logging so that edge swipe logs do not get evicted by normal taps
Bug: 190778197
Test: Manual
Change-Id: I786cf689e87ac75d696fa8de59c07f52c5db761a
2021-06-16 12:13:12 -07:00
Ryan Prichard
3ea5e5d03e Merge "Stop exporting symbols from app_process" into sc-dev 2021-06-16 19:08:47 +00:00
Beth Thibodeau
fa16fdf098 Merge "Fix media transitions when inactive" into sc-dev 2021-06-16 19:08:21 +00:00
Mady Mellor
5dd3b070fc Fix tests - needed a reasonable max set in bubble positioner
Test: atest BubblesTest NewNotifPipelineBubblesTest
Bug: 191272711
Change-Id: I5806ff25b829d8d11b2c64cd528e505817ed5182
2021-06-16 12:03:16 -07:00
Stanislav Zholnin
d5b63b58b5 Merge "Add support of AttributionIds and AttributionChains to Discrete registry" into sc-dev 2021-06-16 18:44:18 +00:00
Evan Chen
10778dd4d0 Merge "Fix mCachedAssociations for multiple users" into sc-dev 2021-06-16 18:36:36 +00:00
Josh Tsuji
87dc276313 Merge "Allow forcing status bar state changes and do so during a cancelled screen off." into sc-dev 2021-06-16 17:46:04 +00:00
Bill Lin
ca75e7e466 Allow one-handed mode shortcut expand notification
1) Add OneHandedEventCallback for WMShell to register
   callback, and if one handed mode settings set show
   notifications, when user tap one handed mode shortcut
   notify WMShell send KEYCODE_SYSTEM_NAVIGATION_DOWN
   through OneHandedEventCallback with SysUIMainExecutor.

2) Add isReady() flag in OneHandedDisplayAreaOrganizer
   and Simplify the flow of onActivatedActionChanged()
   to prevent potential race problem while auto-enable
   One-handed and immeditately startOneHanded(), however,
   DisplayAreaOrganizer#onDisplayAreaAppeared() may not
   ready for transtion yet, and result mState keep in
   unfinsihed STATE_ENTERING.

3) Adjust the transiton duration from 800ms to 600ms
   800ms is a little bit long to affect timing of
   apply runtime overlay package.

4) DelayExecute setEnabledGesturalOverlay() until
   transition finised and at most delay once.
   - onSwipeToNotificationEnabledChanged() : DelayExecute
   - onEnabledSettingChanged() : DelayExecute
   - Ctor setupGesturalOverlay() : No DelayExecute
   - mState.isTransitioning() : DelayExecute

Test: WMShellUnitTests
Bug: 182425480
Change-Id: I2615c3b30ad95a858510b4bcc73d8f343843fc96
2021-06-17 01:12:32 +08:00
Mady Mellor
179fce0fb5 ignore a flaky test
Test: treehugger
Bug: 191264972
Change-Id: I450a85406dfd4e8e6fecf878affa2c0440b8c36b
2021-06-16 10:10:03 -07:00
TreeHugger Robot
b538b60ea6 Merge changes from topic "cuj-sysui-launches" into sc-dev
* changes:
  Instrument SysUI app launches
  Add SysUI app launches CUJ to InteractionJankMonitor
2021-06-16 16:45:48 +00:00
Antonio Kantek
56330ddf59 Merge "Adding com.android.car.cluster.home.xml" into sc-dev 2021-06-16 16:31:31 +00:00
Josh Tsuji
b34e3b0cb7 Allow forcing status bar state changes and do so during a cancelled screen off.
During screen off, we show the AOD UI without fully switching to the KEYGUARD state. When screen off is cancelled, we ask all components to reset to the SHADE state, which should also reset the UI components we changed to show AOD. However, since the StatusBarState was already SHADE, this is ignored.

This adds a force flag, which we use when cancelling screen off to make sure that all UI components are reset to the SHADE state regardless.

Test: cancel screen off, pull down the shade
Fixes: 190986023
Change-Id: I79baeb71ac5d1ed45602ac55cdca996b3bed0ac3
2021-06-16 12:00:43 -04:00
Felipe Leme
43dc489afd Split DevicePolicyManagerInternal into DevicePolicyManagerLiteInternal.
DevicePolicyManagerInternal is not set when the device doesn't have
the device_admin feature, but some methods are still needed in that
scenario (like notifyUnsafeOperationStateChanged() on automotive).

Fixes: 190395562

Test: manual verification
Test: atest FrameworksServicesTests:DevicePolicyManagerTest FrameworksServicesTests:DevicePolicyManagerServiceMigrationTest

Change-Id: I48271b828ff01c4e4f3e0365410a7a745f1b0a1d
2021-06-16 08:57:50 -07:00
Beth Thibodeau
6962b10349 Merge "[DO NOT MERGE] Open QS when swiping from status bar in power menu" into sc-dev 2021-06-16 15:42:18 +00:00
TreeHugger Robot
1090459a0e Merge "Update system status chip animation length to 1.5s" into sc-dev 2021-06-16 15:39:08 +00:00
Soonil Nagarkar
a244ceeb2e Merge "Fix bugs in LocationManagerService and AppOpsPolicy" into sc-dev 2021-06-16 15:37:32 +00:00
Beth Thibodeau
0cfc11f78d Fix media transitions when inactive
When there is no active media, the carousel should remain at the bottom
of QS. Also ensure that the carousel transitions properly when the media
changes state from active to inactive or vice versa

Fixes: 184535146
Test: visual

Change-Id: I9bcdb76b54c6303785a5783d84e876c162301b14
2021-06-16 11:25:13 -04:00
Caitlin Cassidy
2f583ee73a [Status Bar] Fix NPE in #dumpBarTransitions.
Test: atest
Fixes: 190927484
Change-Id: I7b0962b1240fde81c256f93a9aec479205f47101
2021-06-16 15:20:21 +00:00
Fabian Kozynski
5d22bdc35f Don't show estimate with center notch
On devices with center notch, don't show the remaining battery estimate,
but default to percentage.

Test: manual
Fixes: 185144346
Change-Id: I85caa33c66c3185a9bb1612b5f7d0237fe57842a
2021-06-16 11:05:38 -04:00
Issei Suzuki
41e7f367ed Merge "Persist Theme name instead of ID for ShortcutInfo" into sc-dev 2021-06-16 14:57:36 +00:00
TreeHugger Robot
04350c57de Merge "Don't promote the animation on Task's parent when clearing task" into sc-dev 2021-06-16 13:38:49 +00:00