Merge "Revert "Remove shadows from launcher icons."" into sc-dev
diff --git a/iconloaderlib/src/com/android/launcher3/icons/ThemedIconDrawable.java b/iconloaderlib/src/com/android/launcher3/icons/ThemedIconDrawable.java
index efbabc7..7425c68 100644
--- a/iconloaderlib/src/com/android/launcher3/icons/ThemedIconDrawable.java
+++ b/iconloaderlib/src/com/android/launcher3/icons/ThemedIconDrawable.java
@@ -255,7 +255,10 @@
}
}
- private static int[] getColors(Context context) {
+ /**
+ * Get an int array representing background and foreground colors for themed icons
+ */
+ public static int[] getColors(Context context) {
Resources res = context.getResources();
int[] colors = new int[2];
if ((res.getConfiguration().uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES) {