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

Commit 5931297d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Schedule rollback expiration when a rollback is enabled."

parents f87b8c88 babded15
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -977,6 +977,8 @@ class RollbackManagerServiceImpl extends IRollbackManager.Stub {
                            ensureRollbackDataLoadedLocked();
                            mAvailableRollbacks.add(data);
                        }

                        scheduleExpiration(ROLLBACK_LIFETIME_DURATION_MILLIS);
                    } catch (IOException e) {
                        Log.e(TAG, "Unable to enable rollback", e);
                        removeFile(data.backupDir);