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

Commit 39d26761 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 am: d11f1dfe

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



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