Add support for device state based auto-rotation preferences in Settings.

Test: Unit tests - DeviceStateRotationLockSettingsManagerTest
Bug: 195757480
Change-Id: I77ed93f043f6c6ff92a12a6c95e1b5d385a8b809
2 files changed