Migrate SIM operation dialog from LPA to Settings
In Android R, when users enable, disable, delete, or rename a profile, Settings calls SubscriptionManager APIs which telephony ends up to send actions “TOGGLE_SUBSCRIPTION_PRIVILEGED”, “DELETE_SUBSCRIPTION_PRIVILEGED”, and “RENAME_SUBSCRIPTION_PRIVILEGED” to EuiccManager. After EuiccUiDispatcher dispatches the action, Google LPA receives it and starts the corresponding operations and DSDS dialogs. We can see there some back-and-forth that goes on between LPA and telephony. In order to improve the current structure, we devided to move the dialogs to Settings and make it call EuiccManager APIs directly. Bug: 160819390 Test: Manually tested eSIM profile disabling. Design: https://docs.google.com/document/d/1wb5_hoBkZVbkXGNWHbx4Jf61swjfxsJzkytiTzJosYo/edit?usp=sharing Change-Id: Ib933df42ca3606de2310edc4d64c3e11800a1096
This commit is contained in:
@@ -21,6 +21,7 @@ import static android.telephony.UiccSlotInfo.CARD_STATE_INFO_PRESENT;
|
||||
|
||||
import static com.android.internal.util.CollectionUtils.emptyIfNull;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.content.Context;
|
||||
import android.os.ParcelUuid;
|
||||
import android.telephony.SubscriptionInfo;
|
||||
@@ -30,6 +31,8 @@ import android.telephony.UiccSlotInfo;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.settings.network.telephony.ToggleSubscriptionDialogActivity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -278,6 +281,33 @@ public class SubscriptionUtil {
|
||||
}
|
||||
}
|
||||
|
||||
/** Starts a dialog activity to handle SIM enabling/disabling. */
|
||||
public static void startToggleSubscriptionDialogActivity(
|
||||
Context context, int subId, boolean enable) {
|
||||
context.startActivity(ToggleSubscriptionDialogActivity.getIntent(context, subId, enable));
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds and returns a subscription with a specific subscription ID.
|
||||
* @param subscriptionManager The ProxySubscriptionManager for accessing subscription
|
||||
* information
|
||||
* @param subId The id of subscription to be returned
|
||||
* @return the {@code SubscriptionInfo} whose ID is {@code subId}. It returns null if the
|
||||
* {@code subId} is {@code SubscriptionManager.INVALID_SUBSCRIPTION_ID} or no such
|
||||
* {@code SubscriptionInfo} is found.
|
||||
*/
|
||||
@Nullable
|
||||
public static SubscriptionInfo getSubById(SubscriptionManager subscriptionManager, int subId) {
|
||||
if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
|
||||
return null;
|
||||
}
|
||||
return subscriptionManager
|
||||
.getAllSubscriptionInfoList()
|
||||
.stream()
|
||||
.filter(subInfo -> subInfo.getSubscriptionId() == subId)
|
||||
.findFirst()
|
||||
.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether a subscription is visible to API caller. If it's a bundled opportunistic
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.settings.network;
|
||||
|
||||
import android.app.FragmentManager;
|
||||
import android.app.PendingIntent;
|
||||
|
||||
import com.android.settings.SidecarFragment;
|
||||
import com.android.settings.network.telephony.EuiccOperationSidecar;
|
||||
|
||||
/** A headless fragment encapsulating long-running eSIM enabling/disabling operations. */
|
||||
public class SwitchToEuiccSubscriptionSidecar extends EuiccOperationSidecar {
|
||||
private static final String TAG = "SwitchToEuiccSubscriptionSidecar";
|
||||
private static final String ACTION_SWITCH_TO_SUBSCRIPTION =
|
||||
"com.android.settings.network.switchToSubscription";
|
||||
|
||||
private PendingIntent mCallbackIntent;
|
||||
|
||||
/** Returns a SwitchToEuiccSubscriptionSidecar sidecar instance. */
|
||||
public static SwitchToEuiccSubscriptionSidecar get(FragmentManager fm) {
|
||||
return SidecarFragment.get(
|
||||
fm, TAG, SwitchToEuiccSubscriptionSidecar.class, null /* args */);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getReceiverAction() {
|
||||
return ACTION_SWITCH_TO_SUBSCRIPTION;
|
||||
}
|
||||
|
||||
/** Returns the pendingIntent of the eSIM operations. */
|
||||
public PendingIntent getCallbackIntent() {
|
||||
return mCallbackIntent;
|
||||
}
|
||||
|
||||
/** Starts calling EuiccManager#switchToSubscription to enable/disable the eSIM profile. */
|
||||
public void run(int subscriptionId) {
|
||||
setState(State.RUNNING, Substate.UNUSED);
|
||||
mCallbackIntent = createCallbackIntent();
|
||||
mEuiccManager.switchToSubscription(subscriptionId, mCallbackIntent);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
/*
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.settings.network.telephony;
|
||||
|
||||
import android.Manifest;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.os.Bundle;
|
||||
import android.os.SystemClock;
|
||||
import android.telephony.euicc.EuiccManager;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.settings.SidecarFragment;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/**
|
||||
* The sidecar base class that an Euicc sidecar can extend from. The extended class should implement
|
||||
* getReceiverAction() to return the action string for the broadcast receiver. The extended class
|
||||
* should implement its own get() function to return an instance of that class, and implement the
|
||||
* functional class like run() to actually trigger the function in EuiccManager.
|
||||
*/
|
||||
public abstract class EuiccOperationSidecar extends SidecarFragment {
|
||||
private static final String TAG = "EuiccOperationSidecar";
|
||||
private static final int REQUEST_CODE = 0;
|
||||
private static final String EXTRA_OP_ID = "op_id";
|
||||
private static AtomicInteger sCurrentOpId =
|
||||
new AtomicInteger((int) SystemClock.elapsedRealtime());
|
||||
|
||||
protected EuiccManager mEuiccManager;
|
||||
|
||||
private int mResultCode;
|
||||
private int mDetailedCode;
|
||||
private Intent mResultIntent;
|
||||
private int mOpId;
|
||||
|
||||
protected final BroadcastReceiver mReceiver =
|
||||
new BroadcastReceiver() {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
if (getReceiverAction().equals(intent.getAction())
|
||||
&& mOpId == intent.getIntExtra(EXTRA_OP_ID, -1)) {
|
||||
mResultCode = getResultCode();
|
||||
/* TODO: This relies on our LUI and LPA to coexist, should think about how
|
||||
to generalize this further. */
|
||||
mDetailedCode =
|
||||
intent.getIntExtra(
|
||||
EuiccManager.EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE,
|
||||
0 /* defaultValue*/);
|
||||
mResultIntent = intent;
|
||||
Log.i(
|
||||
TAG,
|
||||
String.format(
|
||||
"Result code : %d; detailed code : %d",
|
||||
mResultCode, mDetailedCode));
|
||||
onActionReceived();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* This is called when the broadcast action is received. The subclass may override this to
|
||||
* perform different logic. The broadcast result code may be obtained with {@link
|
||||
* #getResultCode()} and the Intent may be obtained with {@link #getResultIntent()}.
|
||||
*/
|
||||
protected void onActionReceived() {
|
||||
if (mResultCode == EuiccManager.EMBEDDED_SUBSCRIPTION_RESULT_OK) {
|
||||
setState(State.SUCCESS, Substate.UNUSED);
|
||||
} else {
|
||||
setState(State.ERROR, mResultCode);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The extended class should implement it to return a string for the broadcast action. The class
|
||||
* should be unique across all the child classes.
|
||||
*/
|
||||
protected abstract String getReceiverAction();
|
||||
|
||||
protected PendingIntent createCallbackIntent() {
|
||||
mOpId = sCurrentOpId.incrementAndGet();
|
||||
Intent intent = new Intent(getReceiverAction());
|
||||
intent.putExtra(EXTRA_OP_ID, mOpId);
|
||||
return PendingIntent.getBroadcast(
|
||||
getContext(), REQUEST_CODE, intent, PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
mEuiccManager = (EuiccManager) getContext().getSystemService(Context.EUICC_SERVICE);
|
||||
|
||||
getContext()
|
||||
.getApplicationContext()
|
||||
.registerReceiver(
|
||||
mReceiver,
|
||||
new IntentFilter(getReceiverAction()),
|
||||
Manifest.permission.WRITE_EMBEDDED_SUBSCRIPTIONS,
|
||||
null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
getContext().getApplicationContext().unregisterReceiver(mReceiver);
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
public int getResultCode() {
|
||||
return mResultCode;
|
||||
}
|
||||
|
||||
public int getDetailedCode() {
|
||||
return mDetailedCode;
|
||||
}
|
||||
|
||||
public Intent getResultIntent() {
|
||||
return mResultIntent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.settings.network.telephony;
|
||||
|
||||
import android.R;
|
||||
import android.app.Activity;
|
||||
import android.app.ProgressDialog;
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
|
||||
/** The base class for subscription action dialogs */
|
||||
public class SubscriptionActionDialogActivity extends Activity {
|
||||
|
||||
private static final String TAG = "SubscriptionActionDialogActivity";
|
||||
|
||||
private ProgressDialog mProgressDialog;
|
||||
private AlertDialog mErrorDialog;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays a loading dialog.
|
||||
*
|
||||
* @param message The string content should be displayed in the progress dialog.
|
||||
*/
|
||||
protected void showProgressDialog(String message) {
|
||||
if (mProgressDialog == null) {
|
||||
mProgressDialog = ProgressDialog.show(this, null, message);
|
||||
mProgressDialog.setCanceledOnTouchOutside(false);
|
||||
mProgressDialog.setCancelable(false);
|
||||
}
|
||||
mProgressDialog.setMessage(message);
|
||||
mProgressDialog.show();
|
||||
}
|
||||
|
||||
/** Dismisses the loading dialog. */
|
||||
protected void dismissProgressDialog() {
|
||||
if (mProgressDialog != null) {
|
||||
mProgressDialog.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays an error dialog to indicate the subscription action failure.
|
||||
*
|
||||
* @param title The title of the error dialog.
|
||||
* @param message The body text of the error dialog.
|
||||
* @param positiveOnClickListener The callback function after users confirm with the error.
|
||||
*/
|
||||
protected void showErrorDialog(
|
||||
String title, String message, DialogInterface.OnClickListener positiveOnClickListener) {
|
||||
if (mErrorDialog == null) {
|
||||
mErrorDialog =
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(title)
|
||||
.setMessage(message)
|
||||
.setPositiveButton(
|
||||
R.string.ok,
|
||||
(dialog, which) -> {
|
||||
positiveOnClickListener.onClick(dialog, which);
|
||||
dismissErrorDialog();
|
||||
})
|
||||
.create();
|
||||
}
|
||||
mErrorDialog.setMessage(message);
|
||||
mErrorDialog.show();
|
||||
}
|
||||
|
||||
/** Dismisses the error dialog. */
|
||||
protected void dismissErrorDialog() {
|
||||
if (mErrorDialog != null) {
|
||||
mErrorDialog.dismiss();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
/*
|
||||
* Copyright (C) 2020 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.settings.network.telephony;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserManager;
|
||||
import android.telephony.SubscriptionInfo;
|
||||
import android.telephony.SubscriptionManager;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.SidecarFragment;
|
||||
import com.android.settings.network.SubscriptionUtil;
|
||||
import com.android.settings.network.SwitchToEuiccSubscriptionSidecar;
|
||||
|
||||
/** This dialog activity handles both eSIM and pSIM subscriptions enabling and disabling. */
|
||||
public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogActivity
|
||||
implements SidecarFragment.Listener {
|
||||
|
||||
private static final String TAG = "ToggleSubscriptionDialogActivity";
|
||||
|
||||
private static final String ARG_SUB_ID = "sub_id";
|
||||
private static final String ARG_enable = "enable";
|
||||
|
||||
/**
|
||||
* Returns an intent of ToggleSubscriptionDialogActivity.
|
||||
* @param context The context used to start the ToggleSubscriptionDialogActivity.
|
||||
* @param subId The subscription ID of the subscription needs to be toggled.
|
||||
* @param enable Whether the activity should enable or disable the subscription.
|
||||
*/
|
||||
public static Intent getIntent(Context context, int subId, boolean enable) {
|
||||
Intent intent = new Intent(context, ToggleSubscriptionDialogActivity.class);
|
||||
intent.putExtra(ARG_SUB_ID, subId);
|
||||
intent.putExtra(ARG_enable, enable);
|
||||
return intent;
|
||||
}
|
||||
|
||||
private SubscriptionManager mSubscriptionManager;
|
||||
private SubscriptionInfo mSubInfo;
|
||||
private SwitchToEuiccSubscriptionSidecar mSwitchToEuiccSubscriptionSidecar;
|
||||
private AlertDialog mToggleSimConfirmDialog;
|
||||
private boolean mEnable;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
Intent intent = getIntent();
|
||||
int subId = intent.getIntExtra(ARG_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID);
|
||||
mSubscriptionManager = getSystemService(SubscriptionManager.class);
|
||||
|
||||
UserManager userManager = getSystemService(UserManager.class);
|
||||
if (!userManager.isAdminUser()) {
|
||||
Log.e(TAG, "It is not the admin user. Unable to toggle subscription.");
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!SubscriptionManager.isUsableSubscriptionId(subId)) {
|
||||
Log.e(TAG, "The subscription id is not usable.");
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
mSubInfo = SubscriptionUtil.getSubById(mSubscriptionManager, subId);
|
||||
mSwitchToEuiccSubscriptionSidecar =
|
||||
SwitchToEuiccSubscriptionSidecar.get(getFragmentManager());
|
||||
mEnable = intent.getBooleanExtra(ARG_enable, true);
|
||||
|
||||
if (mEnable) {
|
||||
handleEnablingSubAction();
|
||||
} else {
|
||||
handleDisablingSubAction();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
mSwitchToEuiccSubscriptionSidecar.addListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
mSwitchToEuiccSubscriptionSidecar.removeListener(this);
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStateChange(SidecarFragment fragment) {
|
||||
if (fragment == mSwitchToEuiccSubscriptionSidecar) {
|
||||
handleSwitchToEuiccSubscriptionSidecarStateChange();
|
||||
}
|
||||
}
|
||||
|
||||
private void handleSwitchToEuiccSubscriptionSidecarStateChange() {
|
||||
switch (mSwitchToEuiccSubscriptionSidecar.getState()) {
|
||||
case SidecarFragment.State.SUCCESS:
|
||||
Log.i(
|
||||
TAG,
|
||||
String.format(
|
||||
"Successfully %s the eSIM profile.",
|
||||
mEnable ? "enable" : "disable"));
|
||||
mSwitchToEuiccSubscriptionSidecar.reset();
|
||||
dismissProgressDialog();
|
||||
finish();
|
||||
break;
|
||||
case SidecarFragment.State.ERROR:
|
||||
Log.i(
|
||||
TAG,
|
||||
String.format(
|
||||
"Failed to %s the eSIM profile.", mEnable ? "enable" : "disable"));
|
||||
mSwitchToEuiccSubscriptionSidecar.reset();
|
||||
dismissProgressDialog();
|
||||
showErrorDialog(
|
||||
getString(R.string.privileged_action_disable_fail_title),
|
||||
getString(R.string.privileged_action_disable_fail_text),
|
||||
(dialog, which) -> finish());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Handles the enabling SIM action. */
|
||||
private void handleEnablingSubAction() {
|
||||
Log.i(TAG, "handleEnableSub");
|
||||
// TODO(b/160819390): Implement enabling eSIM/pSIM profile.
|
||||
}
|
||||
|
||||
/* Handles the disabling SIM action. */
|
||||
private void handleDisablingSubAction() {
|
||||
showToggleSimConfirmDialog(
|
||||
(dialog, which) -> {
|
||||
if (mSubInfo.isEmbedded()) {
|
||||
Log.i(TAG, "Disabling the eSIM profile.");
|
||||
showProgressDialog(
|
||||
getString(R.string.privileged_action_disable_sub_dialog_progress));
|
||||
mSwitchToEuiccSubscriptionSidecar.run(
|
||||
SubscriptionManager.INVALID_SUBSCRIPTION_ID);
|
||||
return;
|
||||
}
|
||||
Log.i(TAG, "Disabling the pSIM profile.");
|
||||
// TODO(b/160819390): Implement disabling pSIM profile.
|
||||
});
|
||||
}
|
||||
|
||||
/* Displays the SIM toggling confirmation dialog. */
|
||||
private void showToggleSimConfirmDialog(
|
||||
DialogInterface.OnClickListener positiveOnClickListener) {
|
||||
if (mToggleSimConfirmDialog == null) {
|
||||
mToggleSimConfirmDialog =
|
||||
new AlertDialog.Builder(this)
|
||||
.setTitle(getToggleSimConfirmDialogTitle())
|
||||
.setPositiveButton(
|
||||
R.string.yes,
|
||||
(dialog, which) -> {
|
||||
positiveOnClickListener.onClick(dialog, which);
|
||||
dismissToggleSimConfirmDialog();
|
||||
})
|
||||
.setNegativeButton(
|
||||
R.string.cancel,
|
||||
(dialog, which) -> {
|
||||
dismissToggleSimConfirmDialog();
|
||||
finish();
|
||||
})
|
||||
.create();
|
||||
}
|
||||
mToggleSimConfirmDialog.show();
|
||||
}
|
||||
|
||||
/* Dismisses the SIM toggling confirmation dialog. */
|
||||
private void dismissToggleSimConfirmDialog() {
|
||||
if (mToggleSimConfirmDialog != null) {
|
||||
mToggleSimConfirmDialog.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns the title of toggling SIM confirmation dialog. */
|
||||
private String getToggleSimConfirmDialogTitle() {
|
||||
if (mEnable) {
|
||||
// TODO(b/160819390): Handle the case for enabling SIM.
|
||||
return null;
|
||||
}
|
||||
return mSubInfo == null || TextUtils.isEmpty(mSubInfo.getDisplayName())
|
||||
? getString(R.string.privileged_action_disable_sub_dialog_title_without_carrier)
|
||||
: getString(
|
||||
R.string.privileged_action_disable_sub_dialog_title,
|
||||
mSubInfo.getDisplayName());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user