Beginning May 11, Google will formally apply new Play Store standards prohibiting third-party applications from using the Accessibility API to capture call audio streams. For Android 10 devices, Google had already disabled the capability.
This policy will not affect the system or pre-installed programs that already have access to the Accessibility API. According to Google:
The Accessibility API is not meant for remote call audio recording and cannot be requested.
Because call recording regulations vary widely around the world, Google’s amended policies are an effort to increase privacy and security.
Native call recording functionality on phones like the Google Pixel and Xiaomi devices, on the other hand, is an exception that will be unaffected by the restrictions.
If the app is the phone’s default dialer and is also pre-loaded, accessibility is not necessary to listen to the incoming audio stream, hence it is not in violation.