Loading libs/hwui/renderthread/CanvasContext.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,7 @@ bool CanvasContext::isSwapChainStuffed() { } // All signs point to a stuffed swap chain ATRACE_NAME("swap chain stuffed"); return true; } Loading services/core/java/com/android/server/am/ActivityManagerService.java +5 −3 Original line number Diff line number Diff line Loading @@ -20235,12 +20235,14 @@ public final class ActivityManagerService extends ActivityManagerNative if (mUseFifoUiScheduling) { // Reset UI pipeline to SCHED_OTHER Process.setThreadScheduler(app.pid, Process.SCHED_OTHER, 0); Process.setThreadPriority(app.pid, app.savedPriority); if (app.renderThreadTid != 0) { Process.setThreadScheduler(app.renderThreadTid, Process.SCHED_OTHER, 0); Process.setThreadPriority(app.pid, app.savedPriority); Process.setThreadPriority(app.renderThreadTid, -4); } } } } catch (Exception e) { Slog.w(TAG, "Failed setting process group of " + app.pid + " to " + app.curSchedGroup); Loading
libs/hwui/renderthread/CanvasContext.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,7 @@ bool CanvasContext::isSwapChainStuffed() { } // All signs point to a stuffed swap chain ATRACE_NAME("swap chain stuffed"); return true; } Loading
services/core/java/com/android/server/am/ActivityManagerService.java +5 −3 Original line number Diff line number Diff line Loading @@ -20235,12 +20235,14 @@ public final class ActivityManagerService extends ActivityManagerNative if (mUseFifoUiScheduling) { // Reset UI pipeline to SCHED_OTHER Process.setThreadScheduler(app.pid, Process.SCHED_OTHER, 0); Process.setThreadPriority(app.pid, app.savedPriority); if (app.renderThreadTid != 0) { Process.setThreadScheduler(app.renderThreadTid, Process.SCHED_OTHER, 0); Process.setThreadPriority(app.pid, app.savedPriority); Process.setThreadPriority(app.renderThreadTid, -4); } } } } catch (Exception e) { Slog.w(TAG, "Failed setting process group of " + app.pid + " to " + app.curSchedGroup);