diff options
author | Nicholas Sauer <nicksauer@google.com> | 2019-09-14 21:15:25 -0700 |
---|---|---|
committer | Nicholas Sauer <nicksauer@google.com> | 2019-09-16 12:47:22 -0700 |
commit | 1f8a102806c8076aad8929936b5366294d6e6e51 (patch) | |
tree | f6b139c1c3cb510329d37e6c99fdbf7b348086f7 /rs/java/android/renderscript/ProgramStore.java | |
parent | 703ce15fef823e865ae8a1c14538e2887c3e17e0 (diff) |
Handle "--user current" and other valid users in the AccountManagerServiceShellCommand.
UserHandle.parseUserArg supports special params all and current.
See also: ag/9150276
bug: 139034865
Test: $ 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 get-bind-instant-service-allowed --user current
true
$ adb shell cmd account set-bind-instant-service-allowed false
$ adb shell cmd account get-bind-instant-service-allowed --user 10
false
$ adb shell cmd account get-bind-instant-service-allowed --user current
false
Change-Id: I3a74aaa0dc83f8fb8b51225dfd33db184ddbde04
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions