AndroidManifest.xml 12.3 KB
Newer Older
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
1 2
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
    package="org.kde.kdeconnect_tp"
4 5
    android:versionCode="11293"
    android:versionName="1.12.93">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
6

7 8
    <supports-screens
        android:anyDensity="true"
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
9 10 11 12
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true" />
13

14 15 16
    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />
17

18
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
19
    <uses-permission android:name="android.permission.INTERNET" />
20 21
    <!-- <uses-permission android:name="android.permission.BLUETOOTH" /> -->
    <!-- <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> -->
22 23
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
24
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
25
    <uses-permission android:name="android.permission.READ_CONTACTS" />
26
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
27
    <uses-permission android:name="android.permission.VIBRATE" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
28
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
29
    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
30
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
31
    <uses-permission android:name="android.permission.READ_CALL_LOG"/>
32 33 34
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
    <uses-permission android:name="android.permission.SEND_SMS" />
    <uses-permission android:name="android.permission.READ_SMS" />
35
    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
36

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
37
    <application
38 39
        android:icon="@drawable/icon"
        android:label="KDE Connect"
Nicolas Fella's avatar
Nicolas Fella committed
40
        android:supportsRtl="true"
41
        android:networkSecurityConfig="@xml/network_security_config"
42
        android:theme="@style/KdeConnectTheme">
43
        <service
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
44
            android:name="org.kde.kdeconnect.BackgroundService"
45 46 47
            android:enabled="true" />
        <service
            android:name="org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardService"
48
            android:label="@string/remote_keyboard_service"
49 50 51 52
            android:permission="android.permission.BIND_INPUT_METHOD">
            <intent-filter>
                <action android:name="android.view.InputMethod" />
            </intent-filter>
53

54 55 56
            <meta-data
                android:name="android.view.im"
                android:resource="@xml/remotekeyboardplugin_method" />
57 58
        </service>

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
59
        <activity
60
            android:name="org.kde.kdeconnect.UserInterface.MainActivity"
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
61 62 63 64
            android:label="KDE Connect"
            android:theme="@style/KdeConnectTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
65

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
66 67 68
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
69
        <activity
70
            android:name="org.kde.kdeconnect.UserInterface.PluginSettingsActivity"
71
            android:label="@string/device_menu_plugins"
72
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
73 74
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
75
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
76
        </activity>
Achilleas Koutsou's avatar
Achilleas Koutsou committed
77
        <activity
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
78 79
            android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
            android:label="@string/custom_devices_settings"
80
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
81 82
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
83
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
Achilleas Koutsou's avatar
Achilleas Koutsou committed
84
        </activity>
85 86 87
        <activity
            android:name="org.kde.kdeconnect.Plugins.SharePlugin.SendFileActivity"
            android:label="KDE Connect"
88
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
89 90
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
91
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
92
        </activity>
93

94
        <receiver android:name="org.kde.kdeconnect.KdeConnectBroadcastReceiver">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
95
            <intent-filter>
96
                <action android:name="android.intent.action.PACKAGE_REPLACED" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
97 98

                <data
99 100
                    android:host="kdeconnect"
                    android:path="/"
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
101
                    android:scheme="package" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
102
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
103 104 105
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
106 107 108 109 110 111
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
112 113
        </receiver>

114 115
        <activity
            android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.FindMyPhoneActivity"
116
            android:configChanges="orientation|screenSize"
117
            android:excludeFromRecents="true"
Nicolas Fella's avatar
Nicolas Fella committed
118
            android:label="@string/findmyphone_title"
119
            android:launchMode="singleInstance" />
120

121 122 123 124
        <!-- Plugin-related activities and services -->

        <activity
            android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisActivity"
125
            android:label="@string/open_mpris_controls"
126 127
            android:launchMode="singleTop"
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
128 129
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
130
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
131
        </activity>
132

133
        <receiver android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisMediaNotificationReceiver">
134 135 136 137 138
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>

139 140
        <activity
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandActivity"
141
            android:label="@string/pref_plugin_runcommand"
142
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
143 144
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
145
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
146
        </activity>
147 148 149 150
        <activity
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetDeviceSelector"
            android:excludeFromRecents="true"
            android:label="@string/pref_plugin_runcommand"
151 152
            android:launchMode="singleTask"
            android:noHistory="true"
153 154 155
            android:screenOrientation="user"
            android:theme="@style/Theme.AppCompat.Light.Dialog" />

156 157
        <service
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetDataProviderService"
158 159 160 161 162 163
            android:exported="false"
            android:permission="android.permission.BIND_REMOTEVIEWS" />

        <receiver
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidget"
            android:label="@string/pref_plugin_runcommand">
164 165 166 167 168 169 170
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
            </intent-filter>
            <intent-filter>
                <action android:name="RUN_COMMAND_ACTION" />
            </intent-filter>

171 172 173 174
            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/remotecommandplugin_widget" />
        </receiver>
175

176 177 178
        <activity android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandUrlActivity">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
179
                <action android:name="android.nfc.action.NDEF_DISCOVERED" />
180 181 182 183

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

184 185 186
                <data
                    android:host="runcommand"
                    android:scheme="kdeconnect" />
187
            </intent-filter>
188
        </activity>
189 190
        <activity
            android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity"
191
            android:label="@string/pref_plugin_mousepad"
192 193 194 195 196 197 198 199 200
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
        </activity>
        <activity
            android:name="org.kde.kdeconnect.Plugins.PresenterPlugin.PresenterActivity"
            android:configChanges="orientation|keyboardHidden|screenSize"
            android:label="@string/pref_plugin_presenter"
201
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
202
            android:windowSoftInputMode="stateHidden|adjustResize">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
203 204
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
205
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
206
        </activity>
207
        <activity
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
208
            android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareActivity"
209
            android:label="KDE Connect">
210 211
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
212

213
                <category android:name="android.intent.category.DEFAULT" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
214

215 216
                <data android:mimeType="*/*" />
            </intent-filter>
217 218
            <intent-filter>
                <action android:name="android.intent.action.SEND_MULTIPLE" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
219

220
                <category android:name="android.intent.category.DEFAULT" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
221

222 223
                <data android:mimeType="*/*" />
            </intent-filter>
224

Nicolas Fella's avatar
Nicolas Fella committed
225 226 227
            <meta-data
                android:name="android.service.chooser.chooser_target_service"
                android:value="org.kde.kdeconnect.Plugins.SharePlugin.ShareChooserTargetService" />
228
        </activity>
229

230 231 232 233 234 235
        <receiver android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareBroadcastReceiver">
            <intent-filter>
                <action android:name="org.kde.kdeconnect.Plugins.SharePlugin.CancelShare" />
            </intent-filter>
        </receiver>

236
        <provider
237
            android:name="androidx.core.content.FileProvider"
238 239 240 241 242 243 244
            android:authorities="org.kde.kdeconnect_tp.fileprovider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/fileprovider_paths" />
        </provider>
245

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
246 247
        <service
            android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
248
            android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
249 250 251 252
            <intent-filter>
                <action android:name="android.service.notification.NotificationListenerService" />
            </intent-filter>
        </service>
Nicolas Fella's avatar
Nicolas Fella committed
253 254 255 256 257 258
        <service
            android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareChooserTargetService"
            android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
            <intent-filter>
                <action android:name="android.service.chooser.ChooserTargetService" />
            </intent-filter>
259
        </service>
260

261 262 263
        <activity
            android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity"
            android:label="@string/title_activity_notification_filter"
264
            android:parentActivityName="org.kde.kdeconnect.UserInterface.PluginSettingsActivity">
265 266
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
267
                android:value="org.kde.kdeconnect.UserInterface.PluginSettingsActivity" />
268
        </activity>
269
        <activity android:name="org.kde.kdeconnect.Plugins.PhotoPlugin.PhotoActivity" />
270

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
271 272
    </application>

273
</manifest>