attenzione/android-ColorPickerPreference — pull request #17 by jayschwa (2012-10-31 07:09:36+00:00)
Title: Fix a bug that stops initial value from being set (and supporting commits)

The `Preference` superclass never called `onSetInitialValue()` because
`onGetDefaultValue()` was not defined in `ColorPickerPreference`.
`onGetDefaultValue()` is now defined to fix the issue.

Additionally, `ColorPickerPreference.mDefaultValue` has been removed since
it is redundant with `Preference.mDefaultValue`. Strings containing hex
values in the form of `#000000` will no longer be supported as a
defaultValue. However, traditional hex values in the form of `0x000000`
can still be used when defining a default Integer value in XML.

[`SeekBarPreference`](http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/preference/SeekBarPreference.java) (an integer-based preference written by the Android
developers) was consulted when making these changes.