Improve app list for limited users
Show all activities in the same package with a master/slave relationship, toggling all when the master is toggled. Don't show required apps that have no restrictions. Show apps that are only installed on the target user. Bug: 8520813 lowercase app names Bug: 8520185 apps installed only in limited user Bug: 8567000 strange behavior with apps that have two launcher icons Change-Id: Id8ab296c13202735a9534f918bd81ea4b4c14b46
This commit is contained in:
@@ -4460,6 +4460,8 @@
|
|||||||
<string name="user_rename">RENAME</string>
|
<string name="user_rename">RENAME</string>
|
||||||
<!-- Preference label for custom restrictions [CHAR LIMIT=35] -->
|
<!-- Preference label for custom restrictions [CHAR LIMIT=35] -->
|
||||||
<string name="app_restrictions_custom_label">Set application limits</string>
|
<string name="app_restrictions_custom_label">Set application limits</string>
|
||||||
|
<!-- Summary for app entries that are controlled by another entry [CHAR LIMIT=none] -->
|
||||||
|
<string name="user_restrictions_controlled_by">Controlled by <xliff:g id="app">%1$s</xliff:g></string>
|
||||||
|
|
||||||
<!-- Restrictions title for configuring wifi and mobile [CHAR LIMIT=35] -->
|
<!-- Restrictions title for configuring wifi and mobile [CHAR LIMIT=35] -->
|
||||||
<string name="restriction_wifi_config_title">Wi\u2011Fi and Mobile</string>
|
<string name="restriction_wifi_config_title">Wi\u2011Fi and Mobile</string>
|
||||||
|
@@ -16,12 +16,14 @@
|
|||||||
|
|
||||||
package com.android.settings.users;
|
package com.android.settings.users;
|
||||||
|
|
||||||
|
import android.app.AppGlobals;
|
||||||
import android.appwidget.AppWidgetManager;
|
import android.appwidget.AppWidgetManager;
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.RestrictionEntry;
|
import android.content.RestrictionEntry;
|
||||||
import android.content.pm.ApplicationInfo;
|
import android.content.pm.ApplicationInfo;
|
||||||
|
import android.content.pm.IPackageManager;
|
||||||
import android.content.pm.PackageInfo;
|
import android.content.pm.PackageInfo;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
import android.content.pm.PackageManager.NameNotFoundException;
|
import android.content.pm.PackageManager.NameNotFoundException;
|
||||||
@@ -34,6 +36,7 @@ import android.graphics.drawable.ColorDrawable;
|
|||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
|
import android.os.RemoteException;
|
||||||
import android.os.UserHandle;
|
import android.os.UserHandle;
|
||||||
import android.os.UserManager;
|
import android.os.UserManager;
|
||||||
import android.preference.CheckBoxPreference;
|
import android.preference.CheckBoxPreference;
|
||||||
@@ -78,6 +81,8 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
|
|
||||||
private static final String TAG = AppRestrictionsFragment.class.getSimpleName();
|
private static final String TAG = AppRestrictionsFragment.class.getSimpleName();
|
||||||
|
|
||||||
|
private static final boolean DEBUG = false;
|
||||||
|
|
||||||
private static final String PKG_PREFIX = "pkg_";
|
private static final String PKG_PREFIX = "pkg_";
|
||||||
private static final String KEY_USER_INFO = "user_info";
|
private static final String KEY_USER_INFO = "user_info";
|
||||||
|
|
||||||
@@ -98,6 +103,20 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
private HashMap<Integer, AppRestrictionsPreference> mCustomRequestMap =
|
private HashMap<Integer, AppRestrictionsPreference> mCustomRequestMap =
|
||||||
new HashMap<Integer,AppRestrictionsPreference>();
|
new HashMap<Integer,AppRestrictionsPreference>();
|
||||||
|
|
||||||
|
static class SelectableAppInfo {
|
||||||
|
String packageName;
|
||||||
|
CharSequence appName;
|
||||||
|
CharSequence activityName;
|
||||||
|
Drawable icon;
|
||||||
|
SelectableAppInfo masterEntry;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return packageName + ": appName=" + appName + "; activityName=" + activityName
|
||||||
|
+ "; icon=" + icon + "; masterEntry=" + masterEntry;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static class Activity extends PreferenceActivity {
|
public static class Activity extends PreferenceActivity {
|
||||||
@Override
|
@Override
|
||||||
public Intent getIntent() {
|
public Intent getIntent() {
|
||||||
@@ -113,7 +132,7 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
private OnClickListener listener;
|
private OnClickListener listener;
|
||||||
private ArrayList<RestrictionEntry> restrictions;
|
private ArrayList<RestrictionEntry> restrictions;
|
||||||
boolean panelOpen;
|
boolean panelOpen;
|
||||||
private boolean required;
|
private boolean immutable;
|
||||||
List<Preference> childPreferences = new ArrayList<Preference>();
|
List<Preference> childPreferences = new ArrayList<Preference>();
|
||||||
|
|
||||||
AppRestrictionsPreference(Context context, OnClickListener listener) {
|
AppRestrictionsPreference(Context context, OnClickListener listener) {
|
||||||
@@ -130,12 +149,12 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
this.restrictions = restrictions;
|
this.restrictions = restrictions;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setRequired(boolean required) {
|
void setImmutable(boolean immutable) {
|
||||||
this.required = required;
|
this.immutable = immutable;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean isRequired() {
|
boolean isImmutable() {
|
||||||
return required;
|
return immutable;
|
||||||
}
|
}
|
||||||
|
|
||||||
RestrictionEntry getRestriction(String key) {
|
RestrictionEntry getRestriction(String key) {
|
||||||
@@ -168,10 +187,10 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
appRestrictionsPref.setTag(this);
|
appRestrictionsPref.setTag(this);
|
||||||
|
|
||||||
ViewGroup widget = (ViewGroup) view.findViewById(android.R.id.widget_frame);
|
ViewGroup widget = (ViewGroup) view.findViewById(android.R.id.widget_frame);
|
||||||
widget.setEnabled(!isRequired());
|
widget.setEnabled(!isImmutable());
|
||||||
if (widget.getChildCount() > 0) {
|
if (widget.getChildCount() > 0) {
|
||||||
final Switch switchView = (Switch) widget.getChildAt(0);
|
final Switch switchView = (Switch) widget.getChildAt(0);
|
||||||
switchView.setEnabled(!isRequired());
|
switchView.setEnabled(!isImmutable());
|
||||||
switchView.setTag(this);
|
switchView.setTag(this);
|
||||||
switchView.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
switchView.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
||||||
@Override
|
@Override
|
||||||
@@ -219,7 +238,7 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
mUserPreference.setText(info.name);
|
mUserPreference.setText(info.name);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addSystemApps(List<ApplicationInfo> visibleApps, Intent intent) {
|
private void addSystemApps(List<SelectableAppInfo> visibleApps, Intent intent) {
|
||||||
final PackageManager pm = getActivity().getPackageManager();
|
final PackageManager pm = getActivity().getPackageManager();
|
||||||
List<ResolveInfo> launchableApps = pm.queryIntentActivities(intent, 0);
|
List<ResolveInfo> launchableApps = pm.queryIntentActivities(intent, 0);
|
||||||
for (ResolveInfo app : launchableApps) {
|
for (ResolveInfo app : launchableApps) {
|
||||||
@@ -228,7 +247,13 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
if ((flags & ApplicationInfo.FLAG_SYSTEM) != 0
|
if ((flags & ApplicationInfo.FLAG_SYSTEM) != 0
|
||||||
|| (flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) {
|
|| (flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) {
|
||||||
// System app
|
// System app
|
||||||
visibleApps.add(app.activityInfo.applicationInfo);
|
SelectableAppInfo info = new SelectableAppInfo();
|
||||||
|
info.packageName = app.activityInfo.packageName;
|
||||||
|
info.appName = app.activityInfo.applicationInfo.loadLabel(pm);
|
||||||
|
info.icon = app.activityInfo.loadIcon(pm);
|
||||||
|
info.activityName = app.activityInfo.loadLabel(pm);
|
||||||
|
if (info.activityName == null) info.activityName = info.appName;
|
||||||
|
visibleApps.add(info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -236,10 +261,11 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
|
|
||||||
private void populateApps() {
|
private void populateApps() {
|
||||||
mAppList.setOrderingAsAdded(false);
|
mAppList.setOrderingAsAdded(false);
|
||||||
List<ApplicationInfo> visibleApps = new ArrayList<ApplicationInfo>();
|
List<SelectableAppInfo> visibleApps = new ArrayList<SelectableAppInfo>();
|
||||||
// TODO: Do this asynchronously since it can be a long operation
|
// TODO: Do this asynchronously since it can be a long operation
|
||||||
final Context context = getActivity();
|
final Context context = getActivity();
|
||||||
PackageManager pm = context.getPackageManager();
|
PackageManager pm = context.getPackageManager();
|
||||||
|
IPackageManager ipm = AppGlobals.getPackageManager();
|
||||||
|
|
||||||
// Add launchers
|
// Add launchers
|
||||||
Intent launcherIntent = new Intent(Intent.ACTION_MAIN);
|
Intent launcherIntent = new Intent(Intent.ACTION_MAIN);
|
||||||
@@ -255,49 +281,101 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0
|
if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0
|
||||||
&& (app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 0) {
|
&& (app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 0) {
|
||||||
// Downloaded app
|
// Downloaded app
|
||||||
visibleApps.add(app);
|
SelectableAppInfo info = new SelectableAppInfo();
|
||||||
|
info.packageName = app.packageName;
|
||||||
|
info.appName = app.loadLabel(pm);
|
||||||
|
info.activityName = info.appName;
|
||||||
|
info.icon = app.loadIcon(pm);
|
||||||
|
visibleApps.add(info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Collections.sort(visibleApps, new AppLabelComparator(pm));
|
|
||||||
|
|
||||||
|
// Now check apps that are installed on target user
|
||||||
|
List<ApplicationInfo> userApps = null;
|
||||||
|
try {
|
||||||
|
userApps = ipm.getInstalledApplications(
|
||||||
|
0, mUser.getIdentifier()).getList();
|
||||||
|
} catch (RemoteException re) {
|
||||||
|
}
|
||||||
|
|
||||||
|
if (userApps != null) {
|
||||||
|
for (ApplicationInfo app : userApps) {
|
||||||
|
if ((app.flags & ApplicationInfo.FLAG_SYSTEM) == 0
|
||||||
|
&& (app.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) == 0) {
|
||||||
|
// Downloaded app
|
||||||
|
SelectableAppInfo info = new SelectableAppInfo();
|
||||||
|
info.packageName = app.packageName;
|
||||||
|
info.appName = app.loadLabel(pm);
|
||||||
|
info.activityName = info.appName;
|
||||||
|
info.icon = app.loadIcon(pm);
|
||||||
|
visibleApps.add(info);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Collections.sort(visibleApps, new AppLabelComparator());
|
||||||
|
|
||||||
|
// Remove dupes
|
||||||
for (int i = visibleApps.size() - 1; i > 1; i--) {
|
for (int i = visibleApps.size() - 1; i > 1; i--) {
|
||||||
ApplicationInfo appInfo = visibleApps.get(i);
|
SelectableAppInfo info = visibleApps.get(i);
|
||||||
if (appInfo.packageName.equals(visibleApps.get(i-1).packageName)) {
|
if (DEBUG) Log.i(TAG, info.toString());
|
||||||
|
if (info.packageName.equals(visibleApps.get(i-1).packageName)
|
||||||
|
&& info.activityName.equals(visibleApps.get(i-1).activityName)) {
|
||||||
visibleApps.remove(i);
|
visibleApps.remove(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Establish master/slave relationship for entries that share a package name
|
||||||
|
HashMap<String,SelectableAppInfo> packageMap = new HashMap<String,SelectableAppInfo>();
|
||||||
|
for (SelectableAppInfo info : visibleApps) {
|
||||||
|
if (packageMap.containsKey(info.packageName)) {
|
||||||
|
info.masterEntry = packageMap.get(info.packageName);
|
||||||
|
} else {
|
||||||
|
packageMap.put(info.packageName, info);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Intent restrictionsIntent = new Intent(Intent.ACTION_GET_RESTRICTION_ENTRIES);
|
Intent restrictionsIntent = new Intent(Intent.ACTION_GET_RESTRICTION_ENTRIES);
|
||||||
final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0);
|
final List<ResolveInfo> receivers = pm.queryBroadcastReceivers(restrictionsIntent, 0);
|
||||||
final List<ResolveInfo> existingApps = pm.queryIntentActivitiesAsUser(launcherIntent,
|
|
||||||
0, mUser.getIdentifier());
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
if (visibleApps.size() > 0) {
|
if (visibleApps.size() > 0) {
|
||||||
for (ApplicationInfo app : visibleApps) {
|
for (SelectableAppInfo app : visibleApps) {
|
||||||
if (app.packageName == null) continue;
|
|
||||||
String packageName = app.packageName;
|
String packageName = app.packageName;
|
||||||
Drawable icon = app.loadIcon(pm);
|
if (packageName == null) continue;
|
||||||
CharSequence label = app.loadLabel(pm);
|
|
||||||
AppRestrictionsPreference p = new AppRestrictionsPreference(context, this);
|
AppRestrictionsPreference p = new AppRestrictionsPreference(context, this);
|
||||||
p.setIcon(icon);
|
final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName);
|
||||||
p.setTitle(label);
|
p.setIcon(app.icon);
|
||||||
|
p.setTitle(app.activityName);
|
||||||
|
if (app.masterEntry != null) {
|
||||||
|
p.setSummary(getActivity().getString(R.string.user_restrictions_controlled_by,
|
||||||
|
app.masterEntry.activityName));
|
||||||
|
}
|
||||||
p.setKey(PKG_PREFIX + packageName);
|
p.setKey(PKG_PREFIX + packageName);
|
||||||
p.setSettingsEnabled(hasPackage(receivers, packageName)
|
p.setSettingsEnabled(hasSettings
|
||||||
|| packageName.equals(getActivity().getPackageName()));
|
|| packageName.equals(getActivity().getPackageName()));
|
||||||
p.setPersistent(false);
|
p.setPersistent(false);
|
||||||
p.setOnPreferenceChangeListener(this);
|
p.setOnPreferenceChangeListener(this);
|
||||||
p.setOnPreferenceClickListener(this);
|
p.setOnPreferenceClickListener(this);
|
||||||
|
PackageInfo pi = null;
|
||||||
try {
|
try {
|
||||||
PackageInfo pi = pm.getPackageInfo(packageName, 0);
|
pi = pm.getPackageInfo(packageName, 0);
|
||||||
if (pi.requiredForAllUsers) {
|
|
||||||
p.setChecked(true);
|
|
||||||
p.setRequired(true);
|
|
||||||
} else if (!mNewUser && hasPackage(existingApps, packageName)) {
|
|
||||||
p.setChecked(true);
|
|
||||||
}
|
|
||||||
} catch (NameNotFoundException re) {
|
} catch (NameNotFoundException re) {
|
||||||
// This would be bad
|
try {
|
||||||
|
pi = ipm.getPackageInfo(packageName, 0, mUser.getIdentifier());
|
||||||
|
} catch (RemoteException e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (pi != null && pi.requiredForAllUsers) {
|
||||||
|
p.setChecked(true);
|
||||||
|
p.setImmutable(true);
|
||||||
|
// If the app is required and has no restrictions, skip showing it
|
||||||
|
if (!hasSettings) continue;
|
||||||
|
} else if (!mNewUser && appInfoListHasPackage(userApps, packageName)) {
|
||||||
|
p.setChecked(true);
|
||||||
|
}
|
||||||
|
if (app.masterEntry != null) {
|
||||||
|
p.setImmutable(true);
|
||||||
|
p.setChecked(mSelectedPackages.get(packageName));
|
||||||
}
|
}
|
||||||
|
|
||||||
mAppList.addPreference(p);
|
mAppList.addPreference(p);
|
||||||
if (packageName.equals(getActivity().getPackageName())) {
|
if (packageName.equals(getActivity().getPackageName())) {
|
||||||
p.setOrder(MAX_APP_RESTRICTIONS * 1);
|
p.setOrder(MAX_APP_RESTRICTIONS * 1);
|
||||||
@@ -310,28 +388,17 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class AppLabelComparator implements Comparator<ApplicationInfo> {
|
private class AppLabelComparator implements Comparator<SelectableAppInfo> {
|
||||||
|
|
||||||
PackageManager pm;
|
|
||||||
|
|
||||||
private AppLabelComparator(PackageManager pm) {
|
|
||||||
this.pm = pm;
|
|
||||||
}
|
|
||||||
|
|
||||||
private CharSequence getLabel(ApplicationInfo info) {
|
|
||||||
// TODO: Optimize this with a cache
|
|
||||||
return info.loadLabel(pm);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int compare(ApplicationInfo lhs, ApplicationInfo rhs) {
|
public int compare(SelectableAppInfo lhs, SelectableAppInfo rhs) {
|
||||||
String lhsLabel = getLabel(lhs).toString();
|
String lhsLabel = lhs.activityName.toString();
|
||||||
String rhsLabel = getLabel(rhs).toString();
|
String rhsLabel = rhs.activityName.toString();
|
||||||
return lhsLabel.compareTo(rhsLabel);
|
return lhsLabel.toLowerCase().compareTo(rhsLabel.toLowerCase());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean hasPackage(List<ResolveInfo> receivers, String packageName) {
|
private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) {
|
||||||
for (ResolveInfo info : receivers) {
|
for (ResolveInfo info : receivers) {
|
||||||
if (info.activityInfo.packageName.equals(packageName)) {
|
if (info.activityInfo.packageName.equals(packageName)) {
|
||||||
return true;
|
return true;
|
||||||
@@ -340,16 +407,37 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private boolean appInfoListHasPackage(List<ApplicationInfo> apps, String packageName) {
|
||||||
|
for (ApplicationInfo info : apps) {
|
||||||
|
if (info.packageName.equals(packageName)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void updateAllEntries(String prefKey, boolean checked) {
|
||||||
|
for (int i = 0; i < mAppList.getPreferenceCount(); i++) {
|
||||||
|
Preference pref = mAppList.getPreference(i);
|
||||||
|
if (pref instanceof AppRestrictionsPreference) {
|
||||||
|
if (prefKey.equals(pref.getKey())) {
|
||||||
|
((AppRestrictionsPreference) pref).setChecked(checked);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
if (v.getTag() instanceof AppRestrictionsPreference) {
|
if (v.getTag() instanceof AppRestrictionsPreference) {
|
||||||
AppRestrictionsPreference pref = (AppRestrictionsPreference) v.getTag();
|
AppRestrictionsPreference pref = (AppRestrictionsPreference) v.getTag();
|
||||||
if (v.getId() == R.id.app_restrictions_settings) {
|
if (v.getId() == R.id.app_restrictions_settings) {
|
||||||
toggleAppPanel(pref);
|
toggleAppPanel(pref);
|
||||||
} else if (!pref.isRequired()) {
|
} else if (!pref.isImmutable()) {
|
||||||
pref.setChecked(!pref.isChecked());
|
pref.setChecked(!pref.isChecked());
|
||||||
mSelectedPackages.put(pref.getKey().substring(PKG_PREFIX.length()),
|
mSelectedPackages.put(pref.getKey().substring(PKG_PREFIX.length()),
|
||||||
pref.isChecked());
|
pref.isChecked());
|
||||||
|
updateAllEntries(pref.getKey(), pref.isChecked());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -597,9 +685,10 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
|||||||
public boolean onPreferenceClick(Preference preference) {
|
public boolean onPreferenceClick(Preference preference) {
|
||||||
if (preference.getKey().startsWith(PKG_PREFIX)) {
|
if (preference.getKey().startsWith(PKG_PREFIX)) {
|
||||||
AppRestrictionsPreference arp = (AppRestrictionsPreference) preference;
|
AppRestrictionsPreference arp = (AppRestrictionsPreference) preference;
|
||||||
if (!arp.isRequired()) {
|
if (!arp.isImmutable()) {
|
||||||
arp.setChecked(!arp.isChecked());
|
arp.setChecked(!arp.isChecked());
|
||||||
mSelectedPackages.put(arp.getKey().substring(PKG_PREFIX.length()), arp.isChecked());
|
mSelectedPackages.put(arp.getKey().substring(PKG_PREFIX.length()), arp.isChecked());
|
||||||
|
updateAllEntries(arp.getKey(), arp.isChecked());
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user