Merge "Default gradient should be the dark version" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4dfb200d1b
@@ -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
|
* @param which FLAG_LOCK or FLAG_SYSTEM
|
||||||
* @return colors
|
* @return colors
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
public GradientColors getColors(int which) {
|
public GradientColors getColors(int which) {
|
||||||
return getColors(which, TYPE_NORMAL);
|
return getColors(which, TYPE_DARK);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user