diff options
| author | 2010-12-13 16:49:05 -0800 | |
|---|---|---|
| committer | 2010-12-13 16:49:05 -0800 | |
| commit | 5747bbc20690f2a9d0a70725f9d510647db38ae2 (patch) | |
| tree | e9fe775f5f7c2519363bdba8e659cdd7f236212d /libs/hwui/ProgramCache.cpp | |
| 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
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions