[packages/apps/Settings] Settings: fix for Wifi-only project
Do not show sim disable notification for Wifi-only project
This commit is contained in:
@ -52,6 +52,9 @@ public class SimBootReceiver extends BroadcastReceiver {
|
||||
Log.d(TAG, "onReceive " + intent);
|
||||
String action = intent.getAction();
|
||||
|
||||
if (Utils.isWifiOnly(context)) {
|
||||
return;
|
||||
}
|
||||
mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
|
||||
mContext = context;
|
||||
mSubscriptionManager = SubscriptionManager.from(mContext);
|
||||
|
||||
Reference in New Issue
Block a user