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

Commit 4d2c7a80 authored by Charlie Anderson's avatar Charlie Anderson
Browse files

Invalidate the icon cache when icon shapes flag is on

Bug: 403489171
Flag: com.android.launcher3.enable_launcher_icon_shapes
Test: flipping icon shapes flag on/off
Change-Id: Ibfe1e4a2b8e90460902f3d0b38ccd0f67a1a216f
parent 6195ebbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -643,7 +643,7 @@ constructor(
            ComponentKey(ComponentName(packageName, packageName + EMPTY_CLASS_NAME), user)

        // Ensures themed bitmaps in the icon cache are invalidated
        @JvmField val RELEASE_VERSION = if (Flags.forceMonochromeAppIcons()) 10 else 9
        @JvmField val RELEASE_VERSION = if (Flags.enableLauncherIconShapes()) 11 else 10

        @JvmField val TABLE_NAME = "icons"
        @JvmField val COLUMN_ROWID = "rowid"