summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWilliam Hester <williamhester@google.com>2020-04-22 18:15:32 -0700
committerWilliam Hester <williamhester@google.com>2020-04-22 19:20:53 -0700
commit482900c14a087f973496724b0e708faf9a597877 (patch)
treebd97259f88aaf893daeafaade7378a454fbe9a67 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7c33cc554d356cb28fd222c04090f70da2b27ae5 (diff)
Ensure that adbd is stopped explicitly before re-enabling it
Simply putting the Global setting and waiting for the ContentObserver created a race condition, where reading the updated setting may skip reading the value that triggered the change. In this case, it meant that we never toggled off ADB. This explicitly disables and kills ADB before re-enabling it. Bug: 150721793 Test: Manually, running adb shell cmd testharness enable on user and userdebug builds Change-Id: Ic2b3aadbadc2bfe52440066aa98f9a2238ae3bb9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions