175 lines
7.0 KiB
XML
175 lines
7.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="dummydomain.yetanothercallblocker">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />
|
|
<uses-permission android:name="android.permission.CALL_PHONE" />
|
|
<uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.READ_LOG" android:maxSdkVersion="15" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.intent.action.DIAL" />
|
|
</intent>
|
|
<intent>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<data android:scheme="tel" />
|
|
</intent>
|
|
<intent>
|
|
<action android:name="android.intent.action.PROCESS_TEXT" />
|
|
<data android:mimeType="text/plain" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<application
|
|
android:name=".App"
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme"
|
|
tools:ignore="GoogleAppIndexingWarning">
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTop">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".LookupNumberActivity"
|
|
android:label="@string/title_lookup_number"
|
|
android:parentActivityName=".MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".MainActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".BlacklistActivity"
|
|
android:label="@string/title_blacklist_activity"
|
|
android:launchMode="singleTop"
|
|
android:parentActivityName=".MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".MainActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".EditBlacklistItemActivity"
|
|
android:label="@string/title_add_blacklist_item_activity"
|
|
android:parentActivityName=".BlacklistActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".BlacklistActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".SettingsActivity"
|
|
android:label="@string/title_settings_activity"
|
|
android:parentActivityName=".MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".MainActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".DbManagementActivity"
|
|
android:label="@string/db_management_activity_label" />
|
|
<activity
|
|
android:name=".ReviewsActivity"
|
|
android:label="@string/title_activity_reviews"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
|
<activity
|
|
android:name=".InfoDialogActivity"
|
|
android:autoRemoveFromRecents="true"
|
|
android:excludeFromRecents="true"
|
|
android:noHistory="true"
|
|
android:theme="@style/DialogBackgroundTheme" />
|
|
<activity
|
|
android:name=".DummyDialerActivity"
|
|
android:autoRemoveFromRecents="true"
|
|
android:directBootAware="true"
|
|
android:excludeFromRecents="true"
|
|
android:exported="true"
|
|
android:noHistory="true"
|
|
android:theme="@style/DialogBackgroundTheme">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<action android:name="android.intent.action.DIAL" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:scheme="tel" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.DIAL" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".AboutActivity"
|
|
android:label="@string/about_activity"
|
|
android:parentActivityName=".MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".MainActivity" />
|
|
</activity>
|
|
|
|
<receiver
|
|
android:name=".StartupReceiver"
|
|
android:directBootAware="true"
|
|
android:enabled="false"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver
|
|
android:name=".PhoneStateBroadcastReceiver"
|
|
android:directBootAware="true"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.PHONE_STATE" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<service android:name=".work.TaskService" />
|
|
<service
|
|
android:name=".CallMonitoringService"
|
|
android:description="@string/monitoring_service_description"
|
|
android:directBootAware="true"
|
|
android:exported="false"
|
|
android:label="@string/monitoring_service_label" />
|
|
<service
|
|
android:name=".CallScreeningServiceImpl"
|
|
android:directBootAware="true"
|
|
android:exported="true"
|
|
android:permission="android.permission.BIND_SCREENING_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.telecom.CallScreeningService" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<provider
|
|
android:name="androidx.core.content.FileProvider"
|
|
android:authorities="${applicationId}.fileprovider"
|
|
android:exported="false"
|
|
android:grantUriPermissions="true">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/file_paths" />
|
|
</provider>
|
|
</application>
|
|
|
|
</manifest> |