Inline MODES_API flag
Bug: 310620812 Test: Preexisting Flag: EXEMPT Inlining flag Change-Id: I54ad81d87ea4ce85940400b0e8680a1bac0ca342
This commit is contained in:
@@ -143,8 +143,7 @@ public class ZenRulePreference extends PrimarySwitchPreference {
|
||||
|
||||
private String computeRuleSummary(AutomaticZenRule rule) {
|
||||
if (rule != null) {
|
||||
if (Flags.modesApi() && Flags.modesUi()
|
||||
&& !TextUtils.isEmpty(rule.getTriggerDescription())) {
|
||||
if (Flags.modesUi() && !TextUtils.isEmpty(rule.getTriggerDescription())) {
|
||||
return rule.getTriggerDescription();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user