Loading packages/SystemUI/src/com/android/systemui/ScreenDecorations.java +16 −0 Original line number Diff line number Diff line Loading @@ -433,9 +433,25 @@ public class ScreenDecorations extends SystemUI implements Tunable, if (mOverlay != null) { updateLayoutParams(); updateViews(); if (mAssistHintVisible) { // If assist handles are visible, hide them without animation and then make them // show once again (with corrected rotation). hideAssistHandles(); setAssistHintVisible(true); } } } } private void hideAssistHandles() { if (mOverlay != null && mBottomOverlay != null) { mOverlay.findViewById(R.id.assist_hint_left).setVisibility(View.GONE); mOverlay.findViewById(R.id.assist_hint_right).setVisibility(View.GONE); mBottomOverlay.findViewById(R.id.assist_hint_left).setVisibility(View.GONE); mBottomOverlay.findViewById(R.id.assist_hint_right).setVisibility(View.GONE); mAssistHintVisible = false; } } private void updateRoundedCornerRadii() { final int newRoundedDefault = mContext.getResources().getDimensionPixelSize( Loading Loading
packages/SystemUI/src/com/android/systemui/ScreenDecorations.java +16 −0 Original line number Diff line number Diff line Loading @@ -433,9 +433,25 @@ public class ScreenDecorations extends SystemUI implements Tunable, if (mOverlay != null) { updateLayoutParams(); updateViews(); if (mAssistHintVisible) { // If assist handles are visible, hide them without animation and then make them // show once again (with corrected rotation). hideAssistHandles(); setAssistHintVisible(true); } } } } private void hideAssistHandles() { if (mOverlay != null && mBottomOverlay != null) { mOverlay.findViewById(R.id.assist_hint_left).setVisibility(View.GONE); mOverlay.findViewById(R.id.assist_hint_right).setVisibility(View.GONE); mBottomOverlay.findViewById(R.id.assist_hint_left).setVisibility(View.GONE); mBottomOverlay.findViewById(R.id.assist_hint_right).setVisibility(View.GONE); mAssistHintVisible = false; } } private void updateRoundedCornerRadii() { final int newRoundedDefault = mContext.getResources().getDimensionPixelSize( Loading