diff options
author | Parménides GV <parmegv@sdf.org> | 2016-02-06 13:00:53 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2016-02-06 13:35:04 +0100 |
commit | 5b95785060adace6b48a69d560051261233d954d (patch) | |
tree | 16a9604c7b395cea169497c4eb12e47511d2d629 /app/src/main/java/de/blinkt/openvpn/views | |
parent | 096faf08f2d0cc4dc4a28677415391942410063d (diff) |
Update ics-openvpn
Diffstat (limited to 'app/src/main/java/de/blinkt/openvpn/views')
-rw-r--r-- | app/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java b/app/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java index 82378b00..347ce708 100644 --- a/app/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java +++ b/app/src/main/java/de/blinkt/openvpn/views/SeekBarTicks.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014 Arne Schwabe + * Copyright (c) 2012-2016 Arne Schwabe * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt */ @@ -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(); } |