| commit | 8c23c4e8f010cb74d8e52cdc8cba1d01ca21772a | [log] [tgz] |
|---|---|---|
| author | Marin Shalamanov <shalamanov@google.com> | Wed Aug 19 15:26:31 2020 +0200 |
| committer | Marin Shalamanov <shalamanov@google.com> | Wed Aug 19 16:14:08 2020 +0200 |
| tree | 6d1c8af8d5c425d2b3ef95787d9aa8ea6941ea04 | |
| parent | 6ad317c0dfcf07723ee36ed33c3eb16585469f63 [diff] |
[SF] Remove checks for primary display in DisplayDevice::setProjection()
mPhysicalOrientation should be set only for primary displays by
SurfaceFlinger and the checks in DisplayDevice are redundant.
Bug: 161793589
Bug: 165184567
Test: 1. source build/envsetup.sh && lunch cf_x86_phone-userdebug && m
2. Test rotation
Test: scrcpy
Change-Id: I3dee8c034b6d0ccd0b8a96ac007e35f614853d54