File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
telephony/java/com/android/internal/telephony/cdma Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,16 @@ protected void pollStateDone() {
343343 // new ERI text
344344 if (ss .getState () == ServiceState .STATE_IN_SERVICE ) {
345345 eriText = phone .getCdmaEriText ();
346+ } else if (ss .getState () == ServiceState .STATE_POWER_OFF ) {
347+ eriText = phone .mIccRecords .getServiceProviderName ();
348+ if (TextUtils .isEmpty (eriText )) {
349+ // Sets operator alpha property by retrieving from
350+ // build-time system property
351+ eriText = SystemProperties .get ("ro.cdma.home.operator.alpha" );
352+ }
346353 } else {
347354 // Note that ServiceState.STATE_OUT_OF_SERVICE is valid used
348- // for
349- // mRegistrationState 0,2,3 and 4
355+ // for mRegistrationState 0,2,3 and 4
350356 eriText = phone .getContext ()
351357 .getText (com .android .internal .R .string .roamingTextSearching ).toString ();
352358 }
You can’t perform that action at this time.
0 commit comments