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" />
|
2020-06-13 11:06:35 +02:00
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
2020-07-04 13:51:26 +02:00
|
|
|
<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 -->
|
2019-12-01 10:47:00 +01:00
|
|
|
<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">
|
2020-06-12 14:19:15 +02:00
|
|
|
<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>
|
2020-05-16 17:44:55 +02:00
|
|
|
<activity
|
|
|
|
android:name=".SettingsActivity"
|
|
|
|
android:label="@string/title_settings_activity">
|
|
|
|
<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-06-12 14:19:15 +02:00
|
|
|
android:label="@string/debug_activity_label">
|
|
|
|
<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"
|
2020-06-12 14:19:15 +02:00
|
|
|
android:launchMode="singleTop"
|
2019-06-09 16:23:20 +02:00
|
|
|
android:theme="@style/AppTheme.NoActionBar" />
|
2019-03-25 12:07:08 +01:00
|
|
|
|
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" />
|
|
|
|
|
2020-06-21 16:40:58 +02:00
|
|
|
<activity
|
|
|
|
android:name=".DummyDialerActivity"
|
|
|
|
android:autoRemoveFromRecents="true"
|
2020-07-02 17:12:04 +02:00
|
|
|
android:directBootAware="true"
|
2020-06-21 16:40:58 +02:00
|
|
|
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>
|
2020-05-06 11:15:34 +02:00
|
|
|
|
|
|
|
<service android:name=".work.TaskService" />
|
2020-06-21 16:40:58 +02:00
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".CallScreeningServiceImpl"
|
2020-07-02 17:12:04 +02:00
|
|
|
android:directBootAware="true"
|
2020-06-21 16:40:58 +02:00
|
|
|
android:permission="android.permission.BIND_SCREENING_SERVICE">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.telecom.CallScreeningService" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
2019-03-25 12:07:08 +01:00
|
|
|
</application>
|
|
|
|
|
|
|
|
</manifest>
|