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: Ib4ea6ba5a07523c1038b5d537b7d459c27b83675 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
|
||||
public Rect getHandwritingArea() {
|
||||
final ListenerInfo info = mListenerInfo;
|
||||
if (info != null) {
|
||||
if (info != null && info.mHandwritingArea != null) {
|
||||
return new Rect(info.mHandwritingArea);
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user