Remove method to change allowed NAS adjustments.

Bug: 268604587
Test: NotificationBackendTest

Change-Id: I5184c73c7ac9a49c5195021319065200f74c4ff4
This commit is contained in:
Ioana Alexandru
2023-02-10 15:23:25 +00:00
parent 0e352f9d1e
commit 4c5231324e

View File

@@ -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);