summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-12-07 13:32:11 +0100
committerArne Schwabe <arne@rfc2549.org>2015-12-07 13:51:40 +0100
commitbfb891ab9eb7c1deed89b24511cd0c54b12ca8bf (patch)
tree5d54e5e20f22cfc96066d57301689e15e3184904 /main/src
parent8d371e219fd5f1920e0aab4f9dd41558cc189266 (diff)
Silence lint warningsv0.6.45
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/AndroidManifest.xml3
-rw-r--r--main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java5
2 files changed, 4 insertions, 4 deletions
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();
}