am a5ba0daa
: Merge "New Email launcher icon, deprecating old asset Bug: 3362749" into honeycomb
* commit 'a5ba0daac392ecfab9db6ae5c96d1a2c1a267b32': New Email launcher icon, deprecating old asset Bug: 3362749
This commit is contained in:
commit
92c41d587a
@ -85,7 +85,7 @@
|
||||
<!-- Note: Actually, android:hardwareAccelerated could be "true", but in order to switch it
|
||||
on/off in the debug screen, we have to set it "false" here and enable it at runtime. -->
|
||||
<application
|
||||
android:icon="@mipmap/icon"
|
||||
android:icon="@mipmap/ic_launcher_email"
|
||||
android:label="@string/app_name"
|
||||
android:name="Email"
|
||||
android:theme="@android:style/Theme.Holo.Light"
|
||||
|
BIN
res/mipmap-hdpi/ic_launcher_email.png
Normal file
BIN
res/mipmap-hdpi/ic_launcher_email.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.9 KiB |
BIN
res/mipmap-mdpi/ic_launcher_email.png
Normal file
BIN
res/mipmap-mdpi/ic_launcher_email.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB |
@ -22,7 +22,7 @@
|
||||
|
||||
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:accountType="com.android.email"
|
||||
android:icon="@mipmap/icon"
|
||||
android:icon="@mipmap/ic_launcher_email"
|
||||
android:smallIcon="@drawable/stat_notify_email_generic"
|
||||
android:label="@string/app_name"
|
||||
android:accountPreferences="@xml/account_preferences"
|
||||
|
@ -182,7 +182,7 @@ public class AccountShortcutPicker extends ListActivity
|
||||
Intent intent = new Intent();
|
||||
intent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
|
||||
intent.putExtra(Intent.EXTRA_SHORTCUT_NAME, account.getDisplayName());
|
||||
Parcelable iconResource = Intent.ShortcutIconResource.fromContext(this, R.mipmap.icon);
|
||||
Parcelable iconResource = Intent.ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher_email);
|
||||
intent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
|
||||
|
||||
// Now, return the result to the launcher
|
||||
|
Loading…
Reference in New Issue
Block a user