Merge "Fix incorrect message being sent for all intents." into tm-qpr-dev am: 1693f17667
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20726732 Change-Id: Iea148201501a1bb77fac39fc0f6151ea7b7a301c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2134,8 +2134,10 @@ public class AppStandbyController
|
|||||||
}
|
}
|
||||||
// component-level enable/disable can affect bucketing, so we always
|
// component-level enable/disable can affect bucketing, so we always
|
||||||
// reevaluate that for any PACKAGE_CHANGED
|
// reevaluate that for any PACKAGE_CHANGED
|
||||||
mHandler.obtainMessage(MSG_CHECK_PACKAGE_IDLE_STATE, userId, -1, pkgName)
|
if (Intent.ACTION_PACKAGE_CHANGED.equals(action)) {
|
||||||
.sendToTarget();
|
mHandler.obtainMessage(MSG_CHECK_PACKAGE_IDLE_STATE, userId, -1, pkgName)
|
||||||
|
.sendToTarget();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ((Intent.ACTION_PACKAGE_REMOVED.equals(action) ||
|
if ((Intent.ACTION_PACKAGE_REMOVED.equals(action) ||
|
||||||
Intent.ACTION_PACKAGE_ADDED.equals(action))) {
|
Intent.ACTION_PACKAGE_ADDED.equals(action))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user