Merge "KgStatusArea width should match parent" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-01-27 21:45:57 +00:00
committed by Android (Google) Code Review

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