Checks that state requested from top app is a state we allow

Changes so that top apps are only allowed to request states that
we have deemed requestable. These states are decided by proxy of
providing functionality through other means such as rear display
mode in Jetpack WindowManager.

Bug: 229114082
Test: atest DeviceStateManagerTests
Change-Id: I92e9e7ccd859e8bc9c3f0d8c3fbb2476a7d4bcc8
3 files changed