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

Commit 72321cf8 authored by Mehdi Alizadeh's avatar Mehdi Alizadeh Committed by android-build-merger
Browse files

Merge "Cleanup messages in onDestory in ChooserActivity" into qt-dev am: 545021d0

am: 29955b5c

Change-Id: I23ce37829dc16d1887797cebd8f7b6bcc19ea908
parents bff610e8 29955b5c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -919,6 +919,8 @@ public class ChooserActivity extends ResolverActivity {
        mChooserHandler.removeMessages(LIST_VIEW_UPDATE_MESSAGE);
        mChooserHandler.removeMessages(CHOOSER_TARGET_SERVICE_WATCHDOG_TIMEOUT);
        mChooserHandler.removeMessages(CHOOSER_TARGET_SERVICE_RESULT);
        mChooserHandler.removeMessages(SHORTCUT_MANAGER_SHARE_TARGET_RESULT);
        mChooserHandler.removeMessages(SHORTCUT_MANAGER_SHARE_TARGET_RESULT_COMPLETED);
        if (mAppPredictor != null) {
            mAppPredictor.unregisterPredictionUpdates(mAppPredictorCallback);
            mAppPredictor.destroy();