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

Commit 7105f6e8 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "Print warning log for uses of -f/-F on non-ADB UID." into pi-dev

parents 24c47597 37a3e86a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1279,7 +1279,9 @@ public final class ContentService extends IContentService.Stub {
                case Process.SYSTEM_UID:
                    break; // Okay
                default:
                    throw new SecurityException("Invalid extras specified.");
                    final String msg = "Invalid extras specified.";
                    Log.w(TAG, msg + " requestsync -f/-F needs to run on 'adb shell'");
                    throw new SecurityException(msg);
            }
        }
    }