am 4f276976: Merge "Let ContactTileRow ignore accessibility event" into ics-mr1
* commit '4f276976fe22f0fe0fa4560961c4ec7bf7f9d692':
Let ContactTileRow ignore accessibility event
diff --git a/src/com/android/contacts/list/ContactTileAdapter.java b/src/com/android/contacts/list/ContactTileAdapter.java
index 27ce433..490cd92 100644
--- a/src/com/android/contacts/list/ContactTileAdapter.java
+++ b/src/com/android/contacts/list/ContactTileAdapter.java
@@ -637,6 +637,14 @@
}
setMeasuredDimension(width, imageSize + getChildAt(0).getPaddingBottom());
}
+
+ @Override
+ public void sendAccessibilityEvent(int eventType) {
+ // This method is called when the child tile is INVISIBLE (meaning "empty"), and the
+ // Accessibility Manager needs to find alternative content description to speak.
+ // Here, we ignore the default behavior, since we don't want to let the manager speak
+ // a contact name for the tile next to the INVISIBLE tile.
+ }
}
/**