diff options
author | Adam He <adamhe@google.com> | 2021-09-14 16:29:03 -0700 |
---|---|---|
committer | Adam He <adamhe@google.com> | 2021-09-21 21:54:52 +0000 |
commit | 19f65ec0986f2c2e06567db21396d6c0d3489db8 (patch) | |
tree | 977e0596ff78bb480407a428b511a316fb3f22ec /core/api | |
parent | ffce25278d5712ef007f03619a34788f682d39ff (diff) |
Add Content Capture event TYPE_WINDOW_BOUNDS_CHANGED to notify window
bounds.
Bug: 189477723
CTS-Coverage-Bug: 189477723
Test: manual verification
Change-Id: I38cfdde21aed1827744f8db4eb61f62cc2413e78
Diffstat (limited to 'core/api')
-rw-r--r-- | core/api/system-current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt index dd9031a8af8e..1872280d5850 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -14457,6 +14457,7 @@ package android.view.contentcapture { public final class ContentCaptureEvent implements android.os.Parcelable { method public int describeContents(); + method @Nullable public android.graphics.Rect getBounds(); method @Nullable public android.view.contentcapture.ContentCaptureContext getContentCaptureContext(); method public long getEventTime(); method @Nullable public android.view.autofill.AutofillId getId(); @@ -14476,6 +14477,7 @@ package android.view.contentcapture { field public static final int TYPE_VIEW_TEXT_CHANGED = 3; // 0x3 field public static final int TYPE_VIEW_TREE_APPEARED = 5; // 0x5 field public static final int TYPE_VIEW_TREE_APPEARING = 4; // 0x4 + field public static final int TYPE_WINDOW_BOUNDS_CHANGED = 10; // 0xa } public final class ContentCaptureManager { |