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

Commit b294b9d6 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Fix shell cmd"

parents cb842b96 17d268cc
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -46,6 +46,8 @@ import android.os.UserHandle;
import android.text.TextUtils;
import android.util.Slog;

import com.android.internal.util.FunctionalUtils;

import java.io.PrintWriter;
import java.net.URISyntaxException;
import java.util.Collections;
@@ -136,8 +138,9 @@ public class NotificationShellCmd extends ShellCommand {
                        case "off":
                            interruptionFilter = INTERRUPTION_FILTER_ALL;
                    }
                    mBinderService.setInterruptionFilter(
                            mDirectService.getContext().getPackageName(), interruptionFilter);
                    final int filter = interruptionFilter;
                    Binder.withCleanCallingIdentity(() -> mBinderService.setInterruptionFilter(
                            mDirectService.getContext().getPackageName(), filter));
                }
                break;
                case "allow_dnd": {