mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Updating color extraction to include wallpaper theme color.
Also adding mathods and callbacks to pass the related data to the callbacks. Bug: 37616877 Change-Id: I7512cac7a603e8e5a05ec3a360c9eec493344b00
This commit is contained in:
@@ -221,7 +221,7 @@ public class PageIndicatorLineCaret extends PageIndicator {
|
||||
*/
|
||||
public void updateColor(ExtractedColors extractedColors) {
|
||||
int originalLineAlpha = mLinePaint.getAlpha();
|
||||
int color = extractedColors.getColor(ExtractedColors.HOTSEAT_INDEX, Color.TRANSPARENT);
|
||||
int color = extractedColors.getColor(ExtractedColors.HOTSEAT_INDEX);
|
||||
if (color != Color.TRANSPARENT) {
|
||||
color = ColorUtils.setAlphaComponent(color, 255);
|
||||
if (color == Color.BLACK) {
|
||||
|
||||
Reference in New Issue
Block a user