diff options
author | Bernardo Rufino <brufino@google.com> | 2020-11-30 15:05:00 +0000 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2020-11-30 15:05:00 +0000 |
commit | 5bf3a5c7ca0a77ca5ecfcccdc387b5bf6fbf2e11 (patch) | |
tree | 0284adb360eed454231376e426b9cbde9e717562 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c1b0c8bc6d714289ba113c72a4101cd167a1fd90 (diff) |
Add '--no-kill' option to 'adb shell am compat'
Option '--no-kill' will call setOverridesForTest() and
clearOverridesForTest() variantes of the methods.
This is useful for debugging locally when you know when the check takes
place and don't want to restart the process (and lose state, etc.).
Test: 1. adb shell am compat enable --no-kill <change> <package>
2. adb shell am compat disable --no-kill <change> <package>
3. adb shell am compat reset-all --no-kill <package>
Verify package wasn't killed
Change-Id: Ibcaed4d0a5e080a9627bb90669b7f8a7f7b31a87
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions