diff options
author | atrost <atrost@google.com> | 2020-03-13 13:42:26 +0000 |
---|---|---|
committer | atrost <atrost@google.com> | 2020-03-13 14:31:06 +0000 |
commit | 2faac55aa7e0eaaa9136a411b3d451d5064a4fb6 (patch) | |
tree | 1c14d4506a1f6170bb80b15154b783993f5c02a8 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d78a3539d0c846b0ee969c5921f66dbb48a96a49 (diff) |
Don't check OverrideAllowedState
Don't check OverrideAllowedState when calling remove overrides and there
are no overrides.
This fixes failure in CompatChangesTest (tried to clear non existing
overrides for a logging only change).
Also fixed return value of removeOverride to return the correct thing.
Test: atest com.android.server.compat.CompatConfigTest
Test: atest android.app.compat.CompatChangesTest
Bug: 151421544
Change-Id: I9c63f332337bc465115556fbc6f0b40fb7e102da
Merged-In: I9c63f332337bc465115556fbc6f0b40fb7e102da
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions