Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
This commit is contained in:
Zhijun Peng
2012-10-19 11:38:25 +08:00
committed by Weichuan Yan
parent 7a6674d1b1
commit aa21480109

View File

@@ -450,6 +450,12 @@ public class InstalledAppDetails extends Fragment
mSession.pause();
}
@Override
public void onDestroyView() {
super.onDestroyView();
mSession.release();
}
@Override
public void onAllSizesComputed() {
}