Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +0 −12 Original line number Diff line number Diff line Loading @@ -3222,7 +3222,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, private void recreateStatusBar() { mRecreating = true; mStatusBarContainer.removeAllViews(); removeAllViews(mStatusBarWindow); // extract icons from the soon-to-be recreated viewgroup. int nIcons = mStatusIcons.getChildCount(); Loading Loading @@ -3269,17 +3268,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, mRecreating = false; } private void removeAllViews(ViewGroup parent) { int N = parent.getChildCount(); for (int i = 0; i < N; i++) { View child = parent.getChildAt(i); if (child instanceof ViewGroup) { removeAllViews((ViewGroup) child); } } parent.removeAllViews(); } /** * Reload some of our resources when the configuration changes. * Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +0 −12 Original line number Diff line number Diff line Loading @@ -3222,7 +3222,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, private void recreateStatusBar() { mRecreating = true; mStatusBarContainer.removeAllViews(); removeAllViews(mStatusBarWindow); // extract icons from the soon-to-be recreated viewgroup. int nIcons = mStatusIcons.getChildCount(); Loading Loading @@ -3269,17 +3268,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, mRecreating = false; } private void removeAllViews(ViewGroup parent) { int N = parent.getChildCount(); for (int i = 0; i < N; i++) { View child = parent.getChildAt(i); if (child instanceof ViewGroup) { removeAllViews((ViewGroup) child); } } parent.removeAllViews(); } /** * Reload some of our resources when the configuration changes. * Loading