diff options
| author | 2021-01-27 10:41:04 -0500 | |
|---|---|---|
| committer | 2021-01-27 10:46:49 -0500 | |
| commit | bd1d570ef3e20dc4157afda87f73d1c4be4300ed (patch) | |
| tree | 04a1abccc56392d138681eabee196fc2fe787d8e | |
| parent | 52b003326dd3bd0337948eea3105f4dd2f5a46bf (diff) | |
KgStatusArea width should match parent
Fixes: 178569458
Test: manual
Change-Id: Ic64a2fc40f0b07298d5478a83b5a50f8491f15f1
| -rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java index 2d972e04bd1d..6eb54c25a440 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java @@ -192,7 +192,7 @@ public class KeyguardClockSwitch extends RelativeLayout { statusAreaLP.removeRule(RelativeLayout.ALIGN_PARENT_START); statusAreaLP.removeRule(RelativeLayout.START_OF); statusAreaLP.addRule(RelativeLayout.BELOW, R.id.clock_view); - statusAreaLP.width = ViewGroup.LayoutParams.WRAP_CONTENT; + statusAreaLP.width = ViewGroup.LayoutParams.MATCH_PARENT; } requestLayout(); |