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

Skip to content
Commit 5e81097a authored by Prameet Shah's avatar Prameet Shah
Browse files

Make sure the full-data backup queue is properly set up on startup

Ensure UserBackupoManagerService.readFullBackupSchedule() returns
non-null container object, instead of a null object. The other areas of
the code assume that the object is valid.

Bug: 269674005
Test: 1. (Manual) Happy case:
         Verified device does not crash when the schedule file version
         is the same as the expected value.
      2. (Manual) Corrupted case:
         Verified device does not crash when the schedule file version
         is forced to NOT match the expected value. An exception was
         thrown, and caught by the corresponding catch block. The
         corrupted file is deleted, and a new one is created.
      3. atest PerformFullTransportBackupTaskTest

Change-Id: I6c28e40f164023ea23e0aebc1aa1c2d564d9ed10
parent dde6cf2a
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