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

Commit 4fa9c66d authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Update fp => lock icon transition to NOT be reversible" into main

parents 999a6a71 0567af2d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -73,14 +73,14 @@ constructor(
                        AccessibilityNodeInfoCompat.ACTION_CLICK,
                        resources.getString(R.string.accessibility_enter_hint)
                    )

                override fun onInitializeAccessibilityNodeInfo(
                    v: View,
                    info: AccessibilityNodeInfo
                ) {
                    super.onInitializeAccessibilityNodeInfo(v, info)
                    when (accessibilityHintType) {
                        AccessibilityHintType.BOUNCER ->
                            info.addAction(accessibilityBouncerHint)
                        AccessibilityHintType.BOUNCER -> info.addAction(accessibilityBouncerHint)
                        AccessibilityHintType.ENTER -> info.addAction(accessibilityEnterHint)
                        AccessibilityHintType.NONE -> return
                    }
@@ -204,12 +204,12 @@ constructor(
            /* reversible */ false,
        )

        // LockscreenFingerprint <=> LockscreenLocked
        // LockscreenFingerprint => LockscreenLocked
        animatedIconDrawable.addTransition(
            R.id.locked_fp,
            R.id.locked,
            context.getDrawable(R.drawable.fp_to_locked) as AnimatedVectorDrawable,
            /* reversible */ true,
            /* reversible */ false,
        )

        // LockscreenUnlocked <=> AodLocked