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

Commit 2497f8aa authored by Jamie Garside's avatar Jamie Garside
Browse files

Fix bug preventing pattern bouncer entering half height mode.

I messed up the resource qualifier for the guideline (referred to the
PIN pad one after a copy+paste), so the top guideline for the pattern
view was never updated, preventing it from only using half of the screen
in HALF_FOLDED mode.

Bug: 199991560
Test: Manually verified.
Change-Id: I959a38dbd7302bce3e37738504bc71a848fd0cd6
parent d2f034f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ public class KeyguardPatternView extends KeyguardInputView

        ConstraintSet cs = new ConstraintSet();
        cs.clone(mContainer);
        cs.setGuidelinePercent(R.id.pin_pad_top_guideline, posture == DEVICE_POSTURE_HALF_OPENED
        cs.setGuidelinePercent(R.id.pattern_top_guideline, posture == DEVICE_POSTURE_HALF_OPENED
                ? halfOpenPercentage : 0.0f);
        cs.applyTo(mContainer);
    }