Added OnSetRequestedOrientation callback
DisplayRotation disables Auto-Rotation for immersive applications. But during the rotation of the device, application may change the requested orientation by calling ActivityRecord.setRequestedOrientation This CL makes sure that onProposedRotationChanged gets reevaluated if previously user was shown with the rotation button, and then setRequestedOrientation being invoked by the application. Bug: 275810916 Test: atest DisplayRotationTests ActivityRecordTests Change-Id: I4fe6ef7716398047a757a5c761f316f6145d00b6 Merged-In: I4fe6ef7716398047a757a5c761f316f6145d00b6
Loading
Please register or sign in to comment