Fixes IllegalStateException through getSupportedStates

Fixes an IllegalStateException by returning a DeviceStateInfo
even if there is no base state or committed state present.
Previous changes made this safer through gating callback
responses with base and committed state checks. This exception
would occur previously by requesting the DeviceStateInfo
before a state has been committed on the device.

Bug: 260876135
Test: DeviceStateManagerServiceTest#getDeviceStateInfo_baseStateAndCommittedStateNotSet
Change-Id: I3ef620d523d590b0b482f331af984998f60e3766
3 files changed