Merge "Protect against monkey crash" into nyc-dev am: 25d69a1

am: dca0f7a

* commit 'dca0f7ae2af427be6142e6cf83ed562a4cfef4d2':
  Protect against monkey crash

Change-Id: I6917dd2e608774de25f30ccc83c202b0ca1dc0bb
This commit is contained in:
Jason Monk
2016-04-13 17:03:22 +00:00
committed by android-build-merger

View File

@@ -100,6 +100,9 @@ public class DataSaverSummary extends SettingsPreferenceFragment
@Override
public void onExtraInfoUpdated() {
if (!isAdded()) {
return;
}
int count = 0;
final ArrayList<AppEntry> allApps = mSession.getAllApps();
final int N = allApps.size();