Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44459c0a authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Clear references after Data Usage View removed." into jb-dev

parents cda0663e 02b327e7
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -549,9 +549,7 @@ public class DataUsageSummary extends Fragment {
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();

    public void onDestroy() {
        mDataEnabledView = null;
        mDisableAtLimitView = null;

@@ -559,14 +557,12 @@ public class DataUsageSummary extends Fragment {
        mUidDetailProvider = null;

        TrafficStats.closeQuietly(mStatsSession);
    }

    @Override
    public void onDestroy() {
        if (this.isRemoving()) {
            getFragmentManager()
                    .popBackStack(TAG_APP_DETAILS, FragmentManager.POP_BACK_STACK_INCLUSIVE);
        }

        super.onDestroy();
    }