[FoldableDeviceStateProvider] Do not listen to hall sensor when not used
Disables listening to hall sensor when the new posture based closed state flag is enabled. When this flag is enabled we do not rely on hall sensor and use hinge angle sensor instead. Hall sensor is a wake-up sensor and it might waste power by waking up CPU when not needed. Test: manual check in sensor service dumpsys that we don't listen to hall sensor anymore Test: atest BookStyleDeviceStatePolicyTest Bug: 335386446 Change-Id: I89406859d5df23d17eea73113d4c46b273dd778b
Loading
Please register or sign in to comment