Never disable DnD receiver to dislay condition correctly.
Bug: 30360853 Change-Id: I3e470c2955d7f066970442e281f9d66b153b8d10
This commit is contained in:
@@ -26,6 +26,7 @@ import android.os.PersistableBundle;
|
||||
import android.provider.Settings;
|
||||
import android.provider.Settings.Global;
|
||||
import android.service.notification.ZenModeConfig;
|
||||
|
||||
import com.android.internal.logging.MetricsProto.MetricsEvent;
|
||||
import com.android.settings.R;
|
||||
|
||||
@@ -143,4 +144,9 @@ public class DndCondition extends Condition {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean shouldAlwaysListenToBroadcast() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user