OSDN Git Service
(root)
/
android-x86
/
packages-apps-Settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec5f09
)
Protect against monkey crash
author
Jason Monk
<jmonk@google.com>
Wed, 13 Apr 2016 16:34:37 +0000
(12:34 -0400)
committer
Jason Monk
<jmonk@google.com>
Wed, 13 Apr 2016 16:34:37 +0000
(12:34 -0400)
Change-Id: If1fd7dd51247bf29e86db16d4a01b2a45fac791e
Fixes:
27678593
src/com/android/settings/datausage/DataSaverSummary.java
patch
|
blob
|
history
diff --git
a/src/com/android/settings/datausage/DataSaverSummary.java
b/src/com/android/settings/datausage/DataSaverSummary.java
index
e12afbf
..
e8c8cdd
100644
(file)
--- a/
src/com/android/settings/datausage/DataSaverSummary.java
+++ b/
src/com/android/settings/datausage/DataSaverSummary.java
@@
-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();