When autoEnterPip from Task with multiple activities, besides passing
the mLastRecentsAnimationBounds we should also try to pass the last
PictureInPictureSurfaceTransaction to the new Task and apply both.
Changed also
- deprecate the last recents animation bounds and use the transaction only
- reset the transform once applied to the original task
Known issue: original task appears transparent in overview once.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hNZ0H62PqgVDEUGh1TVMiT
Bug: 184789412
Bug: 185509920
Test: manual with ApiDemos, see Video
Change-Id: I7fb77e41e1963e14ecaf53bd135d6b4cb24493c9
Add sensor axes mapping to Sony DualShock3 key layout files.
Bug: 186075116
Test: Manually pairing Sony DualShock3 game controller and launch the
sensor demo app.
Change-Id: Ibfdeb527542c33a65ca565bc890ab2af34c6c1cc
isForeground is not a good approach to indentify current channel info
And add a permission for tuned info.
Bug: 180482268
Test: atest CtsPermission2TestCases
Test: atest TvInputManagerTest#testGetCurrentTunedInfos
Change-Id: Ib1c1f2da719336ae856684e843b06f8b9b442723
Create a GET_RUNTIME_PERMISSION_GROUP_MAPPING permission to gate the
permission group methods behind, and changes the methods to have
callbacks.
Test: atest GetPermissionGroupInfoTest
Fixes: 185177089
Change-Id: Ifd2ebc74f16e51b62068bdc6c8748f69bc63e923
No longer grant READ_PHONE_STATE as a fixed permission to all apps
holding READ_PRIVILEGED_PHONE_STATE. Also clean up the previous grants
by un-fixing the permission if the app requests it in the manifest, and
removing it altogether if the app only requests READ_PRIV.
Bug: 183537857
Test: manual -- prepare two system apps, one with READ_PRIV and
READ_PHONE and one with only READ_PRIV, then go through the upgrade flow
with this CL.
Change-Id: Id1fac0f9f4391857f46c7109eadafd60420b279d
This change adds privileged permissions to use CarEvsService to the
allowlists of CarShell and EmbeddedKitchenSink packages.
Bug: 179508501
Test: atest CarEvsManagerTest -c
Change-Id: Ia84c36e0305de5a7fcc282519694896d131253dd
Merged-In: Ia84c36e0305de5a7fcc282519694896d131253dd
(cherry picked from commit d575da1167)
The shell *already had* the privileges granted by this permission due to
specific code in netd, and it lost those privileges when it gained the
CHANGE_NETWORK_STATE permission. Explicitly add
CONNECTIVITY_USE_RESTRICTED_NETWORKS so that it can obtain sufficient
permission in netd no matter CHANGE_NETWORK_STATE is set or not.
Remove a duplicate row by the way.
Bug: 185071689
Test: atest NetdClientTest#protectFromVpnTcp6
Change-Id: I64bc321de2c83378ce7bc8d9eb3044ae7772faca
As changing the permission for MediaRouter2 system APIs, this CL
changes the permission in shell accordingly.
The permission was added by ag/13959439.
Bug: 183428114
Test: Passed CTS tests
Change-Id: I3aee256a11db730dd786e69821f3bb8bd590074f
This permission is needed for uwb CTS tests.
Is the minimally scoped permission that needs to be added?
- Yes, this only allows the app to range to uwb devices.
What options did you explore that did not need this permission?
- Without this permission, it would be impossible to test any of the
UwbManager API's.
Bug: 183747097
Test: Compiles
Change-Id: Ie4264cdcd3f84c965da70f8f8fefe538378c47f6
Merged-In: Ie4264cdcd3f84c965da70f8f8fefe538378c47f6
This permission is needed for uwb CTS tests.
Is the minimally scoped permission that needs to be added?
- Yes, this only allows the app to range to uwb devices.
What options did you explore that did not need this permission?
- Without this permission, it would be impossible to test any of the
UwbManager API's.
Bug: 183747097
Test: Compiles
Change-Id: Ie4264cdcd3f84c965da70f8f8fefe538378c47f6
This CL instroduces WMS#attachWindowContextToWindowToken
and the corresponding API in WindowContextController to make
WindowContext able to associate with a WindowToken.
Test: atest WindowContextControllerTest
Test: atest WindowManagerServiceTests#testAttachWindowContextToWindowToken*
Bug: 159767464
Change-Id: I807a67fba149cbdc4267442bab0b64e6a95bd4b5
This allows it to schedule alarms while the device is in doze without
needing SCHEDULE_EXACT_ALARM permission, which is user visible.
Test: adb logcat -s AndroidRuntime
should show no crashes for "com.android.providers.calendar" due to
missing SCHEDULE_EXACT_ALARM.
Bug: 171306433
Change-Id: I3dc358f0de0f6d869c3c6e7d6c2c243dc2348096
Granted shell the missing normal, dangerous, and
development permissions that can already be granted
to third party apps.
Test: N/A
Bug: 183716601
Merged-In: I11df0d753f830b6ba6ea2222f7d8a7d778161953
Change-Id: I11df0d753f830b6ba6ea2222f7d8a7d778161953
Keyguard (un)occlude transition can be executed even before the
occluding app becomes ready. Normally we skip to run remote animation
for such cases since nothing to animate, however, KeyguardService uses
IRemoteAnimationRunner#onAnimationStart as a signal to update its
internal state, so WindowManager has to trigger the binder call.
Bug: 175687166
Bug: 182975035
Test: atest AppTransitionControllerTest
Change-Id: I190f2cf750f849b8aafdb43642cb03e5382f50d5
Granted shell the missing normal, dangerous, and
development permissions that can already be granted
to third party apps.
Test: N/A
Bug: 183716601
Change-Id: I11df0d753f830b6ba6ea2222f7d8a7d778161953