summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/build.gradle6
-rw-r--r--main/src/main/AndroidManifest.xml3
-rw-r--r--main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java5
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();
}