Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java +10 −0 Original line number Diff line number Diff line Loading @@ -186,6 +186,16 @@ public class ButtonDispatcher { } } public void setLandscape(boolean landscape) { final int N = mViews.size(); for (int i = 0; i < N; i++) { final View view = mViews.get(i); if (view instanceof ButtonInterface) { ((ButtonInterface) view).setLandscape(landscape); } } } /** * Interface for button actions. */ Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +2 −0 Original line number Diff line number Diff line Loading @@ -578,6 +578,8 @@ public class NavigationBarView extends LinearLayout { updateTaskSwitchHelper(); setNavigationIconHints(mNavigationIconHints, true); getHomeButton().setLandscape(mVertical); } private void updateTaskSwitchHelper() { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java +10 −0 Original line number Diff line number Diff line Loading @@ -186,6 +186,16 @@ public class ButtonDispatcher { } } public void setLandscape(boolean landscape) { final int N = mViews.size(); for (int i = 0; i < N; i++) { final View view = mViews.get(i); if (view instanceof ButtonInterface) { ((ButtonInterface) view).setLandscape(landscape); } } } /** * Interface for button actions. */ Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +2 −0 Original line number Diff line number Diff line Loading @@ -578,6 +578,8 @@ public class NavigationBarView extends LinearLayout { updateTaskSwitchHelper(); setNavigationIconHints(mNavigationIconHints, true); getHomeButton().setLandscape(mVertical); } private void updateTaskSwitchHelper() { Loading