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

Commit ca71b9a6 authored by Austin Delgado's avatar Austin Delgado Committed by Android Build Coastguard Worker
Browse files

Revert "Fix biometric prompt appearing above shade"

This reverts commit 93b417ad.

Reason for revert: Reverting on old branches

Bug: 384727394
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1b19eeac213c8b93c2c2a745c666b683da62ccc0)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d8f677744d51a894c175d07beead9a31b635d33)
Merged-In: I0fb69ebb12809cc118c7cc716d670eacc007c5e7
Change-Id: I0fb69ebb12809cc118c7cc716d670eacc007c5e7
parent 52c030fa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -554,6 +554,8 @@ public class AuthContainerView extends LinearLayout
        }

        mWakefulnessLifecycle.addObserver(this);
        mPanelInteractionDetector.enable(
                () -> animateAway(AuthDialogCallback.DISMISSED_USER_CANCELED));
        if (constraintBp()) {
            // Do nothing on attachment with constraintLayout
        } else if (mPromptViewModel.getPromptKind().getValue().isBiometric()) {
@@ -566,8 +568,6 @@ public class AuthContainerView extends LinearLayout
        }

        if (!constraintBp()) {
            mPanelInteractionDetector.enable(
                    () -> animateAway(AuthDialogCallback.DISMISSED_USER_CANCELED));
            updatePositionByCapability(false /* invalidate */);
        }

@@ -984,7 +984,7 @@ public class AuthContainerView extends LinearLayout
        final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
                ViewGroup.LayoutParams.MATCH_PARENT,
                ViewGroup.LayoutParams.MATCH_PARENT,
                WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY,
                WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG,
                windowFlags,
                PixelFormat.TRANSLUCENT);
        lp.privateFlags |= WindowManager.LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS;