diff options
author | Kevin Han <kevhan@google.com> | 2020-04-30 15:22:16 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2020-04-30 15:56:13 -0700 |
commit | a61906457c647a49cda34aafebcff331b681f1a5 (patch) | |
tree | c36aa4c00100aebb95f69856cf2ad856179a4712 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 10f48bb6ab367f6e87caed78816838f47318ea9e (diff) |
Don't throw exception for inflation after removal
There are some cases where we seem to be inflating after the removal of
a notification, most likely related to a re-entrant call where we
remove a notification as part of a notification update listener. This
throws an exception since we assume a removed notification doesn't need
to inflate anything.
Until we fix the underlying issue, we loosen the guarantee and remove
the exception and instead just return early.
Bug: 155324756
Test: builds
Change-Id: I702391311e9d06319f4d93dd584ecc2a4dd78a36
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions