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

Commit 9cfd6a61 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix memory leak in TopLevelBatteryPreferenceController" am: 060bf953 am: f5876a1d

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1606501

Change-Id: I9966577fec0160fb4c13cde9cfcf7bf8d7b5697d
parents 21ef1830 f5876a1d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,8 +54,8 @@ public class ConditionContextualCardController implements ContextualCardControll
    private boolean mIsExpanded;

    public ConditionContextualCardController(Context context) {
        mContext = context;
        mConditionManager = new ConditionManager(context.getApplicationContext(), this);
        mContext = context.getApplicationContext();
        mConditionManager = new ConditionManager(mContext, this);
        mConditionManager.startMonitoringStateChange();
    }