Refactor User Profile editor dialog for reuse
Move the dialog code into a separate class. Use it from RestrictedProfileSettings and UserSettings for the current user. Bug: 15761405 Change-Id: I0b9a95ba8463304525e6a4b8cf3b4ca77b15796f
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
package com.android.settings.users;
|
||||
|
||||
import com.android.internal.util.CharSequences;
|
||||
import com.android.settings.R;
|
||||
|
||||
import android.content.Context;
|
||||
@@ -36,8 +35,6 @@ public class UserPreference extends Preference {
|
||||
private OnClickListener mSettingsClickListener;
|
||||
private int mSerialNumber = -1;
|
||||
private int mUserId = USERID_UNKNOWN;
|
||||
private boolean mRestricted;
|
||||
private boolean mSelf;
|
||||
static final int SETTINGS_ID = R.id.manage_user;
|
||||
static final int DELETE_ID = R.id.trash_user;
|
||||
|
||||
|
Reference in New Issue
Block a user