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

Commit 619682b9 authored by Tim Murray's avatar Tim Murray Committed by android-build-merger
Browse files

Merge changes I15da2563,I7845542d into nyc-mr1-dev

am: 7b8b1aab

Change-Id: I66d92cd3c08a67598cefdc6256825b1c6c1736f5
parents 92ba4b12 7b8b1aab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ bool CanvasContext::isSwapChainStuffed() {
    }

    // All signs point to a stuffed swap chain
    ATRACE_NAME("swap chain stuffed");
    return true;
}

+5 −3
Original line number Diff line number Diff line
@@ -20265,12 +20265,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);