summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-06-03 13:05:01 -0600
committerJeff Sharkey <jsharkey@google.com>2020-06-15 23:24:14 +0000
commit13a7cf7044a95f105a693d1c3943441de9c3c99a (patch)
treeb3538075aa8fea42cca42301a114799342052f26 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5fd9e4584590c07353601666a55c4748b65869f4 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions