68 lines
No EOL
2.4 KiB
XML
68 lines
No EOL
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="net.osmand.telegram">
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<application
|
|
android:name="net.osmand.telegram.TelegramApplication"
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/product_icon"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleTask"
|
|
android:screenOrientation="unspecified"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme">
|
|
|
|
<activity
|
|
android:name=".ui.MainActivity"
|
|
android:configChanges="orientation|screenSize"
|
|
android:launchMode="singleTask"
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
android:host="main_activity"
|
|
android:scheme="osmand_telegram" />
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".TelegramService"
|
|
android:label="@string/process_service"
|
|
android:stopWithTask="false">
|
|
<intent-filter>
|
|
<action android:name="net.osmand.telegram.TelegramService" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<receiver android:name=".OnTelegramServiceAlarmReceiver" />
|
|
|
|
<provider
|
|
android:name="android.support.v4.content.FileProvider"
|
|
android:authorities="net.osmand.telegram.fileprovider"
|
|
android:grantUriPermissions="true"
|
|
android:exported="false">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/paths" />
|
|
</provider>
|
|
|
|
</application>
|
|
|
|
</manifest> |