https://github.com/joshfriend/gofccyourself
A super basic call screening app for Android Q
https://github.com/joshfriend/gofccyourself
android kotlin
Last synced: 10 months ago
JSON representation
A super basic call screening app for Android Q
- Host: GitHub
- URL: https://github.com/joshfriend/gofccyourself
- Owner: joshfriend
- Created: 2019-04-07T18:59:48.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-04-28T03:12:34.000Z (about 4 years ago)
- Last Synced: 2025-01-13T14:44:18.336Z (over 1 year ago)
- Topics: android, kotlin
- Language: Kotlin
- Homepage: http://gofccyourself.com
- Size: 80.1 KB
- Stars: 40
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
_An homage to John Oliver's ["Go FCC Yourself" campaign][ars-article]_
## How it works
This app uses the new [`RoleManager`][role-manager] in Android Q to become the system [`CallScreeningService`][call-screening-service]. This service type has been available since Android 7.0 (Nougat), but was only usable if the app was the current default dialer app.
When the service receives an incoming call, it rejects the call if the number is not in the user's contact list. The call will go straight to voicemail without ringing. It can optionally hide the missed call notification and not list the call in the dialer's call log
[ars-article]: https://arstechnica.com/tech-policy/2017/05/john-oliver-tackles-net-neutrality-again-crashes-fcc-comments-site-again/
[role-manager]: https://developer.android.com/reference/android/app/role/RoleManager
[call-screening-service]: https://developer.android.com/reference/android/telecom/CallScreeningService