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