Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33a8bd8c authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "New icon for "Sleep now."" into jb-mr1-dev

parents 843c5395 af3f32d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -205,7 +205,7 @@


        <activity android:name=".Somnambulator"
        <activity android:name=".Somnambulator"
            android:label="@string/start_dreams"
            android:label="@string/start_dreams"
            android:icon="@mipmap/ic_dreams"
            android:icon="@mipmap/ic_launcher_dreams"
            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"
+6.22 KiB
Loading image diff...
+3.49 KiB
Loading image diff...
+9.15 KiB
Loading image diff...
+1 −1
Original line number Original line Diff line number Diff line
@@ -58,7 +58,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_dreams));
                    Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher_dreams));
            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);