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

Commit 219cadc3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added non-app window tokens to window container hierarchy"

parents 073e4e40 19e452ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -418,7 +418,7 @@ class AppWindowToken extends WindowToken implements WindowManagerService.AppFree
     * surfaces that's eligible, if the app is already stopped.
     * surfaces that's eligible, if the app is already stopped.
     */
     */
    private void destroySurfaces(boolean cleanupOnResume) {
    private void destroySurfaces(boolean cleanupOnResume) {
        final DisplayContentList displayList = new DisplayContentList();
        final ArrayList<DisplayContent> displayList = new ArrayList();
        for (int i = mChildren.size() - 1; i >= 0; i--) {
        for (int i = mChildren.size() - 1; i >= 0; i--) {
            final WindowState win = mChildren.get(i);
            final WindowState win = mChildren.get(i);
            final boolean destroyed = win.destroySurface(cleanupOnResume, mAppStopped);
            final boolean destroyed = win.destroySurface(cleanupOnResume, mAppStopped);
+185 −97

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Original line Diff line number Diff line
@@ -1141,7 +1141,7 @@ class RootWindowContainer extends WindowContainer<DisplayContent> {
            }
            }
            mService.mPendingRemove.toArray(mService.mPendingRemoveTmp);
            mService.mPendingRemove.toArray(mService.mPendingRemoveTmp);
            mService.mPendingRemove.clear();
            mService.mPendingRemove.clear();
            DisplayContentList displayList = new DisplayContentList();
            ArrayList<DisplayContent> displayList = new ArrayList();
            for (i = 0; i < N; i++) {
            for (i = 0; i < N; i++) {
                final WindowState w = mService.mPendingRemoveTmp[i];
                final WindowState w = mService.mPendingRemoveTmp[i];
                w.removeImmediately();
                w.removeImmediately();
+3 −5

File changed.

Preview size limit exceeded, changes collapsed.