Use DimmableIconPreference for Add user action

Moved DimmableIconPreference from location to the root package since it is
now used in several places.

Add user action now uses DimmableIconPreference. Added a new summary string,
which is displayed when no more users can be added.

Bug: 20892920
Change-Id: I00b00f80ba8933a00a2de85777b9f7e55d03c31b
This commit is contained in:
Fyodor Kupolov
2015-05-08 15:54:38 -07:00
parent c80084e55a
commit a7a7bfe59f
6 changed files with 30 additions and 12 deletions

View File

@@ -31,6 +31,8 @@ import android.os.UserHandle;
import android.os.UserManager;
import android.preference.Preference;
import android.util.Log;
import com.android.settings.DimmableIconPreference;
import com.android.settings.R;
import com.android.settings.SettingsActivity;
import com.android.settings.applications.InstalledAppDetails;