Security report shows that this can cause leak token of different app.
Replace the functionality with a callback to the TaskOrganizerController
to restart activity when size compat restart button is clicked.
Bug: 186776724
Test: manually verify the restart button still works
Change-Id: I097b9f02e8435e6765695b9d5a531a4e165bac66
Merged-In: I097b9f02e8435e6765695b9d5a531a4e165bac66
This is required for GTS testing it, rather than having to instrument
GMS Core.
Bug: 182271592
Test: tested as part of other CLs in this topic
Change-Id: Id56e0d206afe0a9069d1510a3dae9a07141fff60
This is required in order to build ClusterHomeSample with CAR_MONITOR_INPUT privileged permission.
Bug: 186676333
Test: atest CarServiceUnitTest
Change-Id: Ie5c81beb142c8f02aa01bdf129320169eed2c00e
The SurfacePackageViewHost was never release, leading to a leak of its
surfaces.
This CL ensure it is released:
- Directly in the shell if the SplashScreenView was not copied
- From the client, through the window manger and then to the shell if
the splash screen was copied in the client process
Test: Manually tested with app setting by checking if the surfaces
are actually removed (winscope + logs) in the following scenarios:
- When the application registers an OnExitAnimationListener
and calls remove(),
- When the application registers an OnExitAnimationListener
and dies without calling remove()
- When the applicaiton does not register an OnExitAnimationListener
and the shell removes the splash screen
Bug: 189759180
Change-Id: Ib68bfffad6720911368739d7dd87d8a03034c589
Grant shell android.permission.GET_TOP_ACTIVITY_INFO for testing Launcher
tests that need access to AssistContentRequester in shell context.
Bug: 190344718
Test: Local build and flash, ran test
Merged-In: I551e0bee413432653f39c91664d716f695311b6f
Change-Id: I551e0bee413432653f39c91664d716f695311b6f
Grant shell android.permission.GET_TOP_ACTIVITY_INFO for testing Launcher
tests that need access to AssistContentRequester in shell context.
Bug: 190344718
Test: Local build and flash, ran test
Merged-In: I551e0bee413432653f39c91664d716f695311b6f
Change-Id: I551e0bee413432653f39c91664d716f695311b6f
Brings AOSP up to a true representative implementation which can be
shipped on production devices.
Bug: 171219506
Test: manual, push AOSP, pm enable, pm verify-app-links
Change-Id: I5de6405afe884a19d35d09b266457c4ad4eee91b
ImsServiceEntitlement is a headless app for certain carriers requiring
background IMS provisioning only. So the app needs to be allowed to
schedule jobs.
Bug: 189397221
Test: make
Change-Id: Ib910681ef81a417aaa4a13514260cfa26098a048
Split the networkstack and tethering permission out of
privapp-permissions-platform.xml so that they can get
overridden properly.
Bug: 151213404
Test: NetworkStackTests
TetheringTests
Merged-In: Ic5dea321a441c1366f5faf2ecd683a2fa708bc80
Change-Id: Ic5dea321a441c1366f5faf2ecd683a2fa708bc80
This grants the shell app the SUGGEST_EXTERNAL_TIME permission needed
for the TimeManagerTest (CTS) to invoke the
TimeManager.suggestExternalTime() method during tests.
Bug: 184947690
Bug: 177079827
Test: See associated cts change
Merged-In: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
Change-Id: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
This grants the shell app the SUGGEST_EXTERNAL_TIME permission needed
for the TimeManagerTest (CTS) to invoke the
TimeManager.suggestExternalTime() method during tests.
Bug: 184947690
Bug: 177079827
Test: See associated cts change
Merged-In: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
Change-Id: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
It was only added for debugging in ag/12255967, and now that we no
longer need that info, we should remove it before S release.
Change-Id: I2e765abb8fbb9277a7a1ff4e0226161eeb3d5eed
Fixes: 185607880
Test: presubmit
This is to allow closing the HVAC menu when bugreport is opened,
required by CLOSE_SYSTEM_DIALOG broadcast.
See bugreport app's AndroidManifest.xml for details.
Bug: 187471256
Test: run locally
Change-Id: I9630ca46ed7ea9cc536bf390a07d95d980701c69
For packages don't have READ_VOICEMAIL permission, CallLogProvider will
limit its access to voicemails by applying strict grammar check. Add
this permission to CallLogBackupAgent to avoid exception when backup and
restore.
Bug: 184244328
Test: Manually restore the device
Change-Id: I7848a6b58f4502d4dd9a346e5e3725e5d741c02f