diff options
author | Louis Chang <louischang@google.com> | 2019-06-10 10:49:28 +0800 |
---|---|---|
committer | Louis Chang <louischang@google.com> | 2019-06-12 04:04:18 +0000 |
commit | e8902452eaf2035ff2f61379ac64f2c729e115d1 (patch) | |
tree | 32b4a82c942060bb2f09dac5b2bd46a5f2f4c58d /startop/scripts/lib/cmd_utils.py | |
parent | e252d155b13e0f63ea4d2ff148bbb74aaf7db1da (diff) |
Fix empty stacks leaked after blocking background activity launches.
Background activity starts were blocked while stacks were created
and leaked.
Remove the stack if the activity failed to launch and no activities
left in the stack. Also avoid creating new stack for the blocked
background activity which is unnecessary.
Bug: 134016361
Test: atest BackgroundActivityLaunchTest
Change-Id: Ifa04a9062cb771929a9614cc164fd64b3f60edf1
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions