Loading src/java/com/android/internal/telephony/CarrierSignalAgent.java +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.os.Message; import android.os.PersistableBundle; import android.telephony.CarrierConfigManager; import android.telephony.Rlog; import android.telephony.SubscriptionManager; import android.text.TextUtils; import android.util.LocalLog; import android.util.Log; Loading Loading @@ -313,6 +314,7 @@ public class CarrierSignalAgent extends Handler { return; } signal.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, mPhone.getSubId()); signal.putExtra(PhoneConstants.SUBSCRIPTION_KEY, mPhone.getSubId()); signal.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); if (!wakeup) signal.setFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES); Loading src/java/com/android/internal/telephony/SubscriptionController.java +2 −0 Original line number Diff line number Diff line Loading @@ -1683,6 +1683,7 @@ public class SubscriptionController extends ISub.Stub { intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, subId); mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); } Loading Loading @@ -1767,6 +1768,7 @@ public class SubscriptionController extends ISub.Stub { intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, subId); mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); } Loading Loading
src/java/com/android/internal/telephony/CarrierSignalAgent.java +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.os.Message; import android.os.PersistableBundle; import android.telephony.CarrierConfigManager; import android.telephony.Rlog; import android.telephony.SubscriptionManager; import android.text.TextUtils; import android.util.LocalLog; import android.util.Log; Loading Loading @@ -313,6 +314,7 @@ public class CarrierSignalAgent extends Handler { return; } signal.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, mPhone.getSubId()); signal.putExtra(PhoneConstants.SUBSCRIPTION_KEY, mPhone.getSubId()); signal.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); if (!wakeup) signal.setFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES); Loading
src/java/com/android/internal/telephony/SubscriptionController.java +2 −0 Original line number Diff line number Diff line Loading @@ -1683,6 +1683,7 @@ public class SubscriptionController extends ISub.Stub { intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, subId); mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); } Loading Loading @@ -1767,6 +1768,7 @@ public class SubscriptionController extends ISub.Stub { intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, subId); mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL); } Loading