Update notification icon asset names (Email)

Bug: 17936539
Change-Id: Ia2b3d4a18a30f9cfbfcda2c68a3ef579c0c75086
This commit is contained in:
Rohan Shah 2014-10-10 11:13:19 -07:00
parent 5fde01e4a9
commit cc82965ac9
8 changed files with 8 additions and 9 deletions

View File

@ -25,7 +25,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="@string/account_manager_type_exchange" android:accountType="@string/account_manager_type_exchange"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/exchange_name_alternate" android:label="@string/exchange_name_alternate"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -23,7 +23,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="@string/account_manager_type_exchange" android:accountType="@string/account_manager_type_exchange"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/exchange_eas_name" android:label="@string/exchange_eas_name"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -23,7 +23,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="@string/account_manager_type_imap" android:accountType="@string/account_manager_type_imap"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/imap_name" android:label="@string/imap_name"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -23,7 +23,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="com.android.exchange" android:accountType="com.android.exchange"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/exchange_eas_name" android:label="@string/exchange_eas_name"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -23,7 +23,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="com.android.email" android:accountType="com.android.email"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/exchange_eas_name" android:label="@string/exchange_eas_name"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -23,7 +23,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="@string/account_manager_type_legacy_imap" android:accountType="@string/account_manager_type_legacy_imap"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/imap_name" android:label="@string/imap_name"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -23,7 +23,7 @@
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
android:accountType="@string/account_manager_type_pop3" android:accountType="@string/account_manager_type_pop3"
android:icon="@mipmap/ic_launcher_mail" android:icon="@mipmap/ic_launcher_mail"
android:smallIcon="@drawable/ic_notification_mail_24dp" android:smallIcon="@drawable/ic_notification_mail_wht_24dp"
android:label="@string/pop3_name" android:label="@string/pop3_name"
android:accountPreferences="@xml/account_preferences" android:accountPreferences="@xml/account_preferences"
/> />

View File

@ -26,7 +26,6 @@ import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.database.ContentObserver; import android.database.ContentObserver;
import android.database.Cursor; import android.database.Cursor;
import android.graphics.Bitmap;
import android.net.Uri; import android.net.Uri;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
@ -144,7 +143,7 @@ public class EmailNotificationController implements NotificationController {
.setContentText(contentText) .setContentText(contentText)
.setContentIntent(pending) .setContentIntent(pending)
.setNumber(number == null ? 0 : number) .setNumber(number == null ? 0 : number)
.setSmallIcon(R.drawable.ic_notification_mail_24dp) .setSmallIcon(R.drawable.ic_notification_mail_wht_24dp)
.setWhen(mClock.getTime()) .setWhen(mClock.getTime())
.setTicker(ticker) .setTicker(ticker)
.setOngoing(ongoing); .setOngoing(ongoing);