Loading packages/SettingsLib/src/com/android/settingslib/qrcode/QrCamera.java +7 −2 Original line number Diff line number Diff line Loading @@ -116,8 +116,13 @@ public class QrCamera extends Handler { mDecodeTask = null; } if (mCamera != null) { try { mCamera.stopPreview(); releaseCamera(); } catch (RuntimeException e) { Log.e(TAG, "Stop previewing camera failed:" + e); mCamera = null; } } } Loading Loading
packages/SettingsLib/src/com/android/settingslib/qrcode/QrCamera.java +7 −2 Original line number Diff line number Diff line Loading @@ -116,8 +116,13 @@ public class QrCamera extends Handler { mDecodeTask = null; } if (mCamera != null) { try { mCamera.stopPreview(); releaseCamera(); } catch (RuntimeException e) { Log.e(TAG, "Stop previewing camera failed:" + e); mCamera = null; } } } Loading