Loading
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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fe766df5e0908d6678ec01dec4ec7d1ab95bc840) Change-Id: I4fe6ef7716398047a757a5c761f316f6145d00b6