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

Commit 023c4e92 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Deference mAppPredictor on destroy

Bug: 159731946
Test: manual
Change-Id: If2bce9cdb8ff2cc96e78003a30b105c348b6e506
parent 38c2ca76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -885,6 +885,7 @@ public class ChooserListAdapter extends ResolverListAdapter {
        if (getAppPredictor() != null) {
            getAppPredictor().unregisterPredictionUpdates(mAppPredictorCallback);
            getAppPredictor().destroy();
            setAppPredictor(null);
        }
    }