return correct value from query after connecting a surface

the first time a surface was connected, the values returned
by query NATIVE_WINDOW_DEFAULT_{WIDTH|HEIGHT} and
NATIVE_WINDOW_TRANSFORM_HINT were wrong until a call
to queueBuffer was performed.

Bug: 5137366, 5121607
Change-Id: I7ac6b5b0daa876638f6bed7c20f286a6e6d984f6
2 files changed
tree: 046e39ca32a267f7c958327058db4b3f4308ca16
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/