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:value=".FDroid" />
</activity>
<!-- Note: Theme.NoDisplay, this activity shows dialogs only -->
<!-- Note: AppThemeTransparent, this activity shows dialogs only -->
<activity
android:name=".privileged.install.InstallExtensionDialogActivity"
android:theme="@android:style/Theme.NoDisplay" />
android:theme="@style/AppThemeTransparent" />
<receiver
android:name=".privileged.install.InstallExtensionBootReceiver" >
<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 name="AppDetailsSubheaderText" parent="AppDetailsSubheaderTextBase" />
<style name="AppThemeTransparent" parent="@android:style/Theme.NoDisplay" />
</resources>