commit | 10de6326c7fdcf9b140921e4d089d03464edc163 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Wed Jun 09 06:33:14 2021 +0000 |
committer | Peiyong Lin <lpy@google.com> | Fri Jun 11 19:05:13 2021 +0000 |
tree | 960ab15f504b7aac7b8ba4abadc8e13b21624479 | |
parent | 40069e8943e4dea98f5c438c0d737a7b9bb4f6e7 [diff] |
Update shell command line to take optional user id. Previously a user id is required when `adb shell cmd game mode` is called. This patch modifies it to be optional and use the current active user id as the default user id when not specified. Minor: Fix multi-user issue in GameManagerService when querying package uid. Bug: b/190561852 Test: atest GameManagerService Change-Id: I1e21ee8e08930fc5ac5d12a13b2aeab09335a5b6