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

Commit e7ba98a5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add animation to PrivacyDialog" into sc-dev am: 7102d06f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13713691

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib875138ecbdc05083d4ef83267a57ca3e655788b
parents 39afd009 7102d06f
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)