Merge "Rename NotificationChannel#setBlockableSystem" into rvc-dev

This commit is contained in:
Hall Liu
2020-03-19 21:06:54 +00:00
committed by Android (Google) Code Review
4 changed files with 7 additions and 7 deletions

View File

@@ -467,7 +467,7 @@ public class NotificationChannelSlice implements CustomSliceable {
return true;
}
return channel.isBlockableSystem()
return channel.isBlockable()
|| channel.getImportance() == IMPORTANCE_NONE;
}

View File

@@ -134,7 +134,7 @@ public abstract class NotificationPreferenceController extends AbstractPreferenc
return channel.getImportance() == IMPORTANCE_NONE;
}
return channel.isBlockableSystem() || !mAppRow.systemApp
return channel.isBlockable() || !mAppRow.systemApp
|| channel.getImportance() == IMPORTANCE_NONE;
}
return false;