summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2023-02-16 15:37:27 -0800
committer Hongwei Wang <hwwang@google.com> 2023-02-17 10:23:52 -0800
commit528457543a11f7879df5106dd4ebc4ded89b4c0d (patch)
tree041f804a94a45b5a20b6f654d72b06feea1889bb /api/api_test.go
parent82dc9cb01cc48162ee4a82adcd37ad5bf2a481ab (diff)
Add DevicePostureController for WMShell
This can be used for WMShell component who is interested in the foldable state, such as OPEN / CLOSE / HALF_OPEN. When device is in HALF_OPEN state, one can use the rotation state to further differentiate tabletop (horizontal fold) or book (vertical fold) posture. See also: https://developer.android.com/guide/topics/large-screens/learn-about-foldables#foldable_postures Bug: 260871991 Test: atest WMShellUnitTests:DevicePostureControllerTest Change-Id: I8fd7c0e296db4abbddbd9131bf18bd541b7b9944
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions