diff options
author | Daniel Sandler <dsandler@android.com> | 2012-10-07 15:02:34 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2012-10-07 15:03:42 -0400 |
commit | af3f32d9a460b663d8f757f771cb220cc78b190a (patch) | |
tree | 0b9268bc4f5056ac7de63841914e09dd54a70709 /packages | |
parent | 1ad0fd9c04ae2e352c59129b979145e662f25cbc (diff) | |
download | frameworks_base-af3f32d9a460b663d8f757f771cb220cc78b190a.zip frameworks_base-af3f32d9a460b663d8f757f771cb220cc78b190a.tar.gz frameworks_base-af3f32d9a460b663d8f757f771cb220cc78b190a.tar.bz2 |
New icon for "Sleep now."
Should only be shown in the docking intent chooser, but if
you use AnyCut to link to the Somnambulator you'll see it
there as well.
Bug: 7267723
Change-Id: I4be7572e4785f35b4ac1ad91d03a617d5d2fe3c1
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/AndroidManifest.xml | 2 | ||||
-rw-r--r-- | packages/SystemUI/res/mipmap-hdpi/ic_launcher_dreams.png | bin | 0 -> 6369 bytes | |||
-rw-r--r-- | packages/SystemUI/res/mipmap-mdpi/ic_launcher_dreams.png | bin | 0 -> 3575 bytes | |||
-rw-r--r-- | packages/SystemUI/res/mipmap-xhdpi/ic_launcher_dreams.png | bin | 0 -> 9373 bytes | |||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/Somnambulator.java | 2 |
5 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index cdf30b3..64b660f 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -205,7 +205,7 @@ <activity android:name=".Somnambulator" android:label="@string/start_dreams" - android:icon="@mipmap/ic_dreams" + android:icon="@mipmap/ic_launcher_dreams" android:theme="@android:style/Theme.Wallpaper.NoTitleBar" android:exported="true" android:excludeFromRecents="true" diff --git a/packages/SystemUI/res/mipmap-hdpi/ic_launcher_dreams.png b/packages/SystemUI/res/mipmap-hdpi/ic_launcher_dreams.png Binary files differnew file mode 100644 index 0000000..a335d6d --- /dev/null +++ b/packages/SystemUI/res/mipmap-hdpi/ic_launcher_dreams.png diff --git a/packages/SystemUI/res/mipmap-mdpi/ic_launcher_dreams.png b/packages/SystemUI/res/mipmap-mdpi/ic_launcher_dreams.png Binary files differnew file mode 100644 index 0000000..ef2e27b --- /dev/null +++ b/packages/SystemUI/res/mipmap-mdpi/ic_launcher_dreams.png diff --git a/packages/SystemUI/res/mipmap-xhdpi/ic_launcher_dreams.png b/packages/SystemUI/res/mipmap-xhdpi/ic_launcher_dreams.png Binary files differnew file mode 100644 index 0000000..7b42cb4 --- /dev/null +++ b/packages/SystemUI/res/mipmap-xhdpi/ic_launcher_dreams.png diff --git a/packages/SystemUI/src/com/android/systemui/Somnambulator.java b/packages/SystemUI/src/com/android/systemui/Somnambulator.java index 011bf9c..9356ff2 100644 --- a/packages/SystemUI/src/com/android/systemui/Somnambulator.java +++ b/packages/SystemUI/src/com/android/systemui/Somnambulator.java @@ -58,7 +58,7 @@ public class Somnambulator extends Activity { | Intent.FLAG_ACTIVITY_NEW_TASK); Intent resultIntent = new Intent(); resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, - Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_dreams)); + Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher_dreams)); resultIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); resultIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.start_dreams)); setResult(RESULT_OK, resultIntent); |