diff options
| author | 2023-04-03 16:06:25 +0000 | |
|---|---|---|
| committer | 2023-04-05 13:24:26 +0000 | |
| commit | fe766df5e0908d6678ec01dec4ec7d1ab95bc840 (patch) | |
| tree | 52fbfe0fdf69465c583e6116ac2a508e986a1993 /wifi/java/src | |
| parent | 8630554449fb84740af15edb8416745ab5d8c83f (diff) | |
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
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions