Home | History | Annotate | Download | only in ScriptingLayerForAndroid
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3 /*
      4 ** Copyright 2016, 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 
     20 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     21     package="com.googlecode.android_scripting"
     22     android:sharedUserId="android.uid.system">
     23 
     24     <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE"
     25         android:protectionLevel="signature" />
     26     <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE"
     27         android:protectionLevel="signature" />
     28     <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
     29     <uses-permission android:name="android.permission.INTERNET" />
     30     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     31     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
     32     <uses-permission android:name="android.permission.BIND_INCALL_SERVICE" />
     33     <uses-permission android:name="android.permission.CALL_PHONE" />
     34     <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
     35     <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
     36     <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
     37     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     38     <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
     39     <uses-permission android:name="android.permission.LOCATION_HARDWARE" />
     40     <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
     41     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
     42     <uses-permission android:name="android.permission.RECEIVE_SMS" />
     43     <uses-permission android:name="android.permission.SEND_SMS" />
     44     <uses-permission android:name="android.permission.READ_SMS" />
     45     <uses-permission android:name="android.permission.WRITE_SMS" />
     46     <uses-permission android:name="android.permission.RECEIVE_MMS" />
     47     <uses-permission android:name="android.permission.BROADCAST_WAP_PUSH" />
     48     <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" />
     49     <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" />
     50     <uses-permission android:name="android.permission.BROADCAST_SMS" />
     51     <uses-permission android:name="android.permission.BROADCAST_WAP_PUSH" />
     52     <uses-permission android:name="android.permission.VIBRATE" />
     53     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     54     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
     55     <uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
     56     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     57     <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS"/>
     58     <uses-permission android:name="android.permission.PERSISTENT_ACTIVITY" />
     59     <uses-permission android:name="android.permission.RESTART_PACKAGES" />
     60     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     61     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     62     <uses-permission android:name="android.permission.RECORD_AUDIO" />
     63     <uses-permission android:name="android.permission.READ_LOGS" />
     64     <uses-permission android:name="android.permission.REAL_GET_TASKS" />
     65     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     66     <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
     67     <uses-permission android:name="android.permission.BLUETOOTH" />
     68     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
     69     <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
     70     <uses-permission android:name="android.permission.BLUETOOTH_MAP" />
     71     <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS" />
     72     <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
     73     <uses-permission android:name="android.permission.NET_ADMIN" />
     74     <uses-permission android:name="android.permission.CAMERA" />
     75     <uses-permission android:name="android.permission.WAKE_LOCK" />
     76     <uses-permission android:name="android.permission.READ_CONTACTS" />
     77     <uses-permission android:name="android.permission.DEVICE_POWER" />
     78     <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
     79     <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
     80     <uses-permission android:name="android.permission.NFC" />
     81     <uses-permission android:name="android.permission.HARDWARE_TEST" />
     82     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
     83     <uses-permission android:name="android.permission.MASTER_CLEAR" />
     84     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
     85     <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER" />
     86     <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
     87     <uses-permission android:name="android.permission.WRITE_CONTACTS" />
     88     <uses-permission android:name="android.permission.ACCESS_WIMAX_STATE" />
     89     <uses-permission android:name="android.permission.CHANGE_WIMAX_STATE" />
     90     <uses-permission android:name="com.android.certinstaller.INSTALL_AS_USER" />
     91     <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
     92     <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
     93     <uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES" />
     94     <uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
     95     <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
     96     <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
     97     <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
     98     <uses-permission android:name="android.permission.BATTERY_STATS" />
     99     <uses-permission android:name="android.permission.MOVE_PACKAGE" />
    100     <uses-permission android:name="android.permission.BACKUP" />
    101     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    102     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    103     <uses-permission android:name="android.permission.READ_SYNC_STATS" />
    104     <uses-permission android:name="android.permission.STATUS_BAR" />
    105     <uses-permission android:name="android.permission.MANAGE_USB" />
    106     <uses-permission android:name="android.permission.SET_POINTER_SPEED" />
    107     <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" />
    108     <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
    109     <uses-permission android:name="android.permission.COPY_PROTECTED_DATA" />
    110     <uses-permission android:name="android.permission.MANAGE_USERS" />
    111     <uses-permission android:name="android.permission.READ_PROFILE" />
    112     <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
    113     <uses-permission android:name="android.permission.SET_TIME" />
    114     <uses-permission android:name="android.permission.SET_TIME_ZONE" />
    115     <uses-permission android:name="android.permission.ACCESS_NOTIFICATIONS" />
    116     <uses-permission android:name="android.permission.REBOOT" />
    117     <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
    118     <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
    119     <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" />
    120     <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
    121     <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
    122     <uses-permission android:name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
    123     <application android:icon="@drawable/sl4a_logo_48" android:label="@string/application_title" android:name=".Sl4aApplication"
    124         android:theme="@android:style/Theme.DeviceDefault">
    125         <activity android:name=".activity.ScriptManager" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="adjustResize" android:launchMode="singleTop">
    126             <intent-filter>
    127                 <action android:name="android.intent.action.MAIN" />
    128                 <category android:name="android.intent.category.LAUNCHER" />
    129             </intent-filter>
    130             <intent-filter>
    131                 <action android:name="android.intent.action.SEARCH" />
    132             </intent-filter>
    133             <meta-data android:name="android.app.searchable" android:resource="@xml/searchable_scripts" />
    134         </activity>
    135         <activity android:name=".activity.ScriptPicker" android:configChanges="keyboardHidden|orientation" android:label="Scripts">
    136             <intent-filter>
    137                 <action android:name="android.intent.action.CREATE_SHORTCUT" />
    138                 <category android:name="android.intent.category.DEFAULT" />
    139             </intent-filter>
    140             <intent-filter>
    141                 <action android:name="android.intent.action.PICK" />
    142                 <data android:scheme="content" android:path="sl4a/scripts" />
    143                 <category android:name="android.intent.category.DEFAULT" />
    144             </intent-filter>
    145         </activity>
    146         <activity android:name=".activity.InterpreterPicker" android:configChanges="keyboardHidden|orientation" android:label="Interpreters">
    147             <intent-filter>
    148                 <action android:name="android.intent.action.CREATE_SHORTCUT" />
    149                 <category android:name="android.intent.category.DEFAULT" />
    150             </intent-filter>
    151         </activity>
    152         <activity-alias android:name="LocalePlugin" android:targetActivity=".activity.ScriptPicker" android:label="@string/application_title" android:icon="@drawable/sl4a_logo_32">
    153             <intent-filter>
    154                 <action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
    155             </intent-filter>
    156         </activity-alias>
    157         <receiver android:name=".locale.LocaleReceiver">
    158             <intent-filter>
    159                 <action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
    160             </intent-filter>
    161         </receiver>
    162         <activity android:name=".activity.Preferences" android:theme="@android:style/Theme.DeviceDefault.Settings" />
    163         <activity android:name="org.connectbot.ConsoleActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="stateAlwaysVisible|adjustResize" android:finishOnTaskLaunch="true" android:launchMode="singleTask" />
    164         <activity android:name=".activity.ScriptEditor" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="stateAlwaysVisible|adjustResize">
    165             <intent-filter>
    166                 <action android:name="com.googlecode.android_scripting.action.EDIT_SCRIPT" />
    167                 <category android:name="android.intent.category.DEFAULT" />
    168             </intent-filter>
    169         </activity>
    170         <activity android:name=".activity.ApiBrowser" android:configChanges="keyboardHidden|orientation" android:launchMode="singleTop" android:windowSoftInputMode="adjustResize">
    171             <intent-filter>
    172                 <action android:name="android.intent.action.SEARCH" />
    173             </intent-filter>
    174             <meta-data android:name="android.app.searchable" android:resource="@xml/searchable_apis" />
    175         </activity>
    176         <activity android:name=".activity.ApiPrompt" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:configChanges="keyboardHidden|orientation" />
    177         <activity android:name=".activity.TriggerManager" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" />
    178         <activity android:name=".activity.BluetoothDeviceList" android:configChanges="keyboardHidden|orientation" />
    179         <activity android:name=".activity.ScriptingLayerServiceLauncher" android:taskAffinity="" android:theme="@android:style/Theme.DeviceDefault.NoActionBar.TranslucentDecor">
    180             <intent-filter>
    181                 <action android:name="android.intent.action.VIEW" />
    182                 <category android:name="android.intent.category.DEFAULT" />
    183             </intent-filter>
    184         </activity>
    185         <activity android:name=".activity.FutureActivity" android:configChanges="keyboardHidden|orientation" android:theme="@android:style/Theme.DeviceDefault.NoActionBar.TranslucentDecor" />
    186         <activity android:name="org.connectbot.HelpActivity" android:configChanges="keyboardHidden|orientation" />
    187         <activity android:name="org.connectbot.HelpTopicActivity" android:configChanges="keyboardHidden|orientation" />
    188         <service android:name=".activity.ScriptingLayerService" />
    189         <service android:name=".activity.TriggerService" />
    190         <service android:name="com.googlecode.android_scripting.facade.telephony.InCallServiceImpl"
    191                  android:permission="android.permission.BIND_INCALL_SERVICE" >
    192             <intent-filter>
    193                 <action android:name="android.telecom.InCallService"/>
    194             </intent-filter>
    195         </service>
    196         <service android:name=".service.FacadeService" android:enabled="true" android:exported="true" >
    197             <intent-filter>
    198                 <action android:name="com.googlecode.android_scripting.service.FacadeService.ACTION_BIND" />
    199             </intent-filter>
    200         </service>
    201         <service android:name=".facade.bluetooth.media.BluetoothSL4AAudioSrcMBS">
    202             <intent-filter>
    203                 <action android:name="android.media.browse.MediaBrowserService"/>
    204             </intent-filter>
    205         </service>
    206         <activity android:name=".activity.InterpreterManager" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" />
    207         <activity android:name=".activity.LogcatViewer" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" />
    208         <activity android:name=".activity.ScriptsLiveFolder" android:label="Scripts" android:icon="@drawable/live_folder" android:configChanges="keyboardHidden|orientation">
    209             <intent-filter>
    210                 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
    211                 <category android:name="android.intent.category.DEFAULT" />
    212             </intent-filter>
    213         </activity>
    214         <provider android:name=".provider.ScriptProvider" android:authorities="com.googlecode.android_scripting.provider.scriptprovider" />
    215         <provider android:name=".provider.ApiProvider" android:authorities="com.googlecode.android_scripting.provider.apiprovider" />
    216         <provider android:name=".facade.telephony.MmsFileProvider"
    217                   android:authorities="com.googlecode.android_scripting.facade.telephony.MmsFileProvider"
    218                   android:enabled="true"
    219                   android:grantUriPermissions="true"
    220                   android:exported="true" />
    221         <provider
    222             android:name="android.support.v4.content.FileProvider"
    223             android:authorities="com.googlecode.android_scripting.provider.telephonytestprovider"
    224             android:grantUriPermissions="true"
    225             android:exported="false">
    226             <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/paths" />
    227         </provider>
    228         <uses-library android:name="android.test.runner" />
    229         <activity android:name=".activity.ScriptProcessMonitor" android:launchMode="singleTask" android:finishOnTaskLaunch="true" />
    230         <activity android:configChanges="keyboardHidden|orientation" android:name="org.connectbot.util.ColorsActivity" android:theme="@android:style/Theme.DeviceDefault.Dialog">
    231             <intent-filter>
    232                 <action android:name="com.googlecode.android_scripting.PICK_TERMINAL_COLORS" />
    233                 <category android:name="android.intent.category.DEFAULT" />
    234             </intent-filter>
    235         </activity>
    236     </application>
    237 </manifest>
    238