Fix Messaging for use_resource_processor: true
Reference resources using the package name of the library that
includes them.
Bug: 294256649
Test: m javac-check
Change-Id: I8fa72ec452ce6a7f8101022fbb35b3fc89073952
diff --git a/src/com/android/messaging/ui/contact/ContactRecipientAutoCompleteView.java b/src/com/android/messaging/ui/contact/ContactRecipientAutoCompleteView.java
index 35641b2..17128c1 100644
--- a/src/com/android/messaging/ui/contact/ContactRecipientAutoCompleteView.java
+++ b/src/com/android/messaging/ui/contact/ContactRecipientAutoCompleteView.java
@@ -19,7 +19,6 @@
import android.database.Cursor;
import android.graphics.Rect;
import android.os.AsyncTask;
-import androidx.appcompat.R;
import android.text.Editable;
import android.text.TextPaint;
import android.text.TextWatcher;
@@ -33,6 +32,7 @@
import com.android.ex.chips.RecipientEditTextView;
import com.android.ex.chips.RecipientEntry;
import com.android.ex.chips.recipientchip.DrawableRecipientChip;
+import com.android.messaging.R;
import com.android.messaging.datamodel.data.ParticipantData;
import com.android.messaging.util.ContactRecipientEntryUtils;
import com.android.messaging.util.ContactUtil;
@@ -114,7 +114,7 @@
setOnFocusListShrinkRecipients(false);
setBackground(context.getResources().getDrawable(
- R.drawable.abc_textfield_search_default_mtrl_alpha));
+ androidx.appcompat.R.drawable.abc_textfield_search_default_mtrl_alpha));
}
public void setContactChipsListener(final ContactChipsChangeListener listener) {