Add missing methods in CustomSeekBarPreference

Change-Id: I79c40283c0e10ef12297b46dfbd1ccf00fdd7eb3
diff --git a/src/com/bliss/support/preferences/CustomSeekBarPreference.java b/src/com/bliss/support/preferences/CustomSeekBarPreference.java
index b3bce7e..a2af6ef 100644
--- a/src/com/bliss/support/preferences/CustomSeekBarPreference.java
+++ b/src/com/bliss/support/preferences/CustomSeekBarPreference.java
@@ -313,6 +313,16 @@
         }
     }
 
+    public void setMax(int max) {
+        mMaxValue = max;
+        mSeekBar.setMax(mMaxValue - mMinValue);
+    }
+
+    public void setMin(int min) {
+        mMinValue = min;
+        mSeekBar.setMax(mMaxValue - mMinValue);
+    }
+
     public void setValue(int newValue) {
         mValue = getLimitedValue(newValue);
         if (mSeekBar != null) mSeekBar.setProgress(getSeekValue(mValue));