You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mi...@apache.org on 2018/03/01 08:19:04 UTC
[1/2] incubator-weex git commit: *[android] fix input method can not
evoke when property allow-copy-paste was set
Repository: incubator-weex
Updated Branches:
refs/heads/master b376260d5 -> a7bfb9a5f
*[android] fix input method can not evoke when property allow-copy-paste was set
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e59bb414
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e59bb414
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e59bb414
Branch: refs/heads/master
Commit: e59bb414b70963832760cbd3de448f4f5006855a
Parents: 95e16d8
Author: misakuo <mi...@apache.org>
Authored: Sat Feb 24 10:10:34 2018 +0800
Committer: misakuo <mi...@apache.org>
Committed: Sat Feb 24 10:10:34 2018 +0800
----------------------------------------------------------------------
android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e59bb414/android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java b/android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java
index 4f41340..8401115 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java
@@ -107,14 +107,12 @@ public class WXEditText extends EditText implements WXGestureObservable {
mAllowCopyPaste = allow;
if (allow) {
setLongClickable(true);
- setTextIsSelectable(true);
setCustomSelectionActionModeCallback(null);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
setCustomInsertionActionModeCallback(null);
}
} else {
setLongClickable(false);
- setTextIsSelectable(false);
ActionMode.Callback callback = new ActionMode.Callback() {
@Override
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
[2/2] incubator-weex git commit: Merge remote-tracking branch
'upstream/pr1036' into apache-master
Posted by mi...@apache.org.
Merge remote-tracking branch 'upstream/pr1036' into apache-master
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a7bfb9a5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a7bfb9a5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a7bfb9a5
Branch: refs/heads/master
Commit: a7bfb9a5f8acfda2ce04eab3915cbd6c2bb3dea3
Parents: b376260 e59bb41
Author: misakuo <mi...@apache.org>
Authored: Thu Mar 1 16:18:47 2018 +0800
Committer: misakuo <mi...@apache.org>
Committed: Thu Mar 1 16:18:47 2018 +0800
----------------------------------------------------------------------
android/sdk/src/main/java/com/taobao/weex/ui/view/WXEditText.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------