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

Commit 657a67e2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add the build and aconfig default values to bugreports." into main am:...

Merge "Add the build and aconfig default values to bugreports." into main am: 2ef69194 am: f320f1d9 am: 39be95e1

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2645985



Change-Id: Ib8114f9e33f8aeadb6c49dcf7f4e83b53d57fdfd
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9de01dd8 39be95e1
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -1754,6 +1754,20 @@ Dumpstate::RunStatus Dumpstate::dumpstate() {

    RunCommand("SYSTEM PROPERTIES", {"getprop"});

    DumpFile("SYSTEM BUILD-TIME RELEASE FLAGS", "/system/etc/build_flags.json");
    DumpFile("SYSTEM_EXT BUILD-TIME RELEASE FLAGS", "/system_ext/etc/build_flags.json");
    DumpFile("PRODUCT BUILD-TIME RELEASE FLAGS", "/product/etc/build_flags.json");
    DumpFile("VENDOR BUILD-TIME RELEASE FLAGS", "/vendor/etc/build_flags.json");

    DumpFile("SYSTEM BUILD-TIME ACONFIG FLAGS (check dumpstate build_config for runtime values)",
            "/system/etc/aconfig_flags.textproto");
    DumpFile("SYSTEM_EXT BUILD-TIME ACONFIG FLAGS (check dumpstate build_config for runtime"
            " values)", "/system_ext/etc/aconfig_flags.textproto");
    DumpFile("PRODUCT BUILD-TIME ACONFIG FLAGS (check dumpstate build_config for runtime values)",
            "/product/etc/aconfig_flags.textproto");
    DumpFile("VENDOR BUILD-TIME ACONFIG FLAGS (check dumpstate build_config for runtime values)",
            "/vendor/etc/aconfig_flags.textproto");

    RunCommand("STORAGED IO INFO", {"storaged", "-u", "-p"});

    RunCommand("FILESYSTEMS & FREE SPACE", {"df"});