summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichal Karpinski <mkarpinski@google.com>2019-04-12 16:22:55 +0100
committerMichal Karpinski <mkarpinski@google.com>2019-04-15 16:47:55 +0100
commit2e0aad2d3d66694d1a4ef890653b2c373dab54e3 (patch)
tree1d4572b10da408d5f1bbab6aaf578e4547b9c02d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent49c98a7b6350174d0411f563c960afe2d747fd89 (diff)
If the calling process isn't whitelisted for background
activity start, check the other processes of calling UID too Since looking at whitelisted processes can be computationally more expensive than other checks in the barrier, move them to be last - if callingUid is allowed to open bg activity via other means, like permission, we'll bail quicker, especially for apps like gmscore. Bug: 129853314 Test: atest WmTests:ActivityStarterTests Test: atest BackgroundActivityLaunchTest Test: atest CtsActivityManagerDeviceTestCases:ActivityStarterTests Test: atest WmTests:WindowProcessControllerMapTests Test: manual (repro the quoted bug, and see that while com.google.android.googlequicksearchbox:search isn't whitelisted, AGSA had other whitelisting process, com.google.android.googlequicksearchbox:interactor) Change-Id: Ic7d6c12e76cb707f06e0f216c9958d5d2f21a840
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions