Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db0fc44b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adjust bubble clock to be easier to read" into qt-r1-dev

parents ba12db43 c6dfd6c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,5 +6,5 @@
    <path
        android:pathData="M170,40m-39,0a39,39 0,1 1,78 0a39,39 0,1 1,-78 0"
        android:strokeColor="#000000"
        android:strokeWidth="2"/>
        android:strokeWidth="3"/>
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -6,5 +6,5 @@
    <path
        android:pathData="M170,1L170,1A39,39 0,0 1,209 40L209,130A39,39 0,0 1,170 169L170,169A39,39 0,0 1,131 130L131,40A39,39 0,0 1,170 1z"
        android:strokeColor="#000000"
        android:strokeWidth="2"/>
        android:strokeWidth="3"/>
</vector>
+4 −3
Original line number Diff line number Diff line
@@ -170,9 +170,10 @@ public class BubbleClockController implements ClockPlugin {
            return;
        }
        final int length = colorPalette.length;
        final int color = colorPalette[Math.max(0, length - 3)];
        mLockClock.setTextColor(color);
        mAnalogClock.setClockColors(color, color);
        final int primaryColor = colorPalette[Math.max(0, length - 2)];
        final int secondaryColor = colorPalette[Math.max(0, length - 5)];
        mLockClock.setTextColor(primaryColor);
        mAnalogClock.setClockColors(secondaryColor, primaryColor);
    }

    @Override