Merge "Remove method to change allowed NAS adjustments."
This commit is contained in:
committed by
Android (Google) Code Review
commit
65785048a6
@@ -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) {
|
public List<String> getAssistantAdjustments(String pkg) {
|
||||||
try {
|
try {
|
||||||
return sINM.getAllowedAssistantAdjustments(pkg);
|
return sINM.getAllowedAssistantAdjustments(pkg);
|
||||||
|
Reference in New Issue
Block a user