Notification listeners have full DND access.
Bug: 27976092 Change-Id: I9603d900d7cee5666ec3567b4f42fee6d93ae5f8
This commit is contained in:
@@ -4,6 +4,31 @@ import android.content.ComponentName;
|
||||
import android.net.Uri;
|
||||
|
||||
public class ZenRuleInfo {
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
ZenRuleInfo that = (ZenRuleInfo) o;
|
||||
|
||||
if (isSystem != that.isSystem) return false;
|
||||
if (ruleInstanceLimit != that.ruleInstanceLimit) return false;
|
||||
if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null)
|
||||
return false;
|
||||
if (title != null ? !title.equals(that.title) : that.title != null) return false;
|
||||
if (settingsAction != null ? !settingsAction.equals(
|
||||
that.settingsAction) : that.settingsAction != null) return false;
|
||||
if (configurationActivity != null ? !configurationActivity.equals(
|
||||
that.configurationActivity) : that.configurationActivity != null) return false;
|
||||
if (defaultConditionId != null ? !defaultConditionId.equals(
|
||||
that.defaultConditionId) : that.defaultConditionId != null) return false;
|
||||
if (serviceComponent != null ? !serviceComponent.equals(
|
||||
that.serviceComponent) : that.serviceComponent != null) return false;
|
||||
return packageLabel != null ? packageLabel.equals(
|
||||
that.packageLabel) : that.packageLabel == null;
|
||||
|
||||
}
|
||||
|
||||
public String packageName;
|
||||
public String title;
|
||||
public String settingsAction;
|
||||
|
||||
Reference in New Issue
Block a user