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) {
|
||||
traceBeginAndSlog("StartOtaDexOptService");
|
||||
try {
|
||||
Watchdog.getInstance().pauseWatchingCurrentThread("moveab");
|
||||
OtaDexoptService.main(mSystemContext, mPackageManagerService);
|
||||
} catch (Throwable e) {
|
||||
reportWtf("starting OtaDexOptService", e);
|
||||
} finally {
|
||||
Watchdog.getInstance().resumeWatchingCurrentThread("moveab");
|
||||
traceEnd();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user