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

Commit c203146b authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Remove the requirement of the --checkin flag. am: ed371cb0 am: eb1bb3b3"

parents fc92c5bb f9c39f10
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -95,9 +95,7 @@ public class DiskStatsService extends Binder {
            pw.println("File-based Encryption: true");
        }

        if (isCheckin(args)) {
        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);