diff options
author | Gavin Corkery <gavincorkery@google.com> | 2019-11-11 12:35:14 +0000 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2019-11-11 14:17:35 +0000 |
commit | 8f5109dd4bb33912160e3d74c69f2f7b781392a9 (patch) | |
tree | 7a7d9714aa343ee80e6a74e8d117c0860bf646ae /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 2080a05995af551413b3ca9a89c55e6c1d09acd8 (diff) |
Don't send session committed broadcast for dry runs
For staged installs, pre-reboot verification performs a dry run install.
Since this dry run install is non-staged, the session committed
broadcast will be sent, in some cases causing app icons to
erroneously appear. Add check for this case.
Test: Inspect SESSION_COMMITTED broadcasts sent for a staged install
with and without this patch
Bug: 139663018
Change-Id: Ib0ba29a4506cda8da1865926ae62b137e1dce8ff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions