Merge "Ensure we only remove messages for the same app info" into qt-dev

This commit is contained in:
Winson Chung
2019-05-08 03:52:59 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}