OSDN Git Service

Revert "NumberPicker should adjust min and max when displayed values are set." (a...
authorSvetoslav Ganov <svetoslavganov@google.com>
Mon, 19 Nov 2012 20:33:41 +0000 (12:33 -0800)
committerThe Android Automerger <android-build@android.com>
Tue, 20 Nov 2012 00:06:23 +0000 (16:06 -0800)
commitb361b3043bb351ab175ae1ff3dae4de9fe31d42b
treebcade12174f8b135fa259bad744b86a4b2e2ddf6
parentcc2e849fa992ebcf99c63837e96a6c8950d2cebf
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)

This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
core/java/android/widget/NumberPicker.java