diff options
author | Nicholas Sauer <nicksauer@google.com> | 2019-08-05 22:40:56 -0700 |
---|---|---|
committer | Nicholas Sauer <nicksauer@google.com> | 2019-08-08 15:58:08 -0700 |
commit | 0c28244ebe73887ac790adc7a397f122e5ad8f7a (patch) | |
tree | 18f44cc2a88e63f76e238c9a4cb642c8dbff6aac /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ffd303312bb30bbbe5b8f5607bffe1895bd90ea8 (diff) |
Use the current user rather than USER_SYSTEM as
default user for AccountManagerServiceShellCommand
This allows for testing of accountmanager with instant apps in secondary users.
bug: 138142372
Test: cts-tradefed run cts -m CtsAccountManagerTestCases -t android.accounts.cts.AccountManagerTest
$ adb shell am get-current-user
10
$ adb shell cmd account set-bind-instant-service-allowed true
$ adb shell cmd account get-bind-instant-service-allowed
true
$ adb shell cmd account get-bind-instant-service-allowed --user 0
false
$ adb shell cmd account get-bind-instant-service-allowed --user 10
true
$ adb shell cmd account set-bind-instant-service-allowed false
$ adb shell cmd account get-bind-instant-service-allowed --user 10
false
Change-Id: Ic4d4ce411f4471ea1b02e93f6a05857efc7287a8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions