+35
−0
+163
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This change promotes DeviceStateManager to a TestApi and exposes three additional methods: - getSupportedStates: returns a list of state ids that can be used with requestState(). - submitRequest: requests that the device enter the supplied state. - cancelRequest: clears the current requested device state. to be used initially in CTS tests. Bug: 177235528 Bug: 177236115 Test: atest DeviceStateManagerServiceTest Test: atest DeviceStateManagerGlobalTest Change-Id: Ieae9208420ddecea641a5c44f1610d3cb7071b07