Loading packages/SystemUI/res/values/bools.xml +2 −0 Original line number Diff line number Diff line Loading @@ -18,4 +18,6 @@ <resources> <!-- Whether to show the user switcher in quick settings when only a single user is present. --> <bool name="qs_show_user_switcher_for_single_user">false</bool> </resources> packages/SystemUI/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java +2 −2 Original line number Diff line number Diff line Loading @@ -175,11 +175,11 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue if(isHide){ notificationIconArea.setVisibility(View.GONE); isLayoutRtl()=false; // isLayoutRtl()=false; } else { notificationIconArea.setVisibility(View.INVISIBLE); isLayoutRtl()=true; //isLayoutRtl()=true; } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +7 −7 Original line number Diff line number Diff line Loading @@ -272,13 +272,13 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } // Stole this from NotificationIconContainer. Not optimal but keeps the layout logic clean if (isLayoutRtl()) { for (int i = 0; i < childCount; i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); } } // if (isLayoutRtl()) { // for (int i = 0; i < childCount; i++) { // View child = getChildAt(i); // StatusIconState state = getViewStateFromChild(child); // state.xTranslation = width - state.xTranslation - child.getWidth(); // } // } } private void applyIconStates() { Loading Loading
packages/SystemUI/res/values/bools.xml +2 −0 Original line number Diff line number Diff line Loading @@ -18,4 +18,6 @@ <resources> <!-- Whether to show the user switcher in quick settings when only a single user is present. --> <bool name="qs_show_user_switcher_for_single_user">false</bool> </resources>
packages/SystemUI/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java +2 −2 Original line number Diff line number Diff line Loading @@ -175,11 +175,11 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue if(isHide){ notificationIconArea.setVisibility(View.GONE); isLayoutRtl()=false; // isLayoutRtl()=false; } else { notificationIconArea.setVisibility(View.INVISIBLE); isLayoutRtl()=true; //isLayoutRtl()=true; } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusIconContainer.java +7 −7 Original line number Diff line number Diff line Loading @@ -272,13 +272,13 @@ public class StatusIconContainer extends AlphaOptimizedLinearLayout { } // Stole this from NotificationIconContainer. Not optimal but keeps the layout logic clean if (isLayoutRtl()) { for (int i = 0; i < childCount; i++) { View child = getChildAt(i); StatusIconState state = getViewStateFromChild(child); state.xTranslation = width - state.xTranslation - child.getWidth(); } } // if (isLayoutRtl()) { // for (int i = 0; i < childCount; i++) { // View child = getChildAt(i); // StatusIconState state = getViewStateFromChild(child); // state.xTranslation = width - state.xTranslation - child.getWidth(); // } // } } private void applyIconStates() { Loading