Do not show a rule type in the 'Add rule' dialog if the number of current instances of that rule equals the max number of instances allowed by that rule type. Bug: 25563007 Change-Id: I18f2598c6d92aec93c27755bb6b04c460ee294d0
17 lines
458 B
Java
17 lines
458 B
Java
package com.android.settings.notification;
|
|
|
|
import android.content.ComponentName;
|
|
import android.net.Uri;
|
|
|
|
public class ZenRuleInfo {
|
|
public String packageName;
|
|
public String title;
|
|
public String settingsAction;
|
|
public ComponentName configurationActivity;
|
|
public Uri defaultConditionId;
|
|
public ComponentName serviceComponent;
|
|
public boolean isSystem;
|
|
public CharSequence packageLabel;
|
|
public int ruleInstanceLimit = -1;
|
|
}
|