summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Stokes <alanstokes@google.com>2019-04-30 11:42:20 +0100
committerAlan Stokes <alanstokes@google.com>2019-05-07 10:13:36 +0100
commitb8137aa51852d6e6a6dc8ee8356828eccf2c6823 (patch)
treeee584536f8f7366aa974759c42ee54738ac2ff5d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent87d2f6c929f8febcf509b89ae401fa3f6ed5e5d2 (diff)
Make service start whitelisting for background activity starts persist
after service start. If the service was started with allowBackgroundActivityStarts we want it to be able to start activities even after the service is stopped, until the 10s timeout expires. That means we have to track the process that we whitelisted independently of the current service process. This moves the cleanup callback logic completely into ServiceRecord to make it easier to see all the moving parts (and because that's where all the relevant data lives anyway). Test: Manually verified b/130147122 is fixed. Test: atest BackgroundActivityLaunchTest Test: atest RootWindowContainerTests Test: atest WmTests:ActivityStarterTests Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests Test: atest CtsAppTestCases:.ServiceTest Bug: 130147122 Change-Id: Ia9a9a718da4791ca56316fa4500e3d30d11b599c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions