diff options
author | Neil Fuller <nfuller@google.com> | 2021-01-08 16:16:19 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2021-01-08 18:03:13 +0000 |
commit | 8b57ec0ede1362cec0d3d8bc973f86a779d64da2 (patch) | |
tree | bbe9b9fe312575eff8e65bd9bd937eff6fb76df6 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 9e34ba7c6870af619c5b87c22f16d24b81cdf94d (diff) |
Fix shell commands to use "current" user
To ensure a host test that uses the shell command can run as a secondary
user, the user ID associated with the shell app (which runs as user 0 /
system user) cannot be used to obtain the userId. This commit switches
some commands which are user-sensitive over to using the current user.
Bug: 172934905
Test: atest CtsLocationTimeZoneManagerHostTest (when current user is not
system user)
Change-Id: Ia0711d32986f6733c26aa220f83dd299c04320b6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions