Open songlin0859 opened 5 years ago
其实我不是故意的,我发现设备其实没有摄像头,点了就挂了 是不是加个判断? PackageManager packageManager = context.getPackageManager(); if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)) {
}
其实我不是故意的,我发现设备其实没有摄像头,点了就挂了 是不是加个判断? PackageManager packageManager = context.getPackageManager(); if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)) {
}