OSDN Git Service

Myriad fixes & cleanups in DeskClock.
authorDaniel Sandler <dsandler@google.com>
Wed, 18 Nov 2009 19:21:01 +0000 (14:21 -0500)
committerDaniel Sandler <dsandler@google.com>
Wed, 18 Nov 2009 20:18:43 +0000 (15:18 -0500)
commitb95b7a63c403a17c3725e1ccfbd65b4283fd6a0f
tree2138630113c66cdf253bc4b21c4608b01b47d577
parentf1e8069bcd1755d9ef2322b705d8d9d6b83728f0
Myriad fixes & cleanups in DeskClock.

 - Force the weather widget to actually fetch new data at
   the moment the device is docked, or when the screensaver
   disappears (if the device is plugged in).
 - Use Intent.FLAG_ACTIVITY_CLEAR_TOP to launch weather,
   music, and gallery to avoid jumping into the middle of
   their task stacks (http://b/2267831)
 - Fix layout issues with weather, particularly when the
   Genie widget is unavailable. (relates to
   http://b/2254472)
 - Internationalize the error message shown when Genie
   malfunctions.
 - Clean up weather & time displays to match UX specs more
   closely (fonts, shadow crop issues).
 - Remove some tabs in XML.
 - Internal cleanup: use "query" in the name of functions &
   variables related to getting updated weather from Genie;
   use "fetch" to refer to downloading new weather data from
   the network
res/layout-land/desk_clock.xml
res/layout/desk_clock_time_date.xml
res/layout/desk_clock_weather.xml
res/values/strings.xml
src/com/android/deskclock/DeskClock.java