commit | dd17b3eaa99f761e265ff457e335b5a0ff83dafb | [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 | dfc21ff7626e9581d69b6420f3df3cbab63500cf | |
parent | 455d18d4c26a823bff62ca14771986cca52d3462 [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