Default gradient should be the dark version

TYPE_NORMAL gradient should not be served by default
since it doesn't pass GAR.

Test: visual
Change-Id: Ibd09d0cbcc570d369e7b24970f37b4e6ba411586
Fixes: 63760297
This commit is contained in:
Lucas Dupin
2017-07-17 10:15:30 -07:00
parent c4c5d60607
commit 78d4afffb1

View File

@@ -97,14 +97,14 @@ public class ColorExtractor implements WallpaperManager.OnColorsChangedListener
}
/**
* Retrieve TYPE_NORMAL gradient colors considering wallpaper visibility.
* Retrieve gradient colors for a specific wallpaper.
*
* @param which FLAG_LOCK or FLAG_SYSTEM
* @return colors
*/
@NonNull
public GradientColors getColors(int which) {
return getColors(which, TYPE_NORMAL);
return getColors(which, TYPE_DARK);
}
/**