summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2019-05-08 03:52:59 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-05-08 03:52:59 +0000
commita69375ec2e697cf93039bce4f067632b1d0e25a3 (patch)
tree80debd1853450f3682300be12c7b962c13794b96
parent9d4fda2a9630fe3c1981eeb9cdef0550cfae7c47 (diff)
parent6ee17428b68acce00669154329bdb6b2dd624f82 (diff)
Merge "Ensure we only remove messages for the same app info" into qt-dev
-rw-r--r--core/java/android/app/ActivityThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java
index 4b37461866d0..bfc8b1204373 100644
--- a/core/java/android/app/ActivityThread.java
+++ b/core/java/android/app/ActivityThread.java
@@ -1069,7 +1069,7 @@ public final class ActivityThread extends ClientTransactionHandler {
}
public void scheduleApplicationInfoChanged(ApplicationInfo ai) {
- mH.removeMessages(H.APPLICATION_INFO_CHANGED);
+ mH.removeMessages(H.APPLICATION_INFO_CHANGED, ai);
sendMessage(H.APPLICATION_INFO_CHANGED, ai);
}