diff options
| author | Arne Schwabe <arne@rfc2549.org> | 2015-12-07 13:32:11 +0100 | 
|---|---|---|
| committer | Arne Schwabe <arne@rfc2549.org> | 2015-12-07 13:51:40 +0100 | 
| commit | bfb891ab9eb7c1deed89b24511cd0c54b12ca8bf (patch) | |
| tree | 5d54e5e20f22cfc96066d57301689e15e3184904 | |
| parent | 8d371e219fd5f1920e0aab4f9dd41558cc189266 (diff) | |
Silence lint warningsv0.6.45
| -rw-r--r-- | main/build.gradle | 6 | ||||
| -rw-r--r-- | main/src/main/AndroidManifest.xml | 3 | ||||
| -rw-r--r-- | main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java | 5 | 
3 files changed, 7 insertions, 7 deletions
diff --git a/main/build.gradle b/main/build.gradle index e7489c7f..7dfaf1a9 100644 --- a/main/build.gradle +++ b/main/build.gradle @@ -7,9 +7,9 @@ repositories {  }  dependencies { -    compile 'com.android.support:support-annotations:23.0.1' -    compile 'com.android.support:cardview-v7:23.0.1' -    compile 'com.android.support:recyclerview-v7:23.0.1' +    compile 'com.android.support:support-annotations:23.1.1' +    compile 'com.android.support:cardview-v7:23.1.1' +    compile 'com.android.support:recyclerview-v7:23.1.1'  //    compile 'ch.acra:acra:4.5.0'  } diff --git a/main/src/main/AndroidManifest.xml b/main/src/main/AndroidManifest.xml index e9588de4..d640beb5 100644 --- a/main/src/main/AndroidManifest.xml +++ b/main/src/main/AndroidManifest.xml @@ -17,6 +17,8 @@      <!-- <uses-permission android:name="com.android.vending.BILLING" /> --> +    <uses-feature android:name="android.software.leanback" android:required="false" /> +      <application          android:name=".core.ICSOpenVPNApplication"          android:allowBackup="true" @@ -121,7 +123,6 @@                  <data android:mimeType="*/*" />                  <data android:scheme="file" />                  <data android:host="*" /> -                <data android:port="*" />                  <data android:pathPattern=".*..*..*..*..*.ovpn" />                  <data android:pathPattern=".*..*..*..*.ovpn" />                  <data android:pathPattern=".*..*..*.ovpn" /> diff --git a/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java b/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java index 82378b00..4863096d 100644 --- a/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java +++ b/main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java @@ -42,10 +42,9 @@ public class SeekBarTicks extends SeekBar {          TypedArray a = context.obtainStyledAttributes(attrs,                  new int[] { android.R.attr.secondaryProgress }, defStyle, 0); - -        int tickColor = a.getColor(0, android.R.color.black);          mTickPaint = new Paint(); -        mTickPaint.setColor( context.getResources().getColor(tickColor)); +        //noinspection deprecation +        mTickPaint.setColor( context.getResources().getColor(android.R.color.black));          a.recycle();      }  | 
