am 49a8bbf4: Don\'t crash if we\'ve never gotten a signal strength update.
Merge commit '49a8bbf4eacbf0bde71bab05be0ab40488df109c' into gingerbread-plus-aosp * commit '49a8bbf4eacbf0bde71bab05be0ab40488df109c': Don't crash if we've never gotten a signal strength update.
This commit is contained in:
@@ -844,7 +844,7 @@ public class StatusBarPolicy {
|
||||
int[] iconList;
|
||||
|
||||
// Display signal strength while in "emergency calls only" mode
|
||||
if (!hasService() && !mServiceState.isEmergencyOnly()) {
|
||||
if (mServiceState == null || (!hasService() && !mServiceState.isEmergencyOnly())) {
|
||||
//Slog.d(TAG, "updateSignalStrength: no service");
|
||||
if (Settings.System.getInt(mContext.getContentResolver(),
|
||||
Settings.System.AIRPLANE_MODE_ON, 0) == 1) {
|
||||
|
||||
Reference in New Issue
Block a user