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

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

Merge "Always update the thumbnail layer"

parents eae56cd5 0780497c
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -295,7 +295,6 @@ public class AppWindowAnimator {
    void updateThumbnailLayer() {
        if (thumbnail != null) {
            final int layer = mAppToken.getHighestAnimLayer();
            if (layer != mThumbnailLayer) {
            if (DEBUG_LAYERS) Slog.v(TAG,
                    "Setting thumbnail layer " + mAppToken + ": layer=" + layer);
            thumbnail.setLayer(layer + WindowManagerService.WINDOW_LAYER_MULTIPLIER
@@ -303,7 +302,6 @@ public class AppWindowAnimator {
            mThumbnailLayer = layer;
        }
    }
    }

    /**
     * Sometimes we need to synchronize the first frame of animation with some external event, e.g.