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

Commit 99f687fd authored by Zimuzo Ezeozue's avatar Zimuzo Ezeozue Committed by android-build-merger
Browse files

Merge "Pause watchdog triggering on the main thread during OtaDexoptService"...

Merge "Pause watchdog triggering on the main thread during OtaDexoptService" into qt-dev am: fb9843f8
am: 9b056272

Change-Id: I944649c7bff878ce63e566d2ebdf80ecc484d185
parents 2a0bfda0 9b056272
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -749,10 +749,12 @@ public final class SystemServer {
            if (!disableOtaDexopt) {
                traceBeginAndSlog("StartOtaDexOptService");
                try {
                    Watchdog.getInstance().pauseWatchingCurrentThread("moveab");
                    OtaDexoptService.main(mSystemContext, mPackageManagerService);
                } catch (Throwable e) {
                    reportWtf("starting OtaDexOptService", e);
                } finally {
                    Watchdog.getInstance().resumeWatchingCurrentThread("moveab");
                    traceEnd();
                }
            }