Merge "Pause watchdog triggering on the main thread during OtaDexoptService" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fb9843f8d7
@@ -749,10 +749,12 @@ public final class SystemServer {
|
|||||||
if (!disableOtaDexopt) {
|
if (!disableOtaDexopt) {
|
||||||
traceBeginAndSlog("StartOtaDexOptService");
|
traceBeginAndSlog("StartOtaDexOptService");
|
||||||
try {
|
try {
|
||||||
|
Watchdog.getInstance().pauseWatchingCurrentThread("moveab");
|
||||||
OtaDexoptService.main(mSystemContext, mPackageManagerService);
|
OtaDexoptService.main(mSystemContext, mPackageManagerService);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
reportWtf("starting OtaDexOptService", e);
|
reportWtf("starting OtaDexOptService", e);
|
||||||
} finally {
|
} finally {
|
||||||
|
Watchdog.getInstance().resumeWatchingCurrentThread("moveab");
|
||||||
traceEnd();
|
traceEnd();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user