Merge "Fix incorrect message being sent for all intents." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1693f17667
@@ -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