Fix crash of transparent dialogs on Android 6

This commit is contained in:
Dominik Schürmann 2016-05-01 23:10:41 +02:00
parent 158668f378
commit 17f712870b
3 changed files with 11 additions and 2 deletions

View File

@ -393,10 +393,10 @@
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".FDroid" /> android:value=".FDroid" />
</activity> </activity>
<!-- Note: Theme.NoDisplay, this activity shows dialogs only --> <!-- Note: AppThemeTransparent, this activity shows dialogs only -->
<activity <activity
android:name=".privileged.install.InstallExtensionDialogActivity" android:name=".privileged.install.InstallExtensionDialogActivity"
android:theme="@android:style/Theme.NoDisplay" /> android:theme="@style/AppThemeTransparent" />
<receiver <receiver
android:name=".privileged.install.InstallExtensionBootReceiver" > android:name=".privileged.install.InstallExtensionBootReceiver" >
<intent-filter> <intent-filter>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- see http://stackoverflow.com/questions/32169303/activity-did-not-call-finish-api-23 -->
<style name="AppThemeTransparent" parent="@android:style/Theme.Translucent.NoTitleBar" />
</resources>

View File

@ -237,4 +237,6 @@
</style> </style>
<style name="AppDetailsSubheaderText" parent="AppDetailsSubheaderTextBase" /> <style name="AppDetailsSubheaderText" parent="AppDetailsSubheaderTextBase" />
<style name="AppThemeTransparent" parent="@android:style/Theme.NoDisplay" />
</resources> </resources>