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

Commit 2293d7b3 authored by Kevin Chang's avatar Kevin Chang
Browse files

Remove redundant style in accessibility permission dialog

Remove the redundant style of allow and deny button in the dialog
since these styles don't have override bodies which indicates that
the style of these two buttons can be replaced by the parent style.

Test: Visual
Fixes: 135166860
Change-Id: I500963196e7afe52065b1b615b35d07f6a77037a
parent ff89b713
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -57,12 +57,12 @@
                <Button
                    android:id="@+id/permission_disable_stop_button"
                    android:text="@string/accessibility_dialog_button_stop"
                    style="@style/AccessibilityDialogButtonAllow" />
                    style="@style/AccessibilityDialogButton" />

                <Button
                    android:id="@+id/permission_disable_cancel_button"
                    android:text="@string/accessibility_dialog_button_cancel"
                    style="@style/AccessibilityDialogButtonDeny" />
                    style="@style/AccessibilityDialogButton" />

            </LinearLayout>

+2 −2
Original line number Diff line number Diff line
@@ -127,12 +127,12 @@
            <Button
                android:id="@+id/permission_enable_allow_button"
                android:text="@string/accessibility_dialog_button_allow"
                style="@style/AccessibilityDialogButtonAllow" />
                style="@style/AccessibilityDialogButton" />

            <Button
                android:id="@+id/permission_enable_deny_button"
                android:text="@string/accessibility_dialog_button_deny"
                style="@style/AccessibilityDialogButtonDeny" />
                style="@style/AccessibilityDialogButton" />

        </LinearLayout>
    </LinearLayout>
+0 −5
Original line number Diff line number Diff line
@@ -651,9 +651,4 @@
        <item name="android:background">?android:attr/selectableItemBackground</item>
    </style>

    <style name="AccessibilityDialogButtonAllow"
           parent="@style/AccessibilityDialogButton"></style>
    <style name="AccessibilityDialogButtonDeny"
           parent="@style/AccessibilityDialogButton"></style>

</resources>