首页 > 编程知识 正文

安卓自定义物理按键,powergui怎么用

时间:2023-05-05 16:12:59 阅读:137761 作者:3221

Android9.0 power密钥提供了方便的功能配置更改方法,包括:

! - controlthebehaviorwhentheusershortpressesthepowerbutton。

0 -否

1 -地理速度(doze )。

2-reallygotosleep(don'tdoze ) )。

3-reallygotosleepandgohome (don ' t doze ) )。

4 - Go to home

5-dismissimeifshown.otherwisegotohome

change from1to0fornopanelproject @ chenhuo 2021 09 09

--

integer name=' config _ shortpressonpowerbehavior '0/integer

连续按两次:

! - controlthebehaviorwhentheuserdoublepressesthepowerbutton。

0 -否

1 -热模式设置

2 - Brightness boost

--

integer name=' config _ doublepressonpowerbehavior '0/integer

! - controlthebehaviorwhentheuserlongpressesthepowerbutton。

0 -否

1 -全局操作菜单

2电源关闭(with confirmation ) )。

3 -电源关闭(without confirmation ) )。

4 - Go to voice assist

--

integer name=' config _ longpressonpowerbehavior '1/integer

! - controlthebehaviorwhentheuserlongpressesthepowerbuttonforalongtime。

0 -否

1 -全局操作菜单

--

integer name=' config _ verylongpressonpowerbehavior '1/integer

! - controlthebehaviorwhentheuserlongpressesthebackbutton.non-zero values are only

valid for watches as part of CDD/CTS。

0 -否

1 - Go to voice assist

--

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。