Fix issue #2549511 Crash while moving the installed app to Phone
android.view.WindowManager$BadTokenException: Unable to add window Change-Id: Ie844fd9cde05134431695f4f5bd27827e9e23ce5
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user