Merge "Scribe: fix handwriting is not initiated in WebView" into tm-dev am: ef233d0fad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17464394 Change-Id: I0a792ead89ad8ef9065ca0dbbfd5aff27d200ceb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -12033,7 +12033,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
|||||||
@Nullable
|
@Nullable
|
||||||
public Rect getHandwritingArea() {
|
public Rect getHandwritingArea() {
|
||||||
final ListenerInfo info = mListenerInfo;
|
final ListenerInfo info = mListenerInfo;
|
||||||
if (info != null) {
|
if (info != null && info.mHandwritingArea != null) {
|
||||||
return new Rect(info.mHandwritingArea);
|
return new Rect(info.mHandwritingArea);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user