Loading iconloaderlib/build.gradle +6 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,12 @@ android { res.srcDirs = ['res'] } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } addFrameworkJar('framework-14.jar') } Loading iconloaderlib/src/com/android/launcher3/icons/BaseIconFactory.java +2 −2 Original line number Diff line number Diff line Loading @@ -365,8 +365,8 @@ public class BaseIconFactory implements AutoCloseable { * Wraps the provided icon in an adaptive icon drawable */ public AdaptiveIconDrawable wrapToAdaptiveIcon(@NonNull Drawable icon) { if (icon instanceof AdaptiveIconDrawable) { return (AdaptiveIconDrawable) icon; if (icon instanceof AdaptiveIconDrawable aid) { return aid; } else { EmptyWrapper foreground = new EmptyWrapper(); AdaptiveIconDrawable dr = new AdaptiveIconDrawable( Loading Loading
iconloaderlib/build.gradle +6 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,12 @@ android { res.srcDirs = ['res'] } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } addFrameworkJar('framework-14.jar') } Loading
iconloaderlib/src/com/android/launcher3/icons/BaseIconFactory.java +2 −2 Original line number Diff line number Diff line Loading @@ -365,8 +365,8 @@ public class BaseIconFactory implements AutoCloseable { * Wraps the provided icon in an adaptive icon drawable */ public AdaptiveIconDrawable wrapToAdaptiveIcon(@NonNull Drawable icon) { if (icon instanceof AdaptiveIconDrawable) { return (AdaptiveIconDrawable) icon; if (icon instanceof AdaptiveIconDrawable aid) { return aid; } else { EmptyWrapper foreground = new EmptyWrapper(); AdaptiveIconDrawable dr = new AdaptiveIconDrawable( Loading