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

Commit b1c4c93a authored by Andy Hung's avatar Andy Hung
Browse files

Watchdog: add media.metrics

The media.metrics dump will show with an ANR, so to observe this,
one can force an ANR by stopping a key service
e.g. adb shell 'kill -STOP $(pgrep audioserver)'
and waiting a couple of minutes.

Test: adb bugreport
Bug: 71483452
Change-Id: Ie6fb2377eaecbb9e3c09f0e1b0a55c284fd4bc5f
parent c6dd5f90
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ public class Watchdog extends Thread {
        "/system/bin/sdcard",
        "/system/bin/surfaceflinger",
        "media.extractor", // system/bin/mediaextractor
        "media.metrics", // system/bin/mediametrics
        "media.codec", // vendor/bin/hw/android.hardware.media.omx@1.0-service
        "com.android.bluetooth",  // Bluetooth service
    };