Merge "Fix indentation for dumpsys"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5750395715
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user