am fab89bc1: am 41ec1e20: am 80478fa4: am e9b57c9e: Fix a small bug
* commit 'fab89bc1c872b5472f79c98323fd1d97c20abf28':
Fix a small bug
diff --git a/src/com/android/ex/chips/RecipientEditTextView.java b/src/com/android/ex/chips/RecipientEditTextView.java
index e48a3b1..c2d68d2 100644
--- a/src/com/android/ex/chips/RecipientEditTextView.java
+++ b/src/com/android/ex/chips/RecipientEditTextView.java
@@ -718,7 +718,7 @@
}
/**
- * Draws the icon onto the canvas given the source rectangle of the bitmap and the destination
+ * Draws the icon onto the canvas given the source rectangle of the bitmap and the destination
* rectangle of the canvas.
*/
protected void drawIconOnCanvas(Bitmap icon, Canvas canvas, Paint paint, RectF src, RectF dst) {
@@ -820,7 +820,7 @@
mInvalidChipBackground = r.getDrawable(R.drawable.chip_background_invalid);
}
mAvatarPosition = a.getInt(R.styleable.RecipientEditTextView_avatarPosition, 0);
- mDisableDelete = a.getBoolean(R.styleable.RecipientEditTextView_avatarPosition, false);
+ mDisableDelete = a.getBoolean(R.styleable.RecipientEditTextView_disableDelete, false);
mLineSpacingExtra = r.getDimension(R.dimen.line_spacing_extra);
mMaxLines = r.getInteger(R.integer.chips_max_lines);