diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2010-02-24 09:11:10 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2010-02-24 09:11:10 -0800 |
| commit | 9a352305f86db9782e474dc09bcf3d09511abf56 (patch) | |
| tree | 857ec355f769ea468b20bf7de9e5ef0aec3dff87 /core/java/android/widget/TextView.java | |
| parent | 1e90ab542d675616e9370ab7e5add99d7af12587 (diff) | |
| parent | ebd01c2a987093254ba4d7f2782cf4b2a2b05d85 (diff) | |
merge from open-source master
Diffstat (limited to 'core/java/android/widget/TextView.java')
| -rw-r--r-- | core/java/android/widget/TextView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 1116d1388e66..6418dadcb74c 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -5731,6 +5731,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener /** * Convenience for {@link Selection#getSelectionStart}. */ + @ViewDebug.ExportedProperty public int getSelectionStart() { return Selection.getSelectionStart(getText()); } @@ -5738,6 +5739,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener /** * Convenience for {@link Selection#getSelectionEnd}. */ + @ViewDebug.ExportedProperty public int getSelectionEnd() { return Selection.getSelectionEnd(getText()); } |
