Merge "Protect against monkey crash" into nyc-dev
This commit is contained in:
@@ -100,6 +100,9 @@ public class DataSaverSummary extends SettingsPreferenceFragment
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onExtraInfoUpdated() {
|
public void onExtraInfoUpdated() {
|
||||||
|
if (!isAdded()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
int count = 0;
|
int count = 0;
|
||||||
final ArrayList<AppEntry> allApps = mSession.getAllApps();
|
final ArrayList<AppEntry> allApps = mSession.getAllApps();
|
||||||
final int N = allApps.size();
|
final int N = allApps.size();
|
||||||
|
Reference in New Issue
Block a user