Loading packages/SystemUI/src/com/android/systemui/navigationbar/RotationButtonController.java +1 −1 Original line number Diff line number Diff line Loading @@ -369,7 +369,7 @@ public class RotationButtonController { return mContext; } RotationButton getRotationButton() { public RotationButton getRotationButton() { return mRotationButton; } Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java +11 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ import android.content.Context; import android.content.res.Configuration; import android.graphics.Point; import android.graphics.Rect; import android.inputmethodservice.InputMethodService; import android.os.IBinder; import android.os.RemoteException; import android.util.AttributeSet; import android.util.EventLog; Loading Loading @@ -354,6 +356,15 @@ public class PhoneStatusBarView extends PanelBar implements Callbacks { } } @Override public void setImeWindowStatus(int displayId, IBinder token, int vis, int backDisposition, boolean showImeSwitcher) { if (mRotationButtonController != null) { final boolean imeShown = (vis & InputMethodService.IME_VISIBLE) != 0; mRotationButtonController.getRotationButton().setCanShowRotationButton(!imeShown); } } private void updateScrimFraction() { float scrimFraction = mPanelFraction; if (mMinFraction < 1.0f) { Loading Loading
packages/SystemUI/src/com/android/systemui/navigationbar/RotationButtonController.java +1 −1 Original line number Diff line number Diff line Loading @@ -369,7 +369,7 @@ public class RotationButtonController { return mContext; } RotationButton getRotationButton() { public RotationButton getRotationButton() { return mRotationButton; } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java +11 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ import android.content.Context; import android.content.res.Configuration; import android.graphics.Point; import android.graphics.Rect; import android.inputmethodservice.InputMethodService; import android.os.IBinder; import android.os.RemoteException; import android.util.AttributeSet; import android.util.EventLog; Loading Loading @@ -354,6 +356,15 @@ public class PhoneStatusBarView extends PanelBar implements Callbacks { } } @Override public void setImeWindowStatus(int displayId, IBinder token, int vis, int backDisposition, boolean showImeSwitcher) { if (mRotationButtonController != null) { final boolean imeShown = (vis & InputMethodService.IME_VISIBLE) != 0; mRotationButtonController.getRotationButton().setCanShowRotationButton(!imeShown); } } private void updateScrimFraction() { float scrimFraction = mPanelFraction; if (mMinFraction < 1.0f) { Loading