Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c523132 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

Remove method to change allowed NAS adjustments.

Bug: 268604587
Test: NotificationBackendTest

Change-Id: I5184c73c7ac9a49c5195021319065200f74c4ff4
parent 0e352f9d
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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);