Merge "Protect against monkey crash" into nyc-dev
am: 25d69a1
* commit '25d69a1ae3e4d28c64e1ee18990f9b7b2f0d4238':
Protect against monkey crash
Change-Id: I926659f92f915fc7d991ddac7f41020b0caac558
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user