Skip to content

Commit af3f32d

Browse files
committed
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
1 parent 1ad0fd9 commit af3f32d

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

packages/SystemUI/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205

206206
<activity android:name=".Somnambulator"
207207
android:label="@string/start_dreams"
208-
android:icon="@mipmap/ic_dreams"
208+
android:icon="@mipmap/ic_launcher_dreams"
209209
android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
210210
android:exported="true"
211211
android:excludeFromRecents="true"
6.22 KB
Loading
3.49 KB
Loading
9.15 KB
Loading

packages/SystemUI/src/com/android/systemui/Somnambulator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void onStart() {
5858
| Intent.FLAG_ACTIVITY_NEW_TASK);
5959
Intent resultIntent = new Intent();
6060
resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE,
61-
Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_dreams));
61+
Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher_dreams));
6262
resultIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
6363
resultIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.start_dreams));
6464
setResult(RESULT_OK, resultIntent);

0 commit comments

Comments
 (0)