OSDN Git Service

Settings: Always set text value in color temperature
authorKeith Mok <kmok@cyngn.com>
Fri, 15 Jul 2016 16:30:39 +0000 (09:30 -0700)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Tue, 26 Jul 2016 05:10:21 +0000 (22:10 -0700)
commit60455643e7090924be7e0d9ddd1acd592aef7e3c
treea0081974d0269d1374cc9a86be2ecff60bad82e1
parent64d31819ea6e4abb683490913981d8f54443f6ab
Settings: Always set text value in color temperature

onProgressChange is not always called if we set the
color temperature to minimum, since it is the default
value (no change).
Causing the text showing the color temperature is empty.

Call onProgressChange explicitly during init.

FEIJ-1581

Change-Id: I7e0f8995cfc62a53770e787dc649109b9c3bf189
src/com/android/settings/livedisplay/DisplayTemperature.java