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

Commit 39be95e1 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

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



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