Merge "Add to string implementation for the new accessibility actions."
This commit is contained in:
committed by
Android (Google) Code Review
commit
d838ca6bc2
@@ -1914,8 +1914,16 @@ public class AccessibilityNodeInfo implements Parcelable {
|
||||
return "ACTION_SCROLL_FORWARD";
|
||||
case ACTION_SCROLL_BACKWARD:
|
||||
return "ACTION_SCROLL_BACKWARD";
|
||||
case ACTION_CUT:
|
||||
return "ACTION_CUT";
|
||||
case ACTION_COPY:
|
||||
return "ACTION_COPY";
|
||||
case ACTION_PASTE:
|
||||
return "ACTION_PASTE";
|
||||
case ACTION_SET_SELECTION:
|
||||
return "ACTION_SET_SELECTION";
|
||||
default:
|
||||
throw new IllegalArgumentException("Unknown action: " + action);
|
||||
return"ACTION_UNKNOWN";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user