Merge "Prevent crash in app memory updater." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5b5ed310d4
@@ -836,6 +836,9 @@ public class InstalledAppDetails extends AppInfoBase
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected ProcStatsPackageEntry doInBackground(Void... params) {
|
protected ProcStatsPackageEntry doInBackground(Void... params) {
|
||||||
|
if (getActivity() == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (mPackageInfo == null) {
|
if (mPackageInfo == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user