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

Commit 4f276976 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa Committed by Android (Google) Code Review
Browse files

Merge "Let ContactTileRow ignore accessibility event" into ics-mr1

parents 2a400725 662f45e8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -637,6 +637,14 @@ public class ContactTileAdapter extends BaseAdapter {
            }
            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.
        }
    }

    /**