-
Notifications
You must be signed in to change notification settings - Fork 772
fix: android PhoneCallManager #19638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-19638/index.html |
The build 156963 found UI Test snapshots differences: Details
|
a076b27
to
e9a2569
Compare
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-19638/index.html |
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-19638/index.html |
The build 157483 found UI Test snapshots differences: Details
|
@Mergifyio backport release/stable/5.6 |
✅ Backports have been created
|
…5.6/pr-19638 fix: android PhoneCallManager (backport #19638)
GitHub Issue (If applicable): closes #19633
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Telephony.Listen is deprecated for API >= 31, it causes a SecurityException now.
What is the new behavior?
Now we use Telephony.Listen if API < 31 and Telephony.RegisterTelephonyCallback if API >= 31. We also check the READ_PHONE_STATE permission that's required for this new method.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):