diff options
author | chaviw <chaviw@google.com> | 2017-11-20 18:33:05 -0800 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2017-11-28 15:16:10 -0800 |
commit | 689e091c7faa30f005b9adc0b7b3d2066c62be84 (patch) | |
tree | 423b01b4806be67f073d15c12b59fdf734e92395 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 418346a8cc44c587fdf7b22233e1634c2a838294 (diff) |
Updated screenshot code to reflect native changes.
The changes in native code removed using a GraphicBufferProducer and
instead use only a GraphicBuffer to generate screenshots. Updated JNI
code so it calls the screensot function that returns a GraphicBuffer
and handle returning either a Surface, GraphicBuffer, or Bitmap.
Also updated screencap shell code so it uses the new GraphicBuffer
screenshot code.
Test: Recents, screenshot from SystemUi, screenshot from shell.
Change-Id: I6cb4f619e59461790a2a8f0cd2ea1192d9ae66b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions