Check if toRotation != ROTATION_UNDEFINED before calling DisplayLayout.rotateTo
Also update the DisplayLayout in init() since OneHandedMode does it. Fixes: 388922772 Test: N/A Flag: com.android.systemui.spatial_model_app_pushback Change-Id: I6718f91d993ee39d1768d143cf3d21ba241f1bbf
Loading
Please register or sign in to comment