commit | 395bc17b71d13d97b3fd9f258fcf4d5748e66e5e | [log] [tgz] |
---|---|---|
author | Sol Boucher <solb@google.com> | Wed Aug 20 15:54:25 2014 -0700 |
committer | Solomon Boucher <solb@google.com> | Wed Aug 20 23:35:58 2014 +0000 |
tree | 1067d6fb5d0bbe3976b1ebd0d22be4f3fe8b82ef | |
parent | 096e5b734a18dae5bdca5cc312ad61ce09568f3f [diff] |
TextureViewHelper workaround for SurfaceTexture/CameraProxy race CameraController#getCurrentCameraId() now returns the ID of the requested camera device if called after #requestCamera() but before the camera device has finished opening. Assuming the most recent request is for the desired API level and device, this resolves an issue where no transformation matrix was applied on returning from the settings activity. Bug: 17140996 Change-Id: Ideaec0072acd8aab77b98b213f260907f84270de