Merge "Scribe: fix handwriting is not initiated in WebView" into tm-dev am: ef233d0fad am: 384c0c7552
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17464394 Change-Id: I050273b6424ba29fc50f72cb9f5ea0004b8611d7 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