Add Sensors HAL 2.0/2.1 to the Watchdog list

Bug: 153109151
Test: Add sleep in sensors HAL and verify that watchdog prints
    stack when UI thread hangs.
Change-Id: Ia2d7c0771aa4f9fda9a878c76ad942d42778a499
This commit is contained in:
Anthony Stange
2020-04-02 10:25:02 -04:00
parent f7ef70e669
commit d2f2cbab11

View File

@@ -123,6 +123,8 @@ public class Watchdog extends Thread {
"android.hardware.neuralnetworks@1.0::IDevice",
"android.hardware.power.stats@1.0::IPowerStats",
"android.hardware.sensors@1.0::ISensors",
"android.hardware.sensors@2.0::ISensors",
"android.hardware.sensors@2.1::ISensors",
"android.hardware.vr@1.0::IVr",
"android.system.suspend@1.0::ISystemSuspend"
);