OSDN Git Service

don't double set the dropdown value
authorChris Wren <cwren@android.com>
Tue, 9 Jun 2015 16:06:54 +0000 (12:06 -0400)
committerChris Wren <cwren@android.com>
Tue, 9 Jun 2015 16:09:44 +0000 (12:09 -0400)
commit182134595b9ba63607afceca9c77d62a6ac74066
tree2c4294f846d8d7351fcba49e33d68e7db3dd50f1
parentfa47bc02900d407e1a730039e94221c2efc160d0
don't double set the dropdown value

idion: set the default value, and then add a callback
actual: spinner posts the change to a handler: so it posts after the callback is set.

This makes it hard to count actual user interactions without counting the initialization.

Bug: 21530764
Change-Id: I3ff8319edb374d8d7c10982512054f303c69a5ec
src/com/android/settings/DropDownPreference.java