summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-09-21 13:25:58 -0700
committerChong Zhang <chz@google.com>2015-09-21 13:46:53 -0700
commit23d62fd37dc22247ef1b55c5b9bc58d1c307081a (patch)
tree5e4e86446245a26bd72f601f1653542a11ce7cc0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent153a2930e3da91d47a51dca0802700d838de55a7 (diff)
Do not do setSurface on window size changes
Surface should only be invalidated when surface generation changed (which we're already doing). Window size change doesn't always imply a surface change. During a drag-resizing action, the window size is constantly changing but the surface remains the same. setSurface could take 12ms+ each frame and cause frame drops. bug: 23793966 Change-Id: Iac0456122e8916cf06b1a7a0940584ab4bf4065d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions