summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaffersulaiman <jaffersulaiman.mh@sasken.com>2016-03-22 19:04:15 +0530
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-28 07:31:13 -0700
commita831659c6d9c8b026493b2eb0dbfb158e71e935e (patch)
treee91751092f7c3d2817a382024a197e68b7aecdf8
parent252ac72f1007c7742392eb34c6e2278321674898 (diff)
downloadandroid_packages_apps_Messaging-a831659c6d9c8b026493b2eb0dbfb158e71e935e.tar.gz
android_packages_apps_Messaging-a831659c6d9c8b026493b2eb0dbfb158e71e935e.tar.bz2
android_packages_apps_Messaging-a831659c6d9c8b026493b2eb0dbfb158e71e935e.zip
Messaging App is crashing when storage memory is full
Instead of showing low memory warning popup, Messaging App is crashing because of popup using unsupported style attribute.So it is handled with new style Bug: CYNGNOS-2060 Change-Id: I40c1fd6dc100602db6885f7affb292871ca0edcf
-rwxr-xr-x[-rw-r--r--]AndroidManifest.xml2
-rwxr-xr-x[-rw-r--r--]res/values/styles.xml8
2 files changed, 9 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4342230..d37b576 100644..100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -427,7 +427,7 @@
</activity>
<activity android:name=".ui.SmsStorageLowWarningActivity"
- android:theme="@style/Invisible"
+ android:theme="@style/InvisibleNoDisplay"
android:configChanges="orientation|screenSize|keyboardHidden" />
<activity android:name=".ui.appsettings.ApnSettingsActivity"
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 96b942a..042ef59 100644..100755
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -76,6 +76,14 @@
<item name="android:windowNoDisplay">true</item>
</style>
+ <style name="InvisibleNoDisplay" parent="BugleBaseTheme">
+ <item name="android:windowBackground">@null</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowAnimationStyle">@null</item>
+ <item name="android:windowDisablePreview">true</item>
+ </style>
+
<style name="BugleActionBar" parent="@style/Widget.AppCompat.Light.ActionBar.Solid">
<item name="height">@dimen/action_bar_height</item>
<item name="displayOptions">showTitle</item>