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

Commit 0d971a53 authored by Walter Jang's avatar Walter Jang Committed by Android (Google) Code Review
Browse files

Merge "Rename message xml drawable so it's found on ldpi (2/2)" into nyc-mr1-dev

parents fd1c413b 353570e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ public class ShortcutIntentBuilder {
        } else {
            phoneUri = Uri.fromParts(ContactsUtils.SCHEME_SMSTO, phoneNumber, null);
            bitmap = generatePhoneNumberIcon(drawable, phoneType, phoneLabel,
                    R.drawable.ic_message_24dp);
                    R.drawable.ic_message_24dp_mirrored);
        }

        Intent shortcutIntent = new Intent(shortcutAction, phoneUri);
+2 −2
Original line number Diff line number Diff line
@@ -256,7 +256,7 @@ public abstract class BaseAccountType extends AccountType {
    protected DataKind addDataKindPhone(Context context) throws DefinitionException {
        DataKind kind = addKind(new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup,
                Weight.PHONE, true));
        kind.iconAltRes = R.drawable.ic_message_24dp;
        kind.iconAltRes = R.drawable.ic_message_24dp_mirrored;
        kind.iconAltDescriptionRes = R.string.sms;
        kind.actionHeader = new PhoneActionInflater();
        kind.actionAltHeader = new PhoneActionAltInflater();
@@ -1045,7 +1045,7 @@ public abstract class BaseAccountType extends AccountType {
                    Phone.CONTENT_ITEM_TYPE, Phone.TYPE, R.string.phoneLabelsGroup, Weight.PHONE,
                    new PhoneActionInflater(), new SimpleInflater(Phone.NUMBER));

            kind.iconAltRes = R.drawable.ic_message_24dp;
            kind.iconAltRes = R.drawable.ic_message_24dp_mirrored;
            kind.iconAltDescriptionRes = R.string.sms;
            kind.actionAltHeader = new PhoneActionAltInflater();