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

Commit 7a01d0c5 authored by Veeti Paananen's avatar Veeti Paananen
Browse files

Show live wallpapers in the recents view on high-end devices

Change-Id: Iefbf4f292b6a9bfdb516f154cc2976db2ba86cde
parent 87d7fa87
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -114,12 +114,13 @@ public class RecentsActivity extends Activity {
    }

    public static boolean forceOpaqueBackground(Context context) {
        return WallpaperManager.getInstance(context).getWallpaperInfo() != null;
        return WallpaperManager.getInstance(context).getWallpaperInfo() != null
                && !ActivityManager.isHighEndGfx();
    }

    @Override
    public void onStart() {
        // Hide wallpaper if it's not a static image
        // Hide wallpaper if it's not a static image and device is low-end
        if (forceOpaqueBackground(this)) {
            updateWallpaperVisibility(false);
        } else {