File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 66 android : name =" android.hardware.telephony"
77 android : required =" false" />
88
9- <uses-permission android : name =" android.permission.INTERNET" />
10-
9+ <!-- for call -->
1110 <uses-permission android : name =" android.permission.READ_CALL_LOG" />
1211 <uses-permission android : name =" android.permission.READ_PHONE_STATE" />
1312 <uses-permission android : name =" android.permission.ANSWER_PHONE_CALLS" />
1413
14+ <!-- for contacts -->
15+ <uses-permission android : name =" android.permission.READ_CONTACTS" />
16+
17+ <uses-permission android : name =" android.permission.INTERNET" />
18+
1519 <uses-permission android : name =" android.permission.POST_NOTIFICATIONS" />
1620
1721 <application
2226 android : label =" @string/app_name"
2327 android : supportsRtl =" true"
2428 android : theme =" @style/Theme.ListaSpam"
25- tools : targetApi =" 31 " >
29+ tools : targetApi =" 28 " >
2630 <activity
2731 android : name =" .MainActivity"
2832 android : exported =" true" >
3337 </intent-filter >
3438 </activity >
3539
36- <receiver
37- android : name =" .MyCallReceiver"
38- android : exported =" true" >
39- <intent-filter >
40- <action android : name =" android.intent.action.PHONE_STATE" />
41- <action android : name =" android.permission.READ_CALL_LOG" />
42- </intent-filter >
43- </receiver >
44-
4540 <service
4641 android : name =" .MyCallScreeningService"
4742 android : exported =" true"
5146 </intent-filter >
5247 </service >
5348
49+ <receiver
50+ android : name =" .MyCallReceiver"
51+ android : exported =" true" >
52+ <intent-filter >
53+ <action android : name =" android.intent.action.PHONE_STATE" />
54+ <action android : name =" android.permission.READ_CALL_LOG" />
55+ </intent-filter >
56+ </receiver >
5457 </application >
5558
5659</manifest >
You can’t perform that action at this time.
0 commit comments