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

Commit b20b75ca authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed the default of AlphaOptimizedImageViews overlapping rendering

The default was true before, which lead to quite a few bugs.
Moved done the introduced attrs to support it on AnimatedImageView

Change-Id: I68714c22ceefff6bac7cd9496c83edd69256ee1b
Fixes: 27745673
parent f07d0621
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
<!-- Extends LinearLayout -->
<com.android.systemui.qs.QSDetail
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:systemui="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/qs_detail_background"
@@ -41,7 +40,6 @@
        android:background="@color/qs_detail_progress_track"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        systemui:hasOverlappingRendering="false"
        />

    <FrameLayout
+0 −1
Original line number Diff line number Diff line
@@ -184,7 +184,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        systemui:hasOverlappingRendering="false"
        />

    <TextView
+0 −7
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@
<!-- extends LinearLayout -->
<com.android.systemui.statusbar.SignalClusterView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:systemui="http://schemas.android.com/apk/res-auto"
    android:layout_height="match_parent"
    android:layout_width="wrap_content"
    android:gravity="center_vertical"
@@ -43,7 +42,6 @@
            android:id="@+id/ethernet"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            systemui:hasOverlappingRendering="false"
            />
        <com.android.systemui.statusbar.AlphaOptimizedImageView
            android:theme="@style/DualToneDarkTheme"
@@ -51,7 +49,6 @@
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:alpha="0.0"
            systemui:hasOverlappingRendering="false"
            />
    </FrameLayout>
    <FrameLayout
@@ -64,7 +61,6 @@
            android:id="@+id/wifi_signal"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            systemui:hasOverlappingRendering="false"
            />
        <com.android.systemui.statusbar.AlphaOptimizedImageView
            android:theme="@style/DualToneDarkTheme"
@@ -72,7 +68,6 @@
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:alpha="0.0"
            systemui:hasOverlappingRendering="false"
            />
    </FrameLayout>
    <View
@@ -98,7 +93,6 @@
            android:layout_height="wrap_content"
            android:layout_width="wrap_content"
            android:src="@drawable/stat_sys_no_sims"
            systemui:hasOverlappingRendering="false"
            />
        <com.android.systemui.statusbar.AlphaOptimizedImageView
            android:theme="@style/DualToneDarkTheme"
@@ -107,7 +101,6 @@
            android:layout_width="wrap_content"
            android:src="@drawable/stat_sys_no_sims"
            android:alpha="0.0"
            systemui:hasOverlappingRendering="false"
            />
    </FrameLayout>
    <View
+0 −1
Original line number Diff line number Diff line
@@ -177,7 +177,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        systemui:hasOverlappingRendering="false"
        />

    <TextView
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@
        <attr name="ignoreRightInset" format="boolean" />
    </declare-styleable>

    <declare-styleable name="AlphaOptimizedImageView">
    <declare-styleable name="AnimatedImageView">
        <attr name="hasOverlappingRendering" format="boolean" />
    </declare-styleable>

Loading