summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorjovanak <jovanak@google.com>2019-10-31 16:49:24 -0700
committerJovana Knezevic <jovanak@google.com>2020-02-28 00:39:49 +0000
commitfddf07e8adf1c7e6e97cc8a2a5658da7116407da (patch)
tree112e4bf92a07724f651e833cae980dd926032c74 /tools/aapt2/java/JavaClassGenerator.cpp
parentfcccac54d9b204997c9dab44a7c7a331562de41d (diff)
Add wait flag to am switch-user command.
Previously, command returns right away. CTS tests that use it are forced to loop waiting for the change in am get-current-user to see if the switch completed. This method is unreliable because it returns the new user id before UserController.mCurrentUser updated. Adding "-w" to the switch command will make it wait for the switch to be completed. Fixes:141998718 Test: manual switch-user tests with -w flag Change-Id: I41bbcff0c79677ba3bf6b58e1fc96cd13a681b33 Merged-In: I41bbcff0c79677ba3bf6b58e1fc96cd13a681b33
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions