[Settings] Code refactor - SIM slot UI preference key
Avoid from controlling Preference key separately in different places. Bug: 261374879 Test: local & auto Change-Id: I0a777c3f2511a25e8f619deba964bc343183c3cc
This commit is contained in:
@@ -41,6 +41,7 @@ import com.android.settings.deviceinfo.UptimePreferenceController;
|
|||||||
import com.android.settings.deviceinfo.WifiMacAddressPreferenceController;
|
import com.android.settings.deviceinfo.WifiMacAddressPreferenceController;
|
||||||
import com.android.settings.deviceinfo.imei.ImeiInfoPreferenceController;
|
import com.android.settings.deviceinfo.imei.ImeiInfoPreferenceController;
|
||||||
import com.android.settings.deviceinfo.simstatus.SimStatusPreferenceController;
|
import com.android.settings.deviceinfo.simstatus.SimStatusPreferenceController;
|
||||||
|
import com.android.settings.deviceinfo.simstatus.SlotSimStatus;
|
||||||
import com.android.settings.search.BaseSearchIndexProvider;
|
import com.android.settings.search.BaseSearchIndexProvider;
|
||||||
import com.android.settings.widget.EntityHeaderController;
|
import com.android.settings.widget.EntityHeaderController;
|
||||||
import com.android.settingslib.core.AbstractPreferenceController;
|
import com.android.settingslib.core.AbstractPreferenceController;
|
||||||
@@ -104,14 +105,12 @@ public class MyDeviceInfoFragment extends DashboardFragment
|
|||||||
Context context, MyDeviceInfoFragment fragment, Lifecycle lifecycle) {
|
Context context, MyDeviceInfoFragment fragment, Lifecycle lifecycle) {
|
||||||
final List<AbstractPreferenceController> controllers = new ArrayList<>();
|
final List<AbstractPreferenceController> controllers = new ArrayList<>();
|
||||||
|
|
||||||
String simStatusKey = SimStatusPreferenceController.KEY_SIM_STATUS;
|
final SlotSimStatus slotSimStatus = new SlotSimStatus(context);
|
||||||
SimStatusPreferenceController defaultRecord =
|
for (int slotIndex = 0; slotIndex < slotSimStatus.size(); slotIndex ++) {
|
||||||
new SimStatusPreferenceController(context, simStatusKey);
|
|
||||||
|
|
||||||
for (int slotIndex = 0; slotIndex < defaultRecord.getSimSlotSize(); slotIndex ++) {
|
|
||||||
SimStatusPreferenceController slotRecord =
|
SimStatusPreferenceController slotRecord =
|
||||||
new SimStatusPreferenceController(context, simStatusKey + slotIndex + 1);
|
new SimStatusPreferenceController(context,
|
||||||
slotRecord.init(fragment, slotIndex);
|
slotSimStatus.getPreferenceKey(slotIndex));
|
||||||
|
slotRecord.init(fragment, slotSimStatus);
|
||||||
controllers.add(slotRecord);
|
controllers.add(slotRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -19,7 +19,6 @@ package com.android.settings.deviceinfo.simstatus;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.telephony.SubscriptionInfo;
|
import android.telephony.SubscriptionInfo;
|
||||||
import android.telephony.SubscriptionManager;
|
import android.telephony.SubscriptionManager;
|
||||||
import android.telephony.TelephonyManager;
|
|
||||||
import android.os.UserManager;
|
import android.os.UserManager;
|
||||||
|
|
||||||
import androidx.annotation.VisibleForTesting;
|
import androidx.annotation.VisibleForTesting;
|
||||||
@@ -38,39 +37,28 @@ import java.util.List;
|
|||||||
|
|
||||||
public class SimStatusPreferenceController extends BasePreferenceController {
|
public class SimStatusPreferenceController extends BasePreferenceController {
|
||||||
|
|
||||||
public static final String KEY_SIM_STATUS = "sim_status";
|
|
||||||
private static final String KEY_PREFERENCE_CATEGORY = "device_detail_category";
|
private static final String KEY_PREFERENCE_CATEGORY = "device_detail_category";
|
||||||
|
|
||||||
private final TelephonyManager mTelephonyManager;
|
|
||||||
private final SubscriptionManager mSubscriptionManager;
|
private final SubscriptionManager mSubscriptionManager;
|
||||||
private final List<Preference> mPreferenceList = new ArrayList<>();
|
private final List<Preference> mPreferenceList = new ArrayList<>();
|
||||||
|
|
||||||
private Fragment mFragment;
|
private Fragment mFragment;
|
||||||
private int mSlotIndex = SubscriptionManager.INVALID_SIM_SLOT_INDEX;
|
private SlotSimStatus mSlotSimStatus;
|
||||||
|
|
||||||
public SimStatusPreferenceController(Context context, String prefKey) {
|
public SimStatusPreferenceController(Context context, String prefKey) {
|
||||||
super(context, prefKey);
|
super(context, prefKey);
|
||||||
|
|
||||||
mTelephonyManager = context.getSystemService(TelephonyManager.class);
|
|
||||||
mSubscriptionManager = context.getSystemService(SubscriptionManager.class);
|
mSubscriptionManager = context.getSystemService(SubscriptionManager.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize this preference controller.
|
* Initialize this preference controller.
|
||||||
* @param fragment parent fragment
|
* @param fragment parent fragment
|
||||||
* @param slotIndex index of slot
|
* @param slotSimStatus SlotSimStatus object
|
||||||
*/
|
*/
|
||||||
public void init(Fragment fragment, int slotIndex) {
|
public void init(Fragment fragment, SlotSimStatus slotSimStatus) {
|
||||||
mFragment = fragment;
|
mFragment = fragment;
|
||||||
mSlotIndex = slotIndex;
|
mSlotSimStatus = slotSimStatus;
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get number of subscription slots.
|
|
||||||
* @return number of slots
|
|
||||||
*/
|
|
||||||
public int getSimSlotSize() {
|
|
||||||
return isAvailable() ? mTelephonyManager.getPhoneCount() : 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -78,14 +66,12 @@ public class SimStatusPreferenceController extends BasePreferenceController {
|
|||||||
* @return index of slot
|
* @return index of slot
|
||||||
*/
|
*/
|
||||||
public int getSimSlotIndex() {
|
public int getSimSlotIndex() {
|
||||||
return mSlotIndex;
|
return mSlotSimStatus == null ? SubscriptionManager.INVALID_SIM_SLOT_INDEX :
|
||||||
|
mSlotSimStatus.findSlotIndexByKey(getPreferenceKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getAvailabilityStatus() {
|
public int getAvailabilityStatus() {
|
||||||
if (getSimSlotIndex() == SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
|
|
||||||
return UNSUPPORTED_ON_DEVICE;
|
|
||||||
}
|
|
||||||
boolean isAvailable = SubscriptionUtil.isSimHardwareVisible(mContext) &&
|
boolean isAvailable = SubscriptionUtil.isSimHardwareVisible(mContext) &&
|
||||||
mContext.getSystemService(UserManager.class).isAdminUser() &&
|
mContext.getSystemService(UserManager.class).isAdminUser() &&
|
||||||
!Utils.isWifiOnly(mContext);
|
!Utils.isWifiOnly(mContext);
|
||||||
@@ -98,23 +84,24 @@ public class SimStatusPreferenceController extends BasePreferenceController {
|
|||||||
if (!SubscriptionUtil.isSimHardwareVisible(mContext)) {
|
if (!SubscriptionUtil.isSimHardwareVisible(mContext)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final Preference preference = screen.findPreference(KEY_SIM_STATUS);
|
String basePreferenceKey = mSlotSimStatus.getPreferenceKey(
|
||||||
|
SubscriptionManager.INVALID_SIM_SLOT_INDEX);
|
||||||
|
final Preference preference = screen.findPreference(basePreferenceKey);
|
||||||
if (!isAvailable() || preference == null || !preference.isVisible()) {
|
if (!isAvailable() || preference == null || !preference.isVisible()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final PreferenceCategory category = screen.findPreference(KEY_PREFERENCE_CATEGORY);
|
final PreferenceCategory category = screen.findPreference(KEY_PREFERENCE_CATEGORY);
|
||||||
|
|
||||||
final int simStatusOrder = preference.getOrder();
|
mSlotSimStatus.setBasePreferenceOrdering(preference.getOrder());
|
||||||
screen.removePreference(preference);
|
screen.removePreference(preference);
|
||||||
preference.setVisible(false);
|
preference.setVisible(false);
|
||||||
|
|
||||||
// Add additional preferences for each sim in the device
|
// Add additional preferences for each sim in the device
|
||||||
for (int simSlotNumber = 0; simSlotNumber < mTelephonyManager.getPhoneCount();
|
for (int simSlotNumber = 0; simSlotNumber < mSlotSimStatus.size(); simSlotNumber++) {
|
||||||
simSlotNumber++) {
|
|
||||||
final Preference multiSimPreference = createNewPreference(screen.getContext());
|
final Preference multiSimPreference = createNewPreference(screen.getContext());
|
||||||
multiSimPreference.setCopyingEnabled(true);
|
multiSimPreference.setCopyingEnabled(true);
|
||||||
multiSimPreference.setOrder(simStatusOrder + simSlotNumber + 1);
|
multiSimPreference.setOrder(mSlotSimStatus.getPreferenceOrdering(simSlotNumber));
|
||||||
multiSimPreference.setKey(KEY_SIM_STATUS + simSlotNumber + 1);
|
multiSimPreference.setKey(mSlotSimStatus.getPreferenceKey(simSlotNumber));
|
||||||
category.addPreference(multiSimPreference);
|
category.addPreference(multiSimPreference);
|
||||||
mPreferenceList.add(multiSimPreference);
|
mPreferenceList.add(multiSimPreference);
|
||||||
}
|
}
|
||||||
@@ -141,7 +128,7 @@ public class SimStatusPreferenceController extends BasePreferenceController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String getPreferenceTitle(int simSlot) {
|
private String getPreferenceTitle(int simSlot) {
|
||||||
return mTelephonyManager.getPhoneCount() > 1 ? mContext.getString(
|
return mSlotSimStatus.size() > 1 ? mContext.getString(
|
||||||
R.string.sim_status_title_sim_slot, simSlot + 1) : mContext.getString(
|
R.string.sim_status_title_sim_slot, simSlot + 1) : mContext.getString(
|
||||||
R.string.sim_status_title);
|
R.string.sim_status_title);
|
||||||
}
|
}
|
||||||
|
100
src/com/android/settings/deviceinfo/simstatus/SlotSimStatus.java
Normal file
100
src/com/android/settings/deviceinfo/simstatus/SlotSimStatus.java
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2022 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.deviceinfo.simstatus;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
import android.telephony.TelephonyManager;
|
||||||
|
import android.telephony.SubscriptionManager;
|
||||||
|
import android.util.Log;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class for showing a summary of status of sim slots.
|
||||||
|
*/
|
||||||
|
public class SlotSimStatus {
|
||||||
|
|
||||||
|
private static final String TAG = "SlotSimStatus";
|
||||||
|
|
||||||
|
private int mNumberOfSlots;
|
||||||
|
private int mBasePreferenceOrdering;
|
||||||
|
|
||||||
|
private static final String KEY_SIM_STATUS = "sim_status";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Construct of class.
|
||||||
|
* @param context Context
|
||||||
|
*/
|
||||||
|
public SlotSimStatus(Context context) {
|
||||||
|
TelephonyManager telMgr = context.getSystemService(TelephonyManager.class);
|
||||||
|
if (telMgr == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
mNumberOfSlots = telMgr.getPhoneCount();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set base ordering of Preference.
|
||||||
|
* @param baseOrdering the base ordering for SIM Status within "About Phone".
|
||||||
|
*/
|
||||||
|
public void setBasePreferenceOrdering(int baseOrdering) {
|
||||||
|
mBasePreferenceOrdering = baseOrdering;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Number of slots available.
|
||||||
|
* @return number of slots
|
||||||
|
*/
|
||||||
|
public int size() {
|
||||||
|
return mNumberOfSlots;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get ordering of Preference based on index of slot.
|
||||||
|
* @param slotIndex index of slot
|
||||||
|
* @return Preference ordering.
|
||||||
|
*/
|
||||||
|
public int getPreferenceOrdering(int slotIndex) {
|
||||||
|
return mBasePreferenceOrdering + 1 + slotIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get key of Preference and PreferenceController based on index of slot.
|
||||||
|
* @param slotIndex index of slot
|
||||||
|
* @return Preference key.
|
||||||
|
*/
|
||||||
|
public String getPreferenceKey(int slotIndex) {
|
||||||
|
if (slotIndex == SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
|
||||||
|
return KEY_SIM_STATUS;
|
||||||
|
}
|
||||||
|
return KEY_SIM_STATUS + (1 + slotIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get slot index based on Preference key
|
||||||
|
* @param prefKey is the preference key
|
||||||
|
* @return slot index.
|
||||||
|
*/
|
||||||
|
public int findSlotIndexByKey(String prefKey) {
|
||||||
|
int simSlotIndex = SubscriptionManager.INVALID_SIM_SLOT_INDEX + 1;
|
||||||
|
try {
|
||||||
|
simSlotIndex = Integer.parseInt(prefKey.substring(KEY_SIM_STATUS.length()));
|
||||||
|
} catch (Exception exception) {
|
||||||
|
Log.w(TAG, "Preference key invalid: " + prefKey +
|
||||||
|
". Error Msg: " + exception.getMessage());
|
||||||
|
}
|
||||||
|
return simSlotIndex - 1;
|
||||||
|
}
|
||||||
|
}
|
@@ -72,6 +72,7 @@ public class SimStatusPreferenceControllerTest {
|
|||||||
|
|
||||||
private Context mContext;
|
private Context mContext;
|
||||||
private Resources mResources;
|
private Resources mResources;
|
||||||
|
private SlotSimStatus mSlotSimStatus;
|
||||||
private SimStatusPreferenceController mController;
|
private SimStatusPreferenceController mController;
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
@@ -105,13 +106,13 @@ public class SimStatusPreferenceControllerTest {
|
|||||||
final String prefKey = mController.getPreferenceKey();
|
final String prefKey = mController.getPreferenceKey();
|
||||||
when(mPreference.getKey()).thenReturn(prefKey);
|
when(mPreference.getKey()).thenReturn(prefKey);
|
||||||
when(mPreference.isVisible()).thenReturn(true);
|
when(mPreference.isVisible()).thenReturn(true);
|
||||||
|
|
||||||
mController.init(mFragment, SubscriptionManager.INVALID_SIM_SLOT_INDEX);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void displayPreference_multiSim_shouldAddSecondPreference() {
|
public void displayPreference_multiSim_shouldAddSecondPreference() {
|
||||||
when(mTelephonyManager.getPhoneCount()).thenReturn(2);
|
when(mTelephonyManager.getPhoneCount()).thenReturn(2);
|
||||||
|
SlotSimStatus slotSimStatus = new SlotSimStatus(mContext);
|
||||||
|
mController.init(mFragment, slotSimStatus);
|
||||||
|
|
||||||
mController.displayPreference(mScreen);
|
mController.displayPreference(mScreen);
|
||||||
|
|
||||||
@@ -121,6 +122,8 @@ public class SimStatusPreferenceControllerTest {
|
|||||||
@Test
|
@Test
|
||||||
public void updateState_singleSim_shouldSetSingleSimTitleAndSummary() {
|
public void updateState_singleSim_shouldSetSingleSimTitleAndSummary() {
|
||||||
when(mTelephonyManager.getPhoneCount()).thenReturn(1);
|
when(mTelephonyManager.getPhoneCount()).thenReturn(1);
|
||||||
|
SlotSimStatus slotSimStatus = new SlotSimStatus(mContext);
|
||||||
|
mController.init(mFragment, slotSimStatus);
|
||||||
mController.displayPreference(mScreen);
|
mController.displayPreference(mScreen);
|
||||||
|
|
||||||
mController.updateState(mPreference);
|
mController.updateState(mPreference);
|
||||||
@@ -132,6 +135,8 @@ public class SimStatusPreferenceControllerTest {
|
|||||||
@Test
|
@Test
|
||||||
public void updateState_multiSim_shouldSetMultiSimTitleAndSummary() {
|
public void updateState_multiSim_shouldSetMultiSimTitleAndSummary() {
|
||||||
when(mTelephonyManager.getPhoneCount()).thenReturn(2);
|
when(mTelephonyManager.getPhoneCount()).thenReturn(2);
|
||||||
|
SlotSimStatus slotSimStatus = new SlotSimStatus(mContext);
|
||||||
|
mController.init(mFragment, slotSimStatus);
|
||||||
mController.displayPreference(mScreen);
|
mController.displayPreference(mScreen);
|
||||||
|
|
||||||
mController.updateState(mPreference);
|
mController.updateState(mPreference);
|
||||||
@@ -149,6 +154,8 @@ public class SimStatusPreferenceControllerTest {
|
|||||||
when(mFragment.getChildFragmentManager()).thenReturn(
|
when(mFragment.getChildFragmentManager()).thenReturn(
|
||||||
mock(FragmentManager.class, Answers.RETURNS_DEEP_STUBS));
|
mock(FragmentManager.class, Answers.RETURNS_DEEP_STUBS));
|
||||||
when(mTelephonyManager.getPhoneCount()).thenReturn(2);
|
when(mTelephonyManager.getPhoneCount()).thenReturn(2);
|
||||||
|
SlotSimStatus slotSimStatus = new SlotSimStatus(mContext);
|
||||||
|
mController.init(mFragment, slotSimStatus);
|
||||||
mController.displayPreference(mScreen);
|
mController.displayPreference(mScreen);
|
||||||
|
|
||||||
mController.handlePreferenceTreeClick(mFirstSimPreference);
|
mController.handlePreferenceTreeClick(mFirstSimPreference);
|
||||||
|
@@ -0,0 +1,85 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2022 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.deviceinfo.simstatus;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.mockito.Mockito.doReturn;
|
||||||
|
import static org.mockito.Mockito.spy;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
import android.telephony.TelephonyManager;
|
||||||
|
|
||||||
|
import androidx.test.core.app.ApplicationProvider;
|
||||||
|
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
|
@RunWith(AndroidJUnit4.class)
|
||||||
|
public class SlotSimStatusTest {
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
private TelephonyManager mTelephonyManager;
|
||||||
|
|
||||||
|
private Context mContext;
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void setUp() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
|
||||||
|
mContext = spy(ApplicationProvider.getApplicationContext());
|
||||||
|
mockService(Context.TELEPHONY_SERVICE, TelephonyManager.class, mTelephonyManager);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void size_returnNumberOfPhone_whenQuery() {
|
||||||
|
doReturn(2).when(mTelephonyManager).getPhoneCount();
|
||||||
|
|
||||||
|
SlotSimStatus target = new SlotSimStatus(mContext);
|
||||||
|
|
||||||
|
assertEquals(new Integer(target.size()), new Integer(2));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void getPreferenceOrdering_returnOrdering_whenQuery() {
|
||||||
|
doReturn(2).when(mTelephonyManager).getPhoneCount();
|
||||||
|
|
||||||
|
SlotSimStatus target = new SlotSimStatus(mContext);
|
||||||
|
target.setBasePreferenceOrdering(30);
|
||||||
|
|
||||||
|
assertEquals(new Integer(target.getPreferenceOrdering(1)), new Integer(32));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void getPreferenceKey_returnKey_whenQuery() {
|
||||||
|
doReturn(2).when(mTelephonyManager).getPhoneCount();
|
||||||
|
|
||||||
|
SlotSimStatus target = new SlotSimStatus(mContext);
|
||||||
|
target.setBasePreferenceOrdering(50);
|
||||||
|
|
||||||
|
assertEquals(target.getPreferenceKey(1), "sim_status52");
|
||||||
|
}
|
||||||
|
|
||||||
|
private <T> void mockService(String serviceName, Class<T> serviceClass, T service) {
|
||||||
|
when(mContext.getSystemServiceName(serviceClass)).thenReturn(serviceName);
|
||||||
|
when(mContext.getSystemService(serviceName)).thenReturn(service);
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user