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

Commit b5950981 authored by Jason Monk's avatar Jason Monk
Browse files

Fixes for new QS

A bunch of small cleanup for the new QS.

Change-Id: If0a5efe67366a4288f72cb91d32f5e20a4d4d6ca
Test: visual
Fixes: 34665057
Fixes: 34658107
Fixes: 34644473
parent 4c2fe5da
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="17dp"
        android:height="17.0dp"
        android:viewportWidth="20.0"
        android:viewportHeight="20.0">
        android:viewportWidth="24.0"
        android:viewportHeight="24.0">
    <path
        android:fillColor="#FFFFFFFF"
        android:pathData="M19.0,6.41L17.59,5.0 12.0,10.59 6.41,5.0 5.0,6.41 10.59,12.0 5.0,17.59 6.41,19.0 12.0,13.41 17.59,19.0 19.0,17.59 13.41,12.0z"/>
+3 −2
Original line number Diff line number Diff line
@@ -14,9 +14,10 @@
    limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="8.5dp"
        android:autoMirrored="true"
        android:width="17.0dp"
        android:height="17.0dp"
        android:viewportWidth="20.0"
        android:viewportWidth="40.0"
        android:viewportHeight="40.0">
    <path
        android:fillColor="#FFFFFFFF"
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@
        android:layout_alignParentTop="true"
        android:focusable="true"
        android:gravity="center_vertical"
        android:paddingEnd="16dp"
        android:paddingStart="16dp"
        android:paddingTop="6dp"
        android:singleLine="true"
        android:text="@*android:string/emergency_calls_only"
+2 −1
Original line number Diff line number Diff line
@@ -3580,7 +3580,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
    public void postQSRunnableDismissingKeyguard(final Runnable runnable) {
        mHandler.post(() -> {
            mLeaveOpenOnKeyguardHide = true;
            executeRunnableDismissingKeyguard(runnable, null, false, false, false);
            executeRunnableDismissingKeyguard(() -> mHandler.post(runnable), null, false, false,
                    false);
        });
    }

+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
        // Set the light/dark theming on the header status UI to match the current theme.
        SignalClusterView cluster = (SignalClusterView) findViewById(R.id.signal_cluster);
        int colorForeground = Utils.getColorAttr(getContext(), android.R.attr.colorForeground);
        float intensity = colorForeground / (float) Color.WHITE;
        float intensity = colorForeground == Color.WHITE ? 0 : 1;
        cluster.setIconTint(colorForeground, intensity, new Rect(0, 0, 0, 0));
        BatteryMeterView battery = (BatteryMeterView) findViewById(R.id.battery);
        int colorSecondary = Utils.getColorAttr(getContext(), android.R.attr.textColorSecondary);
Loading