diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2015-12-11 17:41:23 -0800 |
---|---|---|
committer | Filip Gruszczynski <gruszczy@google.com> | 2015-12-11 17:43:55 -0800 |
commit | 96b906f57723e9a829dd2b4fdeaa29a3f0d72ba5 (patch) | |
tree | 69d27b2eee414692b961df7a4bd6f10013d65dba /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ee15241aaf9e3c38d2d0966f4b59b43284622d32 (diff) |
Don't log bad surface size before layout is done.
The surface dimensions are calculated when the surface is created.
This might happen before the window had a chance to relayout itself,
so the dimensions passed to the surface will be wrong. This doesn't
happen on subsequent recreations of the surface, because the window
has previous dimensions, but will produce a bad log when the surface
is first created.
Bug: 26061934
Change-Id: I670bbb6d64f5ec7efabe3bd838a116a1d48e74f2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions