Loading packages/SystemUI/src/com/android/systemui/qs/QSFragmentLegacy.java +4 −11 Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ public class QSFragmentLegacy extends LifecycleFragment implements QS { public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { QSFragmentComponent qsFragmentComponent = mQsComponentFactory.create(getView()); mQsImpl = mQsImplProvider.get(); mQsImpl.onCreate(null); mQsImpl.onComponentCreated(qsFragmentComponent, savedInstanceState); } Loading @@ -85,21 +86,13 @@ public class QSFragmentLegacy extends LifecycleFragment implements QS { } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (mQsImpl != null) { mQsImpl.onCreate(savedInstanceState); } } @Override public void onDestroy() { super.onDestroy(); public void onDestroyView() { if (mQsImpl != null) { mQsImpl.onDestroy(); mQsImpl = null; } super.onDestroyView(); } @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); Loading packages/SystemUI/src/com/android/systemui/qs/QSImpl.java +1 −1 Original line number Diff line number Diff line Loading @@ -943,7 +943,7 @@ public class QSImpl implements QS, CommandQueue.Callbacks, StatusBarStateControl @Override public void dump(PrintWriter pw, String[] args) { IndentingPrintWriter indentingPw = new IndentingPrintWriter(pw, /* singleIndent= */ " "); indentingPw.println("QSFragment:"); indentingPw.println("QSImpl:"); indentingPw.increaseIndent(); indentingPw.println("mQsBounds: " + mQsBounds); indentingPw.println("mQsExpanded: " + mQsExpanded); Loading packages/SystemUI/src/com/android/systemui/qs/QSPanelControllerBase.java +3 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,9 @@ public abstract class QSPanelControllerBase<T extends QSPanel> extends ViewContr @Override public void destroy() { super.destroy(); // Don't call super as this may be called before the view is dettached and calling super // will remove the attach listener. We don't need to do that, because once this object is // detached from the graph, it will be gc. mHost.removeCallback(mQSHostCallback); for (TileRecord record : mRecords) { Loading Loading
packages/SystemUI/src/com/android/systemui/qs/QSFragmentLegacy.java +4 −11 Original line number Diff line number Diff line Loading @@ -74,6 +74,7 @@ public class QSFragmentLegacy extends LifecycleFragment implements QS { public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { QSFragmentComponent qsFragmentComponent = mQsComponentFactory.create(getView()); mQsImpl = mQsImplProvider.get(); mQsImpl.onCreate(null); mQsImpl.onComponentCreated(qsFragmentComponent, savedInstanceState); } Loading @@ -85,21 +86,13 @@ public class QSFragmentLegacy extends LifecycleFragment implements QS { } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (mQsImpl != null) { mQsImpl.onCreate(savedInstanceState); } } @Override public void onDestroy() { super.onDestroy(); public void onDestroyView() { if (mQsImpl != null) { mQsImpl.onDestroy(); mQsImpl = null; } super.onDestroyView(); } @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); Loading
packages/SystemUI/src/com/android/systemui/qs/QSImpl.java +1 −1 Original line number Diff line number Diff line Loading @@ -943,7 +943,7 @@ public class QSImpl implements QS, CommandQueue.Callbacks, StatusBarStateControl @Override public void dump(PrintWriter pw, String[] args) { IndentingPrintWriter indentingPw = new IndentingPrintWriter(pw, /* singleIndent= */ " "); indentingPw.println("QSFragment:"); indentingPw.println("QSImpl:"); indentingPw.increaseIndent(); indentingPw.println("mQsBounds: " + mQsBounds); indentingPw.println("mQsExpanded: " + mQsExpanded); Loading
packages/SystemUI/src/com/android/systemui/qs/QSPanelControllerBase.java +3 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,9 @@ public abstract class QSPanelControllerBase<T extends QSPanel> extends ViewContr @Override public void destroy() { super.destroy(); // Don't call super as this may be called before the view is dettached and calling super // will remove the attach listener. We don't need to do that, because once this object is // detached from the graph, it will be gc. mHost.removeCallback(mQSHostCallback); for (TileRecord record : mRecords) { Loading