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

Commit 07f63605 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #2549511 Crash while moving the installed app to Phone

android.view.WindowManager$BadTokenException: Unable to add window

Change-Id: Ie844fd9cde05134431695f4f5bd27827e9e23ce5
parent 9c0cc3b8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -119,6 +119,10 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene
    
    private Handler mHandler = new Handler() {
        public void handleMessage(Message msg) {
            // If the activity is gone, don't process any more messages.
            if (isFinishing()) {
                return;
            }
            switch (msg.what) {
                case CLEAR_USER_DATA:
                    processClearMsg(msg);