Skip to content
Commit 42672c96 authored by Jasmine Cha's avatar Jasmine Cha
Browse files

RotationHelper: use FoldStateListener to get folded info



displayId isn't updated if device is folded/unfolded with screen off.
Use DeviceStateManager.FoldStateListener to track folded state is able
to get correct state even if screen is off.

Bug: 197196724
Test: manual test

Signed-off-by: default avatarJasmine Cha <chajasmine@google.com>
Change-Id: Ia9c8257e95d06f2daaba99d4deb9cf7590490bcd
parent 4abf39e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment