Skip to content
Commit 5a8e6feb authored by Annie Meng's avatar Annie Meng
Browse files

[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
parent 7f2d1a73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment