diff options
author | Gavin Corkery <gavincorkery@google.com> | 2020-01-29 13:44:20 +0000 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2020-01-29 14:16:55 +0000 |
commit | bb3a5048c925eb09fda4b3ee3744860ac777e78d (patch) | |
tree | 8d2cb9cf68577829408a6a6635c6f49c9da712c5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4a8fc13dd9711bcd9fb37a2f2ee1fcf9c1accc33 (diff) |
Return incremented rescue level when bootlooping
The rescue level returned from onBootLoop must be incremented, since
otherwise USER_IMPACT_NONE would be returned to Package Watchdog if
the initial rescue level was 0, and no mitigation would take place.
Add a test to verify this.
Test: atest RescuePartyTest
Bug: 136135457
Change-Id: I27c56d17a6177abdeb3707fda70ca38d4fd4ef2c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions