+122
−36
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
On the first ever boot of a HSUM device, UserManager will create the main user after BackupManagerService is created. If that happens the default user will stay as 0 until the device is rebooted. To prevent this we need to update the default user as soon as it's guaranteed that the main user is created (if one is to be created), which is when the first user unlocks. Bug: 266098768 Test: atest BackupManagerServiceTest atest BackupFrameworksServicesRoboTests manually by doing a factory reset and then checking backup is active for the main user via `adb shell bmgr --user 10 activate` Change-Id: Ic14e7357b468c27d206a57f9e7148d918f747c1d
File changed.
Preview size limit exceeded, changes collapsed.