diff options
author | chaviw <chaviw@google.com> | 2020-04-21 12:55:37 -0700 |
---|---|---|
committer | Chavi Weingarten <chaviw@google.com> | 2020-04-27 16:45:27 +0000 |
commit | 5ef1e9367110001abf55d54caabaea4eb7f7be43 (patch) | |
tree | 356fd6d662528f51063b65e27c3ff0bff86b9652 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9d07e62689bef121e9648178700224f04c8399e4 (diff) |
Added takeScreenshot API to WindowOrganizer
Added requests to take screenshot of a Window that's organized
by the client. The resulting screenshot will be attached to a
SurfaceControl and reparented to the requested window's parent. The
client will be responsible for showing, setting z order, etc. They can
also re-parent to another place in the hierarchy. The default is to
parent to the window's parent since that's usually where a screenshot is
placed.
Test: Builds
Bug: 152114574
Change-Id: I5c829e029f3528fdb382842e9f0474097e01cb2e
Merged-In: I5c829e029f3528fdb382842e9f0474097e01cb2e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions