Loading src/com/android/settings/CredentialStorage.java +0 −7 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import android.content.res.Resources; import android.os.AsyncTask; import android.os.Bundle; import android.os.RemoteException; import android.os.UserHandle; import android.security.Credentials; import android.security.KeyChain.KeyChainConnection; import android.security.KeyChain; Loading Loading @@ -109,12 +108,6 @@ public final class CredentialStorage extends Activity { protected void onResume() { super.onResume(); if (UserHandle.myUserId() != UserHandle.USER_OWNER) { Log.i(TAG, "Cannot install to CredentialStorage as non-primary user"); finish(); return; } Intent intent = getIntent(); String action = intent.getAction(); Loading src/com/android/settings/SecuritySettings.java +9 −12 Original line number Diff line number Diff line Loading @@ -234,8 +234,7 @@ public class SecuritySettings extends SettingsPreferenceFragment // Show password mShowPassword = (CheckBoxPreference) root.findPreference(KEY_SHOW_PASSWORD); // Credential storage, only for primary user if (mIsPrimary) { // Credential storage mKeyStore = KeyStore.getInstance(); Preference credentialStorageType = root.findPreference(KEY_CREDENTIAL_STORAGE_TYPE); Loading @@ -245,10 +244,8 @@ public class SecuritySettings extends SettingsPreferenceFragment credentialStorageType.setSummary(storageSummaryRes); mResetCredentials = root.findPreference(KEY_RESET_CREDENTIALS); } else { removePreference(KEY_CREDENTIALS_MANAGER); } // Application install PreferenceGroup deviceAdminCategory= (PreferenceGroup) root.findPreference(KEY_DEVICE_ADMIN_CATEGORY); mToggleAppInstallation = (CheckBoxPreference) findPreference( Loading Loading
src/com/android/settings/CredentialStorage.java +0 −7 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import android.content.res.Resources; import android.os.AsyncTask; import android.os.Bundle; import android.os.RemoteException; import android.os.UserHandle; import android.security.Credentials; import android.security.KeyChain.KeyChainConnection; import android.security.KeyChain; Loading Loading @@ -109,12 +108,6 @@ public final class CredentialStorage extends Activity { protected void onResume() { super.onResume(); if (UserHandle.myUserId() != UserHandle.USER_OWNER) { Log.i(TAG, "Cannot install to CredentialStorage as non-primary user"); finish(); return; } Intent intent = getIntent(); String action = intent.getAction(); Loading
src/com/android/settings/SecuritySettings.java +9 −12 Original line number Diff line number Diff line Loading @@ -234,8 +234,7 @@ public class SecuritySettings extends SettingsPreferenceFragment // Show password mShowPassword = (CheckBoxPreference) root.findPreference(KEY_SHOW_PASSWORD); // Credential storage, only for primary user if (mIsPrimary) { // Credential storage mKeyStore = KeyStore.getInstance(); Preference credentialStorageType = root.findPreference(KEY_CREDENTIAL_STORAGE_TYPE); Loading @@ -245,10 +244,8 @@ public class SecuritySettings extends SettingsPreferenceFragment credentialStorageType.setSummary(storageSummaryRes); mResetCredentials = root.findPreference(KEY_RESET_CREDENTIALS); } else { removePreference(KEY_CREDENTIALS_MANAGER); } // Application install PreferenceGroup deviceAdminCategory= (PreferenceGroup) root.findPreference(KEY_DEVICE_ADMIN_CATEGORY); mToggleAppInstallation = (CheckBoxPreference) findPreference( Loading