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

Commit c65ff211 authored by Alan Viverette's avatar Alan Viverette
Browse files

Remove icon from base alert dialog, use light theme

BUG: 16160305
Change-Id: I3cc5b5f0f02ddffb19b06b4796dedb98a6083454
parent 4696936e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -816,7 +816,7 @@ please see themes_device_defaults.xml.
    <eat-comment />

    <!-- Theme for the dialog shown when an app crashes or ANRs. -->
    <style name="Theme.Dialog.AppError" parent="Theme.DeviceDefault.Dialog">
    <style name="Theme.Dialog.AppError" parent="Theme.DeviceDefault.Light.Dialog">
        <item name="windowFrame">@null</item>
        <item name="windowTitleStyle">@style/DialogWindowTitle</item>
        <item name="windowBackground">@color/transparent</item>
@@ -829,7 +829,7 @@ please see themes_device_defaults.xml.

    <!-- Special theme for the recent apps dialog, to allow customization
         with overlays. -->
    <style name="Theme.Dialog.RecentApplications" parent="Theme.DeviceDefault.Dialog">
    <style name="Theme.Dialog.RecentApplications" parent="Theme.DeviceDefault.Light.Dialog">
        <item name="windowFrame">@null</item>
        <item name="windowBackground">@color/transparent</item>
        <item name="windowAnimationStyle">@style/Animation.RecentApplications</item>
+0 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ class BaseErrorDialog extends AlertDialog {
        WindowManager.LayoutParams attrs = getWindow().getAttributes();
        attrs.setTitle("Error Dialog");
        getWindow().setAttributes(attrs);
        setIconAttribute(R.attr.alertDialogIcon);
    }

    public void onStart() {