summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-06-03 13:05:01 -0600
committerJeff Sharkey <jsharkey@google.com>2020-06-22 16:07:34 +0000
commit1d1e75319a6831615e4fbb3e02e34026f5bae5a2 (patch)
tree4ef57cc9e158ded2c307d073bda8e2863f364951 /rs/java/android/renderscript/ProgramStore.java
parent9cf5156fedbc2938126bfd0f3a5f5786652b9c09 (diff)
Relax locking for startActivityInPackage().
Both startActivityInPackage() and startActivitiesInPackage() eventually call through to resolveActivity(), which might need to acquire the AM lock. The remainder of ActivityStarter.execute() already acquires the WM lock when needed, so it should be safe to drop it from the overall method. Add additional guarding to ensure that this doesn't regress in the future. Bug: 115619667, 157863128 Test: atest WmTests:ActivityStarterTests Test: atest FrameworksServicesTests:com.android.server.uri Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.AppSecurityTests#testPermissionDiffCert Test: atest CtsWindowManagerDeviceTestCases:CrossAppDragAndDropTests Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests Change-Id: Ia1693873a10d11ea61a8a7748e0558beffda8c5b (cherry picked from commit 13a7cf7044a95f105a693d1c3943441de9c3c99a)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions