Remove method to change allowed NAS adjustments.
Bug: 268604587 Test: NotificationBackendTest Change-Id: I5184c73c7ac9a49c5195021319065200f74c4ff4
This commit is contained in:
@@ -413,18 +413,6 @@ public class NotificationBackend {
|
||||
}
|
||||
}
|
||||
|
||||
public void allowAssistantAdjustment(String capability, boolean allowed) {
|
||||
try {
|
||||
if (allowed) {
|
||||
sINM.allowAssistantAdjustment(capability);
|
||||
} else {
|
||||
sINM.disallowAssistantAdjustment(capability);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log.w(TAG, "Error calling NoMan", e);
|
||||
}
|
||||
}
|
||||
|
||||
public List<String> getAssistantAdjustments(String pkg) {
|
||||
try {
|
||||
return sINM.getAllowedAssistantAdjustments(pkg);
|
||||
|
Reference in New Issue
Block a user