mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: SamsungParts: This param can be NULL too
Change-Id: I5f69895b5f7c0c56d84ccea674ee8429c3600419 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
7f2d2c5b3c
commit
32f38f0651
1 changed files with 2 additions and 2 deletions
|
|
@ -216,7 +216,7 @@ open class CustomSeekBarPreference @JvmOverloads constructor(
|
|||
|
||||
// dont need too much shit about initial and default values
|
||||
// its all done in constructor already
|
||||
override fun onSetInitialValue(restoreValue: Boolean, defaultValue: Any) {
|
||||
override fun onSetInitialValue(restoreValue: Boolean, defaultValue: Any?) {
|
||||
if (restoreValue) mValue = getPersistedInt(mValue)
|
||||
}
|
||||
|
||||
|
|
@ -320,4 +320,4 @@ open class CustomSeekBarPreference @JvmOverloads constructor(
|
|||
mSeekBar = SeekBar(context, attrs)
|
||||
layoutResource = com.eurekateam.samsungextras.R.layout.preference_custom_seekbar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue