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

Commit 975a0695 authored by Catherine Liang's avatar Catherine Liang Committed by Android (Google) Code Review
Browse files

Merge "Remove createWindowContext in Launcher preview renderer" into main

parents bbdcade3 0089efe1
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ import android.view.Display;
import android.view.SurfaceControlViewHost;
import android.view.SurfaceControlViewHost.SurfacePackage;
import android.view.View;
import android.view.WindowManager.LayoutParams;
import android.view.animation.AccelerateDecelerateInterpolator;

import androidx.annotation.NonNull;
@@ -215,7 +214,6 @@ public class PreviewSurfaceRenderer {
            return new ContextThemeWrapper(context,
                    Themes.getActivityThemeRes(context));
        }
        context = context.createWindowContext(LayoutParams.TYPE_APPLICATION_OVERLAY, null);
        LocalColorExtractor.newInstance(context)
                .applyColorsOverride(context, mWallpaperColors);
        return new ContextThemeWrapper(context,