Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 648ddd5c authored by Philip Quinn's avatar Philip Quinn
Browse files

Add SeekBarPreference.getMax().

Bug: 63047816
Test: make -j
Change-Id: I416d044fa32f3aed32c1e6239baf9c57652bca2e
parent 494f82e9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -135,6 +135,10 @@ public class SeekBarPreference extends RestrictedPreference
        }
    }

    public int getMax() {
        return mMax;
    }

    public void setProgress(int progress) {
        setProgress(progress, true);
    }