Merge "Dreams/Sleep Mode is now Daydreams." into jb-mr1-dev

This commit is contained in:
Daniel Sandler
2012-10-23 10:31:22 -07:00
committed by Android (Google) Code Review
6 changed files with 3 additions and 3 deletions

View File

@@ -214,7 +214,7 @@
<activity android:name=".Somnambulator" <activity android:name=".Somnambulator"
android:label="@string/start_dreams" android:label="@string/start_dreams"
android:icon="@mipmap/ic_launcher_dreams" android:icon="@mipmap/ic_daydreams"
android:theme="@android:style/Theme.Wallpaper.NoTitleBar" android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
android:exported="true" android:exported="true"
android:excludeFromRecents="true" android:excludeFromRecents="true"

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -456,7 +456,7 @@
<string name="jelly_bean_dream_name">BeanFlinger</string> <string name="jelly_bean_dream_name">BeanFlinger</string>
<!-- Name of the launcher shortcut icon that allows dreams to be started immediately [CHAR LIMIT=20] --> <!-- Name of the launcher shortcut icon that allows dreams to be started immediately [CHAR LIMIT=20] -->
<string name="start_dreams">Sleep Now</string> <string name="start_dreams">Daydream</string>
<!-- Textual description of Ethernet connections --> <!-- Textual description of Ethernet connections -->
<string name="ethernet_label">Ethernet</string> <string name="ethernet_label">Ethernet</string>

View File

@@ -43,7 +43,7 @@ public class Somnambulator extends Activity {
| Intent.FLAG_ACTIVITY_NEW_TASK); | Intent.FLAG_ACTIVITY_NEW_TASK);
Intent resultIntent = new Intent(); Intent resultIntent = new Intent();
resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE,
Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher_dreams)); Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_daydreams));
resultIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); resultIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
resultIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.start_dreams)); resultIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.start_dreams));
setResult(RESULT_OK, resultIntent); setResult(RESULT_OK, resultIntent);