commit | e55801f83dd9e63276ba9ad20c8ce4e825ee242d | [log] [tgz] |
---|---|---|
author | Alan Newberger <alann@google.com> | Fri Sep 05 15:52:39 2014 -0700 |
committer | Alan Newberger <alann@google.com> | Fri Sep 05 15:52:39 2014 -0700 |
tree | f556bbd937e62cb1dbf0ba7247103e4e541c7103 | |
parent | 29a009c974f153f72cd5e28851a8cb85a691e215 [diff] |
Close the camera when the async open callback runs after pause Current implementation leaves the camera device open if callback returns after app is paused, since activity/module pausing is already complete before the camera opened. This CL adds a close if the opened callback returns when the activity is already paused. Bug: 17397753 Change-Id: Iec5d16445201b4e308b16e9237fd98ed8599fddc