diff options
author | Annie Meng <anniemeng@google.com> | 2019-01-29 19:27:22 +0000 |
---|---|---|
committer | Annie Meng <anniemeng@google.com> | 2019-01-29 19:31:24 +0000 |
commit | 5a8e6febecf64afba74189ca8e86dc3838dfacfe (patch) | |
tree | 1bbbee78bff910860b292b6f7639d5d34cbf8950 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 7f2d1a73a895cf51c900da38adf4065b0d10ca2c (diff) |
[Multi-user] Properly check for system apps in multi-user context
The previous check compared app uid directly to FIRST_APPLICATION_UID
which doesn't work for non-system users as uid incorporates the user id
(so system apps in non-system users would always be categorized as
non-system apps).
Bug: 122309666
Test: 1) atest RunBackupFrameworksServicesRoboTests
2) Manual: verify system packages backed up for system user, not backed
up for non-system user.
Change-Id: I5e11b4b7c41d74d43d545e4831d09a9a3a59e5cf
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions