commit | d29d0d636ad8eebd3f1d5b9baed5741c5fe95d0d | [log] [tgz] |
---|---|---|
author | Gaoxiang Chen <gaochen@codeaurora.org> | Wed Apr 16 15:15:05 2014 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Apr 24 19:54:28 2014 -0700 |
tree | de4eb9e8e6b35775f5f1212f1a10be3c71d2fed3 | |
parent | 4180872a42f636db1d6c4b6e68a08bef95e189ee [diff] |
Camera2: Fix camera application memory leak This change fix potential memory leak of camera application when swith between camera and panorama: 1. free allocated frames in jni/Mosaic 2. use application context instead of acitivity context 3. clear disappearing children of ViewGroup explicitly 4. remove IdleHandler during camera exit CRs-fixed: 622518 Change-Id: I2583709489ab2cf1fc20865fe7d2a8f56f2763c9