int anInt = Settings.System.getInt(AppContext.getContentResolver(),Settings.System.HAPTIC_FEEDBACK_ENABLED, 0);
mDefaultMode.setTactile(anInt==1);
==1 是开启 ==0 是关闭
触屏反馈开关
阅读 95
2023-03-28
int anInt = Settings.System.getInt(AppContext.getContentResolver(),Settings.System.HAPTIC_FEEDBACK_ENABLED, 0);
mDefaultMode.setTactile(anInt==1);
==1 是开启 ==0 是关闭
相关推荐
精彩评论(0)