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

Commit d11f1dfe 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 am: 657a67e2

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



Change-Id: I627d92f887443300a8fda84c10cb8f56095c7888
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 3d25688c 657a67e2
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"});