diff options
author | Nikita Dubrovsky <dubrovsky@google.com> | 2020-01-12 20:57:51 -0800 |
---|---|---|
committer | Nikita Dubrovsky <dubrovsky@google.com> | 2020-01-13 21:54:20 -0800 |
commit | 99b55fa6a5d232153ba07fc580091ec8e1e8d42e (patch) | |
tree | f74ac72f36a77b2735ce35c8970bebef70a46898 /rs/java/android/renderscript/ProgramStore.java | |
parent | 1f78b11bbf941164148967af6d6e3ca3c8707bc6 (diff) |
Fix NPE in InsertionPointCursorController.onTouchEvent
Calls to SelectionModifierCursorController must be guarded by
hasSelectionController() because it's possible to have a TextView
with an Editor but no selection controller if the TextView is
configured to have non-selectable text.
Bug: 147366705
Bug: 145535274
Bug: 143852764
Test: Manual and unit test
atest FrameworksCoreTests:EditorCursorDragTest
Change-Id: I7fdec754e6fa51561b08fab024ea672c43f2c8f5
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions