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