* commit 'c3e8fd25997a70155497358d077e6c8fec6fe981': Settings: Fix the memory leak in Settings
This commit is contained in:
6
src/com/android/settings/applications/InstalledAppDetails.java
Normal file → Executable file
6
src/com/android/settings/applications/InstalledAppDetails.java
Normal file → Executable file
@@ -575,6 +575,12 @@ public class InstalledAppDetails extends Fragment
|
||||
mSession.pause();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
mSession.release();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAllSizesComputed() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user