Loading src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java +4 −3 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ import android.os.Registrant; import android.os.RegistrantList; import android.os.SystemClock; import android.os.SystemProperties; import android.os.UserHandle; import android.provider.Settings; import android.provider.Settings.Secure; import android.provider.Settings.SettingNotFoundException; Loading Loading @@ -542,7 +543,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { intent.putExtra(TelephonyIntents.EXTRA_SPN, ""); intent.putExtra(TelephonyIntents.EXTRA_SHOW_PLMN, showPlmn); intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } mCurPlmn = plmn; Loading Loading @@ -1473,7 +1474,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time-zone", zoneId); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } /** Loading @@ -1488,7 +1489,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIME); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time", time); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } private void revertToNitzTime() { Loading src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java +4 −3 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ import android.os.Registrant; import android.os.RegistrantList; import android.os.SystemClock; import android.os.SystemProperties; import android.os.UserHandle; import android.provider.Settings; import android.provider.Settings.SettingNotFoundException; import android.telephony.CellInfo; Loading Loading @@ -562,7 +563,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker { intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); intent.putExtra(TelephonyIntents.EXTRA_SHOW_PLMN, showPlmn); intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } curShowSpn = showSpn; Loading Loading @@ -1555,7 +1556,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time-zone", zoneId); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); if (DBG) { log("setAndBroadcastNetworkSetTimeZone: call alarm.setTimeZone and broadcast zoneId=" + zoneId); Loading @@ -1574,7 +1575,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIME); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time", time); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } private void revertToNitzTime() { Loading Loading
src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java +4 −3 Original line number Diff line number Diff line Loading @@ -46,6 +46,7 @@ import android.os.Registrant; import android.os.RegistrantList; import android.os.SystemClock; import android.os.SystemProperties; import android.os.UserHandle; import android.provider.Settings; import android.provider.Settings.Secure; import android.provider.Settings.SettingNotFoundException; Loading Loading @@ -542,7 +543,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { intent.putExtra(TelephonyIntents.EXTRA_SPN, ""); intent.putExtra(TelephonyIntents.EXTRA_SHOW_PLMN, showPlmn); intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } mCurPlmn = plmn; Loading Loading @@ -1473,7 +1474,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time-zone", zoneId); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } /** Loading @@ -1488,7 +1489,7 @@ public class CdmaServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIME); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time", time); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } private void revertToNitzTime() { Loading
src/java/com/android/internal/telephony/gsm/GsmServiceStateTracker.java +4 −3 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ import android.os.Registrant; import android.os.RegistrantList; import android.os.SystemClock; import android.os.SystemProperties; import android.os.UserHandle; import android.provider.Settings; import android.provider.Settings.SettingNotFoundException; import android.telephony.CellInfo; Loading Loading @@ -562,7 +563,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker { intent.putExtra(TelephonyIntents.EXTRA_SPN, spn); intent.putExtra(TelephonyIntents.EXTRA_SHOW_PLMN, showPlmn); intent.putExtra(TelephonyIntents.EXTRA_PLMN, plmn); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } curShowSpn = showSpn; Loading Loading @@ -1555,7 +1556,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time-zone", zoneId); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); if (DBG) { log("setAndBroadcastNetworkSetTimeZone: call alarm.setTimeZone and broadcast zoneId=" + zoneId); Loading @@ -1574,7 +1575,7 @@ final class GsmServiceStateTracker extends ServiceStateTracker { Intent intent = new Intent(TelephonyIntents.ACTION_NETWORK_SET_TIME); intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING); intent.putExtra("time", time); phone.getContext().sendStickyBroadcast(intent); phone.getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); } private void revertToNitzTime() { Loading