Merge "Restrict changing wi-fi networks" into oc-dr1-dev
am: a7e10e0316
Change-Id: Ifcb15f741c4bcb72c32789870bc50027d2fc4cbb
This commit is contained in:
@@ -77,7 +77,6 @@ import android.provider.ContactsContract.Data;
|
||||
import android.provider.ContactsContract.Profile;
|
||||
import android.provider.ContactsContract.RawContacts;
|
||||
import android.provider.Settings;
|
||||
import android.provider.Settings.Secure;
|
||||
import android.support.annotation.StringRes;
|
||||
import android.support.v7.preference.Preference;
|
||||
import android.support.v7.preference.PreferenceGroup;
|
||||
@@ -1251,13 +1250,12 @@ public final class Utils extends com.android.settingslib.Utils {
|
||||
}
|
||||
|
||||
public static String getDemoModePackageName(Context context) {
|
||||
return context.getResources().getString(
|
||||
com.android.internal.R.string.config_demoModePackage);
|
||||
return context.getString(com.android.internal.R.string.config_demoModePackage);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if a given user is a profile of another user.
|
||||
* @param user The user whose profiles will be checked.
|
||||
* @param user The user whose profiles wibe checked.
|
||||
* @param profile The (potential) profile.
|
||||
* @return if the profile is actually a profile
|
||||
*/
|
||||
|
Reference in New Issue
Block a user