YetAnotherCallBlocker/app/src/main/AndroidManifest.xml

141 lines
5.8 KiB
XML
Raw Normal View History

2019-03-25 12:07:08 +01:00
<?xml version="1.0" encoding="utf-8"?>
2019-03-18 13:25:48 +01:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-09 16:23:20 +02:00
xmlns:tools="http://schemas.android.com/tools"
2019-03-18 13:25:48 +01:00
package="dummydomain.yetanothercallblocker">
2019-03-25 12:07:08 +01:00
<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" />
2019-06-09 20:13:27 +02:00
<uses-permission android:name="android.permission.CALL_PHONE" />
2020-01-16 09:42:29 +01:00
<uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
2020-05-07 15:46:32 +02:00
<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" />
2019-03-25 12:07:08 +01:00
2020-01-16 09:42:29 +01:00
<!-- may be needed for call blocking on Android 9, also requires to be installed as a system app -->
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE"
tools:ignore="ProtectedPermissions" />
2019-03-18 13:25:48 +01:00
<application
2019-03-25 12:07:08 +01:00
android:name=".App"
2019-03-18 13:25:48 +01:00
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
2019-06-09 16:23:20 +02:00
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name=".MainActivity"
android:launchMode="singleTop">
2019-03-25 12:07:08 +01:00
<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>
2020-08-03 23:19:16 +02:00
<activity
android:name=".BlacklistActivity"
android:label="@string/title_blacklist_activity"
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"
2020-08-03 23:19:16 +02:00
android:label="@string/title_settings_activity"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
2019-06-09 16:23:20 +02:00
<activity
android:name=".DebugActivity"
2020-08-03 23:19:16 +02:00
android:label="@string/debug_activity_label"
android:parentActivityName=".MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
2019-03-25 12:07:08 +01:00
<activity
android:name=".ReviewsActivity"
android:label="@string/title_activity_reviews"
android:launchMode="singleTop"
2019-06-09 16:23:20 +02:00
android:theme="@style/AppTheme.NoActionBar" />
2020-05-07 19:35:55 +02:00
<activity
android:name=".InfoDialogActivity"
android:autoRemoveFromRecents="true"
android:excludeFromRecents="true"
android:noHistory="true"
android:theme="@style/DialogBackgroundTheme" />
<activity
android:name=".DummyDialerActivity"
android:autoRemoveFromRecents="true"
2020-07-02 17:12:04 +02:00
android:directBootAware="true"
android:excludeFromRecents="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>
2019-03-25 12:07:08 +01:00
<receiver
android:name=".CallReceiver"
2020-07-02 17:12:04 +02:00
android:directBootAware="true"
2019-03-25 12:07:08 +01:00
android:enabled="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=".CallScreeningServiceImpl"
2020-07-02 17:12:04 +02:00
android:directBootAware="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="dummydomain.yetanothercallblocker.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
2019-03-25 12:07:08 +01:00
</application>
</manifest>