commit | c53fa6bad11deac47ac0f1b64b70268201d3ae81 | [log] [tgz] |
---|---|---|
author | Mariia Sandrikova <mariiasand@google.com> | Tue Apr 04 23:06:47 2023 +0000 |
committer | Mariia Sandrikova <mariiasand@google.com> | Fri Apr 07 02:45:30 2023 +0000 |
tree | 0f9a3ef268cd2e2a5ed6839ffff3696051f1331f | |
parent | d9f955a5cc02dacff6913310da126f1f1069ed55 [diff] |
Remember and revert camera compat orientation change when camera closes Also, revert rotation after the top activity stops being SCREEN_ORIENTATION_NOSENSOR and add a RotationReversionController to manage the reversion behaviour for camera compat, NOSENSOR and half-fold transitions. Bug: 264186382 Bug: 267751289 Test: tested locally Test: atest WmTests:DisplayRotationCompatPolicyTests Test: atest WmTests:DisplayContentTests Change-Id: I0033a5de7c4a7b886b241088577c32715ecccc57