diff options
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/AndroidManifest.xml | 3 | ||||
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java | 5 |
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(); } |