From dc110ce72cb7b55825924aee55069dffcf80620d Mon Sep 17 00:00:00 2001 From: Bruno Bierbaumer Date: Mon, 23 Nov 2015 23:18:56 +0100 Subject: [PATCH] more linter warning, disable linter for now --- app/build.gradle | 4 + app/src/main/AndroidManifest.xml | 4 +- .../otp_authenticator/EntriesAdapter.java | 2 +- .../otp_authenticator/MainActivity.java | 1 - .../otp_authenticator/MyApplication.java | 14 + .../otp_authenticator/PRNGFixes.java | 336 ++++++++++++++++++ .../otp_authenticator/SecretKeyWrapper.java | 2 + .../otp_authenticator/TOTPHelper.java | 2 - app/src/main/res/layout/row.xml | 2 - app/src/main/res/menu/menu_main.xml | 4 +- app/src/main/res/raw/opensource.html | 1 + app/src/main/res/values/strings.xml | 4 +- 12 files changed, 365 insertions(+), 11 deletions(-) create mode 100644 app/src/main/java/net/bierbaumer/otp_authenticator/MyApplication.java create mode 100644 app/src/main/java/net/bierbaumer/otp_authenticator/PRNGFixes.java diff --git a/app/build.gradle b/app/build.gradle index 556b0f1f..d67201eb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,6 +22,10 @@ android { testCoverageEnabled = true } } + lintOptions { + abortOnError false + } + } } dependencies { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 275795b1..98e93d32 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -7,7 +7,9 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" - android:theme="@style/AppTheme"> + android:theme="@style/AppTheme" + android:name=".MyApplication" + >