[androiddebugbridge] check device awake state and minor fixes (#10106)
* check device awake state and minor fixes * avoid update awake channel when not linked Signed-off-by: Miguel <miguelwork92@gmail.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
<channel id="current-package" typeId="current-package-channel"/>
|
||||
<channel id="wake-lock" typeId="wake-lock-channel"/>
|
||||
<channel id="screen-state" typeId="screen-state-channel"/>
|
||||
<channel id="awake-state" typeId="awake-state-channel"/>
|
||||
</channels>
|
||||
<representation-property>serial</representation-property>
|
||||
<config-description>
|
||||
@@ -386,6 +387,13 @@
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="awake-state-channel" advanced="true">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Awake State</label>
|
||||
<description>Awake State</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="screen-state-channel" advanced="true">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Screen State</label>
|
||||
|
||||
Reference in New Issue
Block a user