Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4358e4e authored by Momoko Hattori's avatar Momoko Hattori
Browse files

Refactor BackupManagerService to use UserManagerInternal

Replace the usage of the public `UserManager` API with the
internal `UserManagerInternal` service within BackupManagerService.
This aligns with common practice for core system services interacting
with user management and allows access to internal helper methods.

Also remove the unused getContext() method.

Test: atest com.android.server.backup.BackupManagerServiceTest
Test: atest com.android.server.backup.BackupManagerServiceRoboTest
Test: atest com.android.server.backup.UserBackupManagerServiceTest
Test: atest com.android.server.backup.keyvalue.KeyValueBackupTaskTest
Test: atest com.android.server.backup.internal.SetupObserverTest
Bug: 406114361
Flag: EXEMPT refactoring
Change-Id: Ia43f28c2426fc146e37dea08bb714464a2f17b93
parent 9dda8403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment