Improved alignments & Add classic player'
This commit is contained in:
parent
21d59f0274
commit
c3c5f7e829
14 changed files with 217 additions and 190 deletions
|
@ -476,6 +476,16 @@ public class MediaNotificationProcessor {
|
|||
return backgroundColor;
|
||||
}
|
||||
|
||||
public int getMightyColor() {
|
||||
if (isColorLight(backgroundColor)) {
|
||||
return primaryTextColor;
|
||||
} else if (isColorLight(primaryTextColor)) {
|
||||
return secondaryTextColor;
|
||||
} else {
|
||||
return backgroundColor;
|
||||
}
|
||||
}
|
||||
|
||||
public interface OnPaletteLoadedListener {
|
||||
void onPaletteLoaded(MediaNotificationProcessor mediaNotificationProcessor);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue