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:
committed by
Weichuan Yan
parent
7a6674d1b1
commit
aa21480109
6
src/com/android/settings/applications/InstalledAppDetails.java
Normal file → Executable file
6
src/com/android/settings/applications/InstalledAppDetails.java
Normal file → Executable file
@@ -450,6 +450,12 @@ public class InstalledAppDetails extends Fragment
|
|||||||
mSession.pause();
|
mSession.pause();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDestroyView() {
|
||||||
|
super.onDestroyView();
|
||||||
|
mSession.release();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAllSizesComputed() {
|
public void onAllSizesComputed() {
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user