summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/DiskStatsService.java13
1 files changed, 1 insertions, 12 deletions
diff --git a/services/core/java/com/android/server/DiskStatsService.java b/services/core/java/com/android/server/DiskStatsService.java
index dd95f6718bea..962ac6fc540f 100644
--- a/services/core/java/com/android/server/DiskStatsService.java
+++ b/services/core/java/com/android/server/DiskStatsService.java
@@ -95,9 +95,7 @@ public class DiskStatsService extends Binder {
pw.println("File-based Encryption: true");
}
- if (isCheckin(args)) {
- reportCachedValues(pw);
- }
+ reportCachedValues(pw);
// TODO: Read /proc/yaffs and report interesting values;
// 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) {
try {
String jsonString = IoUtils.readFileAsString(DISKSTATS_DUMP_FILE);