Remove the requirement of the --checkin flag.

Bug: 34351332
Test: Manual
Change-Id: Iae8c5782f54c84fc19307468da17a067428c1b2d
This commit is contained in:
Daniel Nishi
2017-01-17 13:28:29 -08:00
parent ebf7abb19e
commit ed371cb035

View File

@@ -95,9 +95,7 @@ public class DiskStatsService extends Binder {
pw.println("File-based Encryption: true"); pw.println("File-based Encryption: true");
} }
if (isCheckin(args)) {
reportCachedValues(pw); reportCachedValues(pw);
}
// TODO: Read /proc/yaffs and report interesting values; // TODO: Read /proc/yaffs and report interesting values;
// add configurable (through args) performance test parameters. // add configurable (through args) performance test parameters.
@@ -130,15 +128,6 @@ public class DiskStatsService extends Binder {
} }
} }
private boolean isCheckin(String[] args) {
for (String opt : args) {
if ("--checkin".equals(opt)) {
return true;
}
}
return false;
}
private void reportCachedValues(PrintWriter pw) { private void reportCachedValues(PrintWriter pw) {
try { try {
String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE); String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE);