Merge "Remove icon from base alert dialog, use light theme"
diff --git a/core/res/res/values/themes.xml b/core/res/res/values/themes.xml
index 20e3502..b63a8c1 100644
--- a/core/res/res/values/themes.xml
+++ b/core/res/res/values/themes.xml
@@ -816,7 +816,7 @@
     <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 @@
 
     <!-- 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>
diff --git a/services/core/java/com/android/server/am/BaseErrorDialog.java b/services/core/java/com/android/server/am/BaseErrorDialog.java
index 35bdee0..5f7f67a 100755
--- a/services/core/java/com/android/server/am/BaseErrorDialog.java
+++ b/services/core/java/com/android/server/am/BaseErrorDialog.java
@@ -41,7 +41,6 @@
         WindowManager.LayoutParams attrs = getWindow().getAttributes();
         attrs.setTitle("Error Dialog");
         getWindow().setAttributes(attrs);
-        setIconAttribute(R.attr.alertDialogIcon);
     }
 
     public void onStart() {