Update CameraBridgeViewBase error message
authorAlexander Conner <astralbody888@gmail.com>
Tue, 22 Mar 2022 19:40:23 +0000 (15:40 -0400)
committerGitHub <noreply@github.com>
Tue, 22 Mar 2022 19:40:23 +0000 (15:40 -0400)
Update CameraBridgeViewBase error message - Change "you device does" to "your device does"

modules/java/generator/android/java/org/opencv/android/CameraBridgeViewBase.java

index 07c059b..1993cf1 100644 (file)
@@ -376,7 +376,7 @@ public abstract class CameraBridgeViewBase extends SurfaceView implements Surfac
         if (!connectCamera(getWidth(), getHeight())) {
             AlertDialog ad = new AlertDialog.Builder(getContext()).create();
             ad.setCancelable(false); // This blocks the 'BACK' button
-            ad.setMessage("It seems that you device does not support camera (or it is locked). Application will be closed.");
+            ad.setMessage("It seems that your device does not support camera (or it is locked). Application will be closed.");
             ad.setButton(DialogInterface.BUTTON_NEUTRAL,  "OK", new DialogInterface.OnClickListener() {
                 public void onClick(DialogInterface dialog, int which) {
                     dialog.dismiss();