commit | e421042cf85a91c377696393be8dc952ad424df5 | [log] [tgz] |
---|---|---|
author | Bill Lin <lbill@google.com> | Mon Oct 25 17:46:48 2021 +0800 |
committer | Bill Lin <lbill@google.com> | Mon Oct 25 17:46:48 2021 +0800 |
tree | 789c8e24e6538966ca6aaf1c8ae2d51133f08ec7 | |
parent | 7fc0216e351a6358ebee84a22752080baf5f31b7 [diff] |
Use local mSensors as index of mSensors list The mDevicePosture was the index use for TriggerSensor[] In this bug, the onTrigger(TriggerEvent event) has call to corresponding TriggerSensor and local mSensors should maping the index of mPosure. Test: atest DozeSensorsTest Bug: 203822366 Change-Id: I7baa1c8d971b2f0be78792810260859cd60f1fab