diff options
| author | Clara Bayarri <clarabayarri@google.com> | 2015-03-02 19:42:48 +0000 |
|---|---|---|
| committer | Clara Bayarri <clarabayarri@google.com> | 2015-03-13 10:51:51 +0000 |
| commit | 4423d91de5300d3fd318bf5bc2d4d7e5bb856abf (patch) | |
| tree | f62a9d12f773379d306278c6cb003f545df8138c /core/java/android/view/ViewRootImpl.java | |
| parent | 993d128477bf7c9a55a015bd9dc5e4fafddf9a14 (diff) | |
| download | frameworks_base-4423d91de5300d3fd318bf5bc2d4d7e5bb856abf.zip frameworks_base-4423d91de5300d3fd318bf5bc2d4d7e5bb856abf.tar.gz frameworks_base-4423d91de5300d3fd318bf5bc2d4d7e5bb856abf.tar.bz2 | |
Add a type parameter to startActionMode() calls.
This requires adding a new method to View and Window.Callback to pass
down the type as a parameter.
For compatibility purposes, the new method implementations keep the
type and call the old method, in case clients have subclassed it.
Change-Id: If5d857f131e33be8cc6a8814f2e9c4e85ad2da25
Diffstat (limited to 'core/java/android/view/ViewRootImpl.java')
| -rw-r--r-- | core/java/android/view/ViewRootImpl.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/ViewRootImpl.java b/core/java/android/view/ViewRootImpl.java index f970e88..1473806 100644 --- a/core/java/android/view/ViewRootImpl.java +++ b/core/java/android/view/ViewRootImpl.java @@ -6227,6 +6227,12 @@ public final class ViewRootImpl implements ViewParent, } @Override + public ActionMode startActionModeForChild( + View originalView, ActionMode.Callback callback, int type) { + return null; + } + + @Override public void createContextMenu(ContextMenu menu) { } |
