Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd089fb2 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Add animation to PrivacyDialog

Test: manual
Fixes: 181350944
Change-Id: I7f14c8559aa39b0e40c4efca21ad7500758017ab
parent 11623bb1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -608,6 +608,11 @@
        <item name="android:windowCloseOnTouchOutside">true</item>
    </style>

    <!-- Privacy dialog -->
    <style name="PrivacyDialog" parent="ScreenRecord">
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
    </style>

    <!-- USB Contaminant dialog -->
    <style name ="USBContaminant" />

+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ class PrivacyDialog(
    context: Context,
    private val list: List<PrivacyElement>,
    activityStarter: (String, Int) -> Unit
) : SystemUIDialog(context, R.style.ScreenRecord) {
) : SystemUIDialog(context, R.style.PrivacyDialog) {

    private val dismissListeners = mutableListOf<WeakReference<OnDialogDismissed>>()
    private val dismissed = AtomicBoolean(false)