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

Commit 57503957 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix indentation for dumpsys"

parents 5421c7e8 1249eafe
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -3309,18 +3309,24 @@ public class LocationManagerService extends ILocationManager.Stub {
                ipw.decreaseIndent();
            }

            mSettingsStore.dump(fd, pw, args);
            ipw.println("Location Settings:");
            ipw.increaseIndent();
            mSettingsStore.dump(fd, ipw, args);
            ipw.decreaseIndent();

            ipw.println("Location Providers:");
            ipw.increaseIndent();
            for (LocationProvider provider : mProviders) {
                provider.dumpLocked(fd, ipw, args);
            }
            ipw.decreaseIndent();
        }

        if (mGnssManagerService != null) {
            ipw.println("GNSS:");
            ipw.increaseIndent();
            mGnssManagerService.dump(fd, ipw, args);
            ipw.decreaseIndent();
            mGnssManagerService.dump(fd, pw, args);
        }
    }
}
+0 −3
Original line number Diff line number Diff line
@@ -237,9 +237,6 @@ public class LocationSettingsStore {
        IndentingPrintWriter ipw = new IndentingPrintWriter(pw, "  ");
        int userId = ActivityManager.getCurrentUser();

        ipw.println("--Location Settings--");
        ipw.increaseIndent();

        ipw.print("Location Enabled: ");
        ipw.println(isLocationEnabled(userId));