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

Commit b6981859 authored by Chris Wren's avatar Chris Wren Committed by Android (Google) Code Review
Browse files

Merge "getCurrentInterruptionFilter should return the filter value, not the hints." into lmp-dev

parents baa05930 957ed702
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -478,7 +478,7 @@ public abstract class NotificationListenerService extends Service {
    public final int getCurrentInterruptionFilter() {
        if (!isBound()) return 0;
        try {
            return getNotificationInterface().getHintsFromListener(mWrapper);
            return getNotificationInterface().getInterruptionFilterFromListener(mWrapper);
        } catch (android.os.RemoteException ex) {
            Log.v(TAG, "Unable to contact notification manager", ex);
            return 0;