Merge "Apply colors extracted from wallpaper to clock faces."
This commit is contained in:
@@ -54,10 +54,17 @@ public interface ClockPlugin extends Plugin {
|
||||
*/
|
||||
void setTextColor(int color);
|
||||
|
||||
/**
|
||||
* Sets the color palette for the clock face.
|
||||
* @param supportsDarkText Whether dark text can be displayed.
|
||||
* @param colors Colors that should be used on the clock face, ordered from darker to lighter.
|
||||
*/
|
||||
default void setColorPalette(boolean supportsDarkText, int[] colors) {}
|
||||
|
||||
/**
|
||||
* Notifies that time tick alarm from doze service fired.
|
||||
*/
|
||||
default void dozeTimeTick() { }
|
||||
default void dozeTimeTick() {}
|
||||
|
||||
/**
|
||||
* Set the amount (ratio) that the device has transitioned to doze.
|
||||
|
||||
Reference in New Issue
Block a user