Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     18                   android:title="@string/security_settings_title">
     19 
     20     <PreferenceCategory android:key="sim_lock"
     21             android:title="@string/sim_lock_settings_title"
     22             android:persistent="false">
     23 
     24         <Preference android:key="sim_lock_settings"
     25                 android:title="@string/sim_lock_settings_category"
     26                 android:persistent="false">
     27 
     28             <intent android:action="android.intent.action.MAIN"
     29                     android:targetPackage="com.android.settings"
     30                     android:targetClass="com.android.settings.IccLockSettings"/>
     31 
     32         </Preference>
     33 
     34     </PreferenceCategory>
     35 
     36     <PreferenceCategory android:title="@string/security_passwords_title"
     37             android:persistent="false">
     38 
     39         <SwitchPreference android:key="show_password"
     40                 android:title="@string/show_password"
     41                 android:persistent="false"/>
     42 
     43     </PreferenceCategory>
     44 
     45     <PreferenceCategory android:key="device_admin_category"
     46             android:title="@string/device_admin_title"
     47             android:persistent="false">
     48 
     49         <Preference android:key="manage_device_admin"
     50                 android:title="@string/manage_device_admin"
     51                 android:summary="@string/manage_device_admin_summary"
     52                 android:persistent="false"
     53                 android:fragment="com.android.settings.DeviceAdminSettings"/>
     54 
     55         <SwitchPreference android:key="toggle_install_applications"
     56                 android:title="@string/install_applications"
     57                 android:summaryOff="@string/install_unknown_applications"
     58                 android:summaryOn="@string/install_unknown_applications"
     59                 android:persistent="false" />
     60 
     61     </PreferenceCategory>
     62 
     63     <PreferenceCategory android:key="credentials_management"
     64             android:title="@string/credentials_title"
     65             android:persistent="false">
     66 
     67         <Preference android:key="credential_storage_type"
     68                 android:title="@string/credential_storage_type"
     69                 style="?android:attr/preferenceInformationStyle"
     70                 android:persistent="false" />
     71 
     72         <Preference android:key="trusted_credentials"
     73                 android:title="@string/trusted_credentials"
     74                 android:summary="@string/trusted_credentials_summary"
     75                 android:persistent="false"
     76                 android:fragment="com.android.settings.TrustedCredentialsSettings"/>
     77 
     78         <Preference android:key="credentials_install"
     79                 android:title="@string/credentials_install"
     80                 android:summary="@string/credentials_install_summary"
     81                 android:persistent="false">
     82 
     83             <intent android:action="android.credentials.INSTALL"
     84                     android:targetPackage="com.android.certinstaller"
     85                     android:targetClass="com.android.certinstaller.CertInstallerMain"/>
     86 
     87         </Preference>
     88 
     89         <Preference android:key="credentials_reset"
     90                 android:title="@string/credentials_reset"
     91                 android:summary="@string/credentials_reset_summary"
     92                 android:persistent="false">
     93 
     94             <intent android:action="com.android.credentials.RESET"
     95                     android:targetPackage="com.android.settings"
     96                     android:targetClass="com.android.settings.CredentialStorage"/>
     97 
     98         </Preference>
     99 
    100     </PreferenceCategory>
    101 
    102     <PreferenceCategory android:key="advanced_security"
    103             android:title="@string/advanced_security_title"
    104             android:persistent="false">
    105 
    106         <Preference android:key="manage_trust_agents"
    107                 android:title="@string/manage_trust_agents"
    108                 android:summary="@string/manage_trust_agents_summary"
    109                 android:persistent="false"
    110                 android:fragment="com.android.settings.TrustAgentSettings"/>
    111 
    112         <PreferenceScreen
    113                 android:key="screen_pinning_settings"
    114                 android:title="@string/screen_pinning_title"
    115                 android:summary="@string/switch_off_text"
    116                 android:fragment="com.android.settings.ScreenPinningSettings"/>
    117 
    118         <Preference android:key="usage_access"
    119                     android:title="@string/usage_access_title"
    120                     android:fragment="com.android.settings.UsageAccessSettings"/>
    121 
    122     </PreferenceCategory>
    123 
    124 </PreferenceScreen>
    125