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

Commit 61df78ee authored by Marie Janssen's avatar Marie Janssen Committed by Gerrit Code Review
Browse files

Merge "Don't print dumpsys info twice in bugreport"

parents 9ab658fd ff428bda
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2556,6 +2556,12 @@ public class AdapterService extends Service {
    protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
        enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);

        if (args.length == 0) {
            writer.println("Skipping dump in APP SERVICES, see bluetooth_manager section.");
            writer.println("Use --print argument for dumpsys direct from AdapterService.");
            return;
        }

        if (args.length > 0) {
            verboseLog("dumpsys arguments, check for protobuf output: "
                       + TextUtils.join(" ", args));