diff options
| author | 2023-01-27 01:29:45 +0000 | |
|---|---|---|
| committer | 2023-01-28 04:41:35 +0000 | |
| commit | 7130f9eebcd3bc417bb868de0f5c76ae1030dd9e (patch) | |
| tree | 235d3e79dca0f2532d62200cb7eb29d96bef709e /libs/androidfw/ApkParsing.cpp | |
| parent | 6f20d51b7a83d9c185943019f7494d76051c0577 (diff) | |
Fallback to orientation read from the sysprop instead of ROTATION_0.
Replacing fallback to ROTATION_0 added in Idb38d60092de0fa7046e7b68baef9288805cb590 to the default value specified in the sysprop ro.bootanim.set_orientation_<display_id> and read in DisplayRotation#readDefaultDisplayRotation. This ensures consistency of default rotation values used by the system in different scenarios.
Fix: 265700023
Test: atest WindowOrientationListenerTest
Change-Id: Ia8792c7e654fb42736d442d09585890db0d5631f
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions