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

Commit 1b657173 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: 1248f1d3

Change-Id: I82ca98cf2e5ab57727ed53d50ba366cdebdfd841
parents 32deb860 1248f1d3
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();
                }
            }