Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13b7d99a authored by Sangcheol Lee's avatar Sangcheol Lee
Browse files

Carrier Signal for secondary uesrs



When a secondary user's profile is logged in and does not have a data plan or has run out of data, the message specified in Secondary User shall be displayed. Applicable to PCO-3, and PCO-5 on devices that support multiple user profiles.
Tapping the notification shall take the user to Settings > Users where they can view their profile.

Test: Go through SetupWizard for secondary user and insert sim during or after SetupWizard is completed.

Change-Id: I2ccce4eacabad4fac73fe8227f110a2df2ff3300
Signed-off-by: default avatarSangcheol Lee <goodsc.lee@samsung.com>
parent b3ae2646
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import android.os.AsyncResult;
import android.os.Handler;
import android.os.Message;
import android.os.PersistableBundle;
import android.os.UserHandle;
import android.telephony.CarrierConfigManager;
import android.telephony.Rlog;
import android.text.TextUtils;
@@ -318,7 +319,7 @@ public class CarrierSignalAgent extends Handler {
            if (!wakeup) signal.setFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES);

            try {
                mPhone.getContext().sendBroadcast(signal);
                mPhone.getContext().sendBroadcastAsUser(signal, UserHandle.ALL);
                if (DBG) {
                    log("Sending signal " + signal.getAction() + ((signal.getComponent() != null)
                            ? " to the carrier signal receiver: " + signal.getComponent() : ""));