android.os.ServiceManager.getService("sensor_privacy").showSensorUseDialog(2); /* 在关闭对应传感器的前提,手动弹一次“解锁传感器开关”的确认对话框 1 - 麦克风使用权限 2 - 摄像头使用权限 */