Merge "Always reevaluate rules when a new service is added." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a8574a1dfa
@@ -99,9 +99,7 @@ public class ZenModeConditions implements ConditionProviders.Callback {
|
||||
@Override
|
||||
public void onServiceAdded(ComponentName component) {
|
||||
if (DEBUG) Log.d(TAG, "onServiceAdded " + component);
|
||||
if (isAutomaticActive(component)) {
|
||||
mHelper.setConfigAsync(mHelper.getConfig(), "zmc.onServiceAdded");
|
||||
}
|
||||
mHelper.setConfigAsync(mHelper.getConfig(), "zmc.onServiceAdded");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user