commit | 5747bbc20690f2a9d0a70725f9d510647db38ae2 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Mon Dec 13 16:49:05 2010 -0800 |
committer | Mathias Agopian <mathias@google.com> | Mon Dec 13 16:49:05 2010 -0800 |
tree | e9fe775f5f7c2519363bdba8e659cdd7f236212d | |
parent | 06f9ebf4f6178d6b6970cace263ee180d4b61d36 [diff] |
fix [3176642] Camera preview turns completely black for multiple toggles between camera and camcorder app There was a leak of Surface tokens when a surface was detached from a UserClient. We now always detach a surface from its client before attaching to the new one, this guarantees that its token is freed. Change-Id: Icfad0b16286ed58155bdfafdf36ab161440aa485