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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user