From 442fdfd4b262b8d2d3ada82f7fbe786a0bd00708 Mon Sep 17 00:00:00 2001 From: Adrian Renner Date: Thu, 7 Mar 2019 21:18:22 +0100 Subject: [PATCH] Merge pull request #13999 from addyi:fixAndroidLintingErrors * fix android lint error in BaseLoaderCallback (LongLogTag) Lint Error that was causde by the to long TAG: BaseLoaderCallback.java:31: Error: The logging tag can be at most 23 characters, was 31 (OpenCVLoader/BaseLoaderCallback) [LongLogTag] Log.e(TAG, "Package installation failed!"); * add requested "OCV" prefix for android logging --- .../android/java/org/opencv/android/BaseLoaderCallback.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/java/generator/android/java/org/opencv/android/BaseLoaderCallback.java b/modules/java/generator/android/java/org/opencv/android/BaseLoaderCallback.java index 0b8aeedc6a..8ece662514 100644 --- a/modules/java/generator/android/java/org/opencv/android/BaseLoaderCallback.java +++ b/modules/java/generator/android/java/org/opencv/android/BaseLoaderCallback.java @@ -137,5 +137,5 @@ public abstract class BaseLoaderCallback implements LoaderCallbackInterface { } protected Context mAppContext; - private final static String TAG = "OpenCVLoader/BaseLoaderCallback"; + private final static String TAG = "OCV/BaseLoaderCallback"; }