OSDN Git Service

resolved conflicts for merge of f22cedb7 to master
authorDaniel Sandler <dsandler@google.com>
Sat, 23 Jan 2010 01:02:00 +0000 (20:02 -0500)
committerDaniel Sandler <dsandler@google.com>
Sat, 23 Jan 2010 01:02:00 +0000 (20:02 -0500)
1  2 
res/values/strings.xml
src/com/android/deskclock/DeskClock.java

           present on the device, we show nothing at all. -->
      <string name="weather_fetch_failure">Weather information currently unavailable.</string>
  
 +    <!-- String matching the lock screen format for displaying the date. -->
 +    <string name="full_wday_month_day_no_year" translatable="false">EEEE, MMMM d</string>
++
+     <string name="menu_item_dock_settings">Dock settings</string>
++
  </resources>
  
  
@@@ -99,11 -94,16 +99,14 @@@ public class DeskClock extends Activit
      // Alarm action for midnight (so we can update the date display).
      private static final String ACTION_MIDNIGHT = "com.android.deskclock.MIDNIGHT";
  
 -    // Interval between polls of the weather widget. Its refresh period is
 -    // likely to be much longer (~3h), but we want to pick up any changes
 -    // within 5 minutes.
 -    private final long QUERY_WEATHER_DELAY = 5 * 60 * 1000; // 5 min
 -
 +    // Interval between forced polls of the weather widget.
 +    private final long QUERY_WEATHER_DELAY = 60 * 60 * 1000; // 1 hr
 +
+     // Intent to broadcast for dock settings.
+     private static final String DOCK_SETTINGS_ACTION = "com.android.settings.DOCK_SETTINGS";
      // Delay before engaging the burn-in protection mode (green-on-black).
 -    private final long SCREEN_SAVER_TIMEOUT = 5* 60 * 1000; // 10 min
 +    private final long SCREEN_SAVER_TIMEOUT = 5 * 60 * 1000; // 5 min
  
      // Repositioning delay in screen saver.
      private final long SCREEN_SAVER_MOVE_DELAY = 60 * 1000; // 1 min