am 85bdb773: am 5b5ed310: Merge "Prevent crash in app memory updater." into mnc-dev

* commit '85bdb7730814c1f1d8d13dec40e203e94fa87215':
  Prevent crash in app memory updater.
This commit is contained in:
Julia Reynolds
2015-07-28 21:16:06 +00:00
committed by Android Git Automerger

View File

@@ -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;
} }