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

Commit 82b439be authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix NPE in BootReceiver" into main

parents 300ec631 274eec31
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -96,12 +96,15 @@ public final class NativeTombstoneManager {
        mHandler = thread.getThreadHandler();

        mWatcher = new TombstoneWatcher();
        mWatcher.startWatching();
    }

    void onSystemReady() {
        registerForUserRemoval();
        registerForPackageRemoval();
        // TombstoneWatcher depends on DropboxManagerService.
        // DropboxManagerService started before systemReady.
        // So it is good to call startWatching here.
        mWatcher.startWatching();

        BootReceiver.initDropboxRateLimiter();