commit | 46e74506703bb1982741865f5034d65098f14592 | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Wed May 20 17:18:02 2020 -0700 |
committer | Emilian Peev <epeev@google.com> | Wed May 20 17:18:02 2020 -0700 |
tree | 8b456f00b5b541b70a203b81ca6363b35a3bd2d6 | |
parent | 1c65357c4b1de2fdc4641d1e523a8765f57f94ad [diff] |
Camera: Query default display size from display manager The current Android API will trigger strict mode violations in case a context not bound to any particular display tries to connect to the window manager service. To avoid such violations query the default display size directly from the display manager. Bug: 157167435 Test: Camera CTS Change-Id: Icad19ec0227b4945da9e6fcacaec916c5799877f