summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHajime Morrita <morrita@google.com>2021-01-11 11:30:31 -0800
committerHajime Morrita <morrita@google.com>2021-01-15 11:10:36 -0800
commit33266b39afb826ee90fa524ef73938775ea0ca05 (patch)
treecc570335361020a780ebbec862dee47cbbbcad0d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent677c97ddf8cf663c73673b9f454fbedd726e3150 (diff)
Add "repin" command to pinner service shell command.
With this CL, "adb shell cmd pinner repin" reset existing APK pinning based on the current flag values. For now, the only dynamic flag related to this is "pin_camera" DeviceConfig flag. Bug: 176838683 Test: Ran following commands and inspected the output: $ adb shell device_config put runtime_native_boot pin_camera false $ adb shell cmd pinner repin && adb shell dumpsys pinner $ adb shell device_config put runtime_native_boot pin_camera true $ adb shell cmd pinner repin && adb shell dumpsys pinner Also covered a couple of error cases: $ adb shell cmd pinner $ adb shell cmd pinner nosuch Change-Id: I3229879b8637a8e0760cffb7292248e97842042f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions