diff options
-rw-r--r-- | src/com/android/settings/InstalledAppDetails.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/settings/InstalledAppDetails.java b/src/com/android/settings/InstalledAppDetails.java index fb1fbf7..41ba49b 100644 --- a/src/com/android/settings/InstalledAppDetails.java +++ b/src/com/android/settings/InstalledAppDetails.java @@ -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); |