Merge "Null check." into nyc-dev
diff --git a/src/com/android/settings/datausage/AppDataUsage.java b/src/com/android/settings/datausage/AppDataUsage.java
index 7e9be3f..41cee97 100644
--- a/src/com/android/settings/datausage/AppDataUsage.java
+++ b/src/com/android/settings/datausage/AppDataUsage.java
@@ -302,7 +302,10 @@
     }
 
     private boolean getUnrestrictData() {
-        return mDataSaverBackend.isWhitelisted(mAppItem.key);
+        if (mDataSaverBackend != null) {
+            return mDataSaverBackend.isWhitelisted(mAppItem.key);
+        }
+        return false;
     }
 
     @Override