diff options
| author | Paul Keith <javelinanddart@gmail.com> | 2020-04-01 17:43:54 -0500 |
|---|---|---|
| committer | Aaron Kling <webgeek1234@gmail.com> | 2020-04-01 18:46:57 -0500 |
| commit | 85ac06a57dced4a543e08523a3f90760e50324c3 (patch) | |
| tree | 8227383698b152d042be7758591de12f9abe1f81 /Source/Android/app/src/main/java | |
| parent | ee98042b814e557a5dbc4284e6b5849eef6f31db (diff) | |
Android: Force an AppCompat theme in the analytics AlertDialog
This fixes a crash on ATV devices, because the the AlertDialog is
from the appcompat class, but the theme derived from the parent
view on ATV devices isn't from AppCompat.
Diffstat (limited to 'Source/Android/app/src/main/java')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.java index 0cc9dc7f72..76a3a2f529 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.java @@ -44,7 +44,7 @@ public class Analytics sPrefsEditor.putBoolean(analyticsAsked, true); sPrefsEditor.apply(); - new AlertDialog.Builder(context) + new AlertDialog.Builder(context, R.style.Theme_AppCompat_Dialog_Alert) .setTitle(context.getString(R.string.analytics)) .setMessage(context.getString(R.string.analytics_desc)) .setPositiveButton(R.string.yes, (dialogInterface, i) -> |
