0
点赞
收藏
分享

微信扫一扫

触屏反馈开关

斗米 2023-03-28 阅读 94


int anInt =  Settings.System.getInt(AppContext.getContentResolver(),Settings.System.HAPTIC_FEEDBACK_ENABLED, 0);
            mDefaultMode.setTactile(anInt==1);

==1 是开启 ==0 是关闭


举报

相关推荐

0 条评论