0
点赞
收藏
分享

微信扫一扫

屏蔽HOME按键 ?

仲秋花似锦 2023-01-18 阅读 80


/**

* 屏蔽home按键

*/

@Override

public void onAttachedToWindow()

{

this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);

super.onAttachedToWindow();

}

Who can fix it at Android 4.0?

举报

相关推荐

0 条评论