commit | 96b906f57723e9a829dd2b4fdeaa29a3f0d72ba5 | [log] [tgz] |
---|---|---|
author | Filip Gruszczynski <gruszczy@google.com> | Fri Dec 11 17:41:23 2015 -0800 |
committer | Filip Gruszczynski <gruszczy@google.com> | Fri Dec 11 17:43:55 2015 -0800 |
tree | 69d27b2eee414692b961df7a4bd6f10013d65dba | |
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