KgStatusArea width should match parent

Fixes: 178569458
Test: manual
Change-Id: Ic64a2fc40f0b07298d5478a83b5a50f8491f15f1
This commit is contained in:
Beverly
2021-01-27 10:41:04 -05:00
parent 52b003326d
commit bd1d570ef3

View File

@@ -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();