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 Original line Diff line number Diff line
@@ -295,7 +295,6 @@ public class AppWindowAnimator {
    void updateThumbnailLayer() {
    void updateThumbnailLayer() {
        if (thumbnail != null) {
        if (thumbnail != null) {
            final int layer = mAppToken.getHighestAnimLayer();
            final int layer = mAppToken.getHighestAnimLayer();
            if (layer != mThumbnailLayer) {
            if (DEBUG_LAYERS) Slog.v(TAG,
            if (DEBUG_LAYERS) Slog.v(TAG,
                    "Setting thumbnail layer " + mAppToken + ": layer=" + layer);
                    "Setting thumbnail layer " + mAppToken + ": layer=" + layer);
            thumbnail.setLayer(layer + WindowManagerService.WINDOW_LAYER_MULTIPLIER
            thumbnail.setLayer(layer + WindowManagerService.WINDOW_LAYER_MULTIPLIER
@@ -303,7 +302,6 @@ public class AppWindowAnimator {
            mThumbnailLayer = layer;
            mThumbnailLayer = layer;
        }
        }
    }
    }
    }


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