Commit 96985fc
committed
Return true on successful accessiblity action click/long click.
1. If a view is clickable or long clickable perfroming the corresponding
accessiblity action should return true no matter whether there is a
registered on click/long click listener. Currently true is returned
only if there is a listener but it is also possible that a sub-class
overrides performClick and does work there. For example CompoundButton.
Now if the view is clickable or long clickable we will call the
perfrom* method and return true, which is we clicked.
2. Fixed some JavaDoc indentation.
bug:7318777
Change-Id: Id603fee378b8f7d07f1128b5641ede57640bab531 parent 3b9e7f3 commit 96985fc
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6858 | 6858 | | |
6859 | 6859 | | |
6860 | 6860 | | |
6861 | | - | |
6862 | | - | |
6863 | | - | |
6864 | | - | |
6865 | | - | |
6866 | | - | |
| 6861 | + | |
| 6862 | + | |
| 6863 | + | |
| 6864 | + | |
| 6865 | + | |
| 6866 | + | |
6867 | 6867 | | |
6868 | 6868 | | |
6869 | 6869 | | |
| |||
6886 | 6886 | | |
6887 | 6887 | | |
6888 | 6888 | | |
6889 | | - | |
| 6889 | + | |
| 6890 | + | |
6890 | 6891 | | |
6891 | 6892 | | |
6892 | 6893 | | |
6893 | 6894 | | |
6894 | | - | |
| 6895 | + | |
| 6896 | + | |
6895 | 6897 | | |
6896 | 6898 | | |
6897 | 6899 | | |
| |||
0 commit comments