Home | History | Annotate | Download | only in Settings
      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <!--
      4   Copyright (C) 2017 The Android Open Source Project
      5 
      6   Licensed under the Apache License, Version 2.0 (the "License");
      7   you may not use this file except in compliance with the License.
      8   You may obtain a copy of the License at
      9 
     10     http://www.apache.org/licenses/LICENSE-2.0
     11 
     12   Unless required by applicable law or agreed to in writing, software
     13   distributed under the License is distributed on an "AS IS" BASIS,
     14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15   See the License for the specific language governing permissions and
     16   limitations under the License.
     17   -->
     18 
     19 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     20     package="com.android.car.settings"
     21     android:sharedUserId="android.uid.system"
     22     android:versionCode="1"
     23     android:versionName="1.0">
     24 
     25     <uses-sdk
     26         android:minSdkVersion="23"
     27         android:targetSdkVersion="23"/>
     28 
     29     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
     30     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     31     <uses-permission android:name="android.permission.BACKUP"/>
     32     <uses-permission android:name="android.permission.BLUETOOTH"/>
     33     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
     34     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
     35     <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA"/>
     36     <uses-permission android:name="android.permission.DELETE_CACHE_FILES"/>
     37     <uses-permission android:name="android.permission.DUMP"/>
     38     <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>
     39     <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
     40     <uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/>
     41     <uses-permission android:name="android.permission.INJECT_EVENTS"/>
     42     <uses-permission android:name="android.permission.INTERNET"/>
     43     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
     44     <uses-permission android:name="android.permission.MANAGE_USERS"/>
     45     <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"/>
     46     <uses-permission android:name="android.permission.READ_CONTACTS"/>
     47     <uses-permission android:name="android.permission.REBOOT"/>
     48     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
     49     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
     50     <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"/>
     51     <uses-permission android:name="android.permission.SET_TIME"/>
     52     <uses-permission android:name="android.permission.SET_TIME_ZONE"/>
     53     <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/>
     54     <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
     55     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
     56 
     57     <application
     58         android:icon="@drawable/ic_launcher_settings"
     59         android:label="@string/settings_label">
     60 
     61         <activity
     62             android:name=".home.HomepageActivity"
     63             android:label="@string/settings_label"
     64             android:launchMode="singleTask"
     65             android:exported="true">
     66             <intent-filter>
     67                 <action android:name="android.intent.action.MAIN"/>
     68                 <category android:name="android.intent.category.LAUNCHER"/>
     69             </intent-filter>
     70         </activity>
     71 
     72         <activity
     73             android:name=".display.DisplaySettingsActivity"
     74             android:label="@string/display_settings"
     75             android:theme="@style/CarSettingTheme"
     76             android:icon="@drawable/ic_settings_display">
     77             <intent-filter android:priority="1">
     78                 <action android:name="com.android.settings.action.SETTINGS"/>
     79             </intent-filter>
     80 
     81             <meta-data
     82                 android:name="com.android.settings.FRAGMENT_CLASS"
     83                 android:value="com.android.car.settings.display.DisplaySettings"/>
     84             <meta-data
     85                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
     86                 android:value="true"/>
     87             <meta-data
     88                 android:name="com.android.settings.category"
     89                 android:value="com.android.settings.category.ia.homepage"/>
     90         </activity>
     91 
     92         <activity
     93             android:name=".wifi.WifiSettingsActivity"
     94             android:label="@string/wifi_settings"
     95             android:theme="@style/CarSettingTheme"
     96             android:icon="@drawable/ic_settings_wifi">
     97             <intent-filter android:priority="1">
     98                 <action android:name="com.android.settings.action.SETTINGS"/>
     99             </intent-filter>
    100 
    101             <meta-data
    102                 android:name="com.android.settings.FRAGMENT_CLASS"
    103                 android:value="com.android.car.settings.wifi.WifiSettings"/>
    104             <meta-data
    105                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    106                 android:value="true"/>
    107             <meta-data
    108                 android:name="com.android.settings.category"
    109                 android:value="com.android.settings.category.ia.homepage"/>
    110         </activity>
    111 
    112         <activity
    113             android:name=".wifi.WifiDetailActivity"
    114             android:label="@string/wifi_settings"
    115             android:theme="@style/CarSettingTheme"
    116             android:icon="@drawable/ic_settings_wifi">
    117             <intent-filter android:priority="1">
    118                 <action android:name="com.android.settings.action.SETTINGS"/>
    119             </intent-filter>
    120 
    121             <meta-data
    122                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    123                 android:value="true"/>
    124         </activity>
    125 
    126         <activity
    127             android:name=".wifi.AddWifiActivity"
    128             android:label="@string/wifi_settings"
    129             android:theme="@style/CarSettingTheme"
    130             android:icon="@drawable/ic_settings_wifi">
    131             <intent-filter android:priority="1">
    132                 <action android:name="com.android.settings.action.SETTINGS"/>
    133             </intent-filter>
    134 
    135             <meta-data
    136                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    137                 android:value="true"/>
    138         </activity>
    139 
    140         <activity
    141             android:name=".bluetooth.BluetoothSettingsActivity"
    142             android:label="@string/bluetooth_settings"
    143             android:theme="@style/CarSettingTheme"
    144             android:icon="@drawable/ic_settings_bluetooth">
    145             <intent-filter android:priority="1">
    146                 <action android:name="com.android.settings.action.SETTINGS"/>
    147             </intent-filter>
    148 
    149             <meta-data
    150                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    151                 android:value="true"/>
    152             <meta-data
    153                 android:name="com.android.settings.category"
    154                 android:value="com.android.settings.category.ia.homepage"/>
    155         </activity>
    156 
    157         <activity
    158             android:name=".bluetooth.BluetoothDetailActivity"
    159             android:label="@string/bluetooth_settings"
    160             android:theme="@style/CarSettingTheme"
    161             android:icon="@drawable/ic_settings_bluetooth">
    162             <intent-filter android:priority="1">
    163                 <action android:name="com.android.settings.action.SETTINGS"/>
    164             </intent-filter>
    165 
    166             <meta-data
    167                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    168                 android:value="true"/>
    169         </activity>
    170 
    171         <activity
    172             android:name=".sound.SoundSettingsActivity"
    173             android:label="@string/sound_settings"
    174             android:theme="@style/CarSettingTheme"
    175             android:icon="@drawable/ic_settings_sound">
    176             <intent-filter android:priority="1">
    177                 <action android:name="com.android.settings.action.SETTINGS"/>
    178             </intent-filter>
    179 
    180             <meta-data
    181                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    182                 android:value="true"/>
    183             <meta-data
    184                 android:name="com.android.settings.category"
    185                 android:value="com.android.settings.category.ia.homepage"/>
    186         </activity>
    187 
    188         <!-- Applications settings -->
    189         <activity
    190             android:name=".applications.ApplicationSettingsActivity"
    191             android:label="@string/applications_settings"
    192             android:theme="@style/CarSettingTheme"
    193             android:icon="@drawable/ic_settings_applications">
    194             <intent-filter android:priority="1">
    195                 <action android:name="com.android.settings.action.SETTINGS"/>
    196             </intent-filter>
    197 
    198             <meta-data
    199               android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    200               android:value="true"/>
    201             <meta-data
    202               android:name="com.android.settings.category"
    203               android:value="com.android.settings.category.ia.homepage"/>
    204         </activity>
    205 
    206         <activity
    207             android:name=".applications.ApplicationDetailActivity"
    208             android:label="@string/applications_settings"
    209             android:theme="@style/CarSettingTheme"
    210             android:icon="@drawable/ic_settings_applications">
    211             <intent-filter android:priority="1">
    212                 <action android:name="com.android.settings.action.SETTINGS"/>
    213             </intent-filter>
    214 
    215             <meta-data
    216                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    217                 android:value="true"/>
    218         </activity>
    219 
    220 
    221         <activity
    222             android:name=".datetime.DatetimeSettingsActivity"
    223             android:label="@string/date_and_time_settings_title"
    224             android:theme="@style/CarSettingTheme"
    225             android:icon="@drawable/ic_settings_date_time">
    226             <intent-filter android:priority="1">
    227                 <action android:name="com.android.settings.action.SETTINGS"/>
    228             </intent-filter>
    229 
    230             <meta-data
    231                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    232                 android:value="true"/>
    233             <meta-data
    234                 android:name="com.android.settings.category"
    235                 android:value="com.android.settings.category.ia.homepage"/>
    236         </activity>
    237 
    238         <activity
    239             android:name=".datetime.DatePickerActivity"
    240             android:label="@string/date_and_time_settings_title"
    241             android:theme="@style/CarSettingTheme"
    242             android:icon="@drawable/ic_settings_date_time">
    243             <intent-filter android:priority="1">
    244                 <action android:name="com.android.settings.action.SETTINGS"/>
    245             </intent-filter>
    246 
    247             <meta-data
    248                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    249                 android:value="true"/>
    250         </activity>
    251 
    252         <activity
    253             android:name=".datetime.TimePickerActivity"
    254             android:label="@string/date_and_time_settings_title"
    255             android:theme="@style/CarSettingTheme"
    256             android:icon="@drawable/ic_settings_date_time">
    257             <intent-filter android:priority="1">
    258                 <action android:name="com.android.settings.action.SETTINGS"/>
    259             </intent-filter>
    260 
    261             <meta-data
    262                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    263                 android:value="true"/>
    264         </activity>
    265 
    266         <activity
    267             android:name=".datetime.TimeZonePickerActivity"
    268             android:label="@string/date_and_time_settings_title"
    269             android:theme="@style/CarSettingTheme"
    270             android:icon="@drawable/ic_settings_date_time">
    271             <intent-filter android:priority="1">
    272                 <action android:name="com.android.settings.action.SETTINGS"/>
    273             </intent-filter>
    274 
    275             <meta-data
    276                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    277                 android:value="true"/>
    278         </activity>
    279 
    280         <activity
    281             android:name=".system.SystemSettingsActivity"
    282             android:label="@string/system_setting_title"
    283             android:theme="@style/CarSettingTheme"
    284             android:icon="@drawable/ic_settings_about">
    285             <intent-filter android:priority="1">
    286                 <action android:name="com.android.settings.action.SETTINGS"/>
    287             </intent-filter>
    288 
    289             <meta-data
    290                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    291                 android:value="true"/>
    292             <meta-data
    293                 android:name="com.android.settings.category"
    294                 android:value="com.android.settings.category.ia.homepage"/>
    295         </activity>
    296         <activity
    297             android:name=".system.AboutSettingsActivity"
    298             android:label="@string/system_setting_title"
    299             android:theme="@style/CarSettingTheme"
    300             android:icon="@drawable/ic_settings_about">
    301             <intent-filter android:priority="1">
    302                 <action android:name="com.android.settings.action.SETTINGS"/>
    303             </intent-filter>
    304 
    305             <meta-data
    306                 android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
    307                 android:value="true"/>
    308         </activity>
    309     </application>
    310 </manifest>
    311