Joerg Lorenz wrote:
> Ian:
>
>> Probably already well known by such a techy group but Android 9 disables
>> all call recording apps. Bastards. Luckily I didn't update
>
> They are simply illegal.
Not true. If the callee identifies to the caller that the call is being
recorded and the caller agrees then there is illegality. If the call
has a repeated beep to identify the call is being recorded then that is
not an illegal recording. Providers still offer the service to record
incoming calls. The choice by Google is their own choice and not based
on the legality of recording calls.
The OP never mentioned from which country the calls originated. So
neither you or I can address is recording the call is illegal on a
global basis. We can only speak regarding what is allowed in our own
country. The callee is only responsible to comply with the laws of his
locality, state, or country, not with those of the caller.
Google has many times giveth and then taketh away. Some apps used to
monitor for spam calls and they could also monitor for spam texts. That
was up to Android 4.4.3 which thereafter the anti-spam apps could only
see the source of the call and no longer could see the source of a text,
yet lots of those anti-spam apps still declare then can block spam
texts.
That apps can no longer record incoming calls has nothing to do with
legality. It all has to do with Google deciding to remove some or all
of an API that the apps used to record the calls (instead of the apps
using their own code which may require rooting the phone).
https://developer.android.com/guide/topics/media/mediarecorder
RECORD_AUDIO is considered a "dangerous" permission because it may
pose a risk to the user's privacy.
As of Android 6, users got prompted when an app wanted access to a
dangerous permission, and at some point Google decided to prompt the
user on all of what permissions an app can have. This didn't meant
users were instantly and magically educated about the permissions but
they were told an app wanted one, or more. An app, for example, could
run in the background and record all your calls, not just the calls you
chose to record, and even send the recordings to somewhere.
Google did NOT disable the ability of apps to record a call in Android 9
Pie. What they did was change the API so *background* apps could no
longer keep recording the incoming calls. The user now has to take
overt action to record a call and that meant the app must be
foregrounded.
(from the above article)
Note: On devices running Android 9 (API level 28) or higher, apps
running in the background cannot access the microphone. Therefore,
your app should record audio only when it's in the foreground or when
you include an instance of MediaRecorder in a foreground service.
That means your recording app must be foregrounded for it to record the
call, not hiding as either a backgrounded app or running as a service.
The recording app must now change from a hidden and automatic recording
app to itself being a dialer that you use to make the outgoing call or
as a substitute "phone" app that appears for you to accept an incoming
call. There might be other means of getting the app to appear and in
the foreground when a new call comes in but the obvious one is to use a
Phone app to take the incoming calls and which adds a recording option.
Recording apps that only record are going to get killed. Those single-
purpose backgrounded apps that only record a call won't work, anymore.
However, as a phone app that has you decided to take the call and is
foregrounded then those can still record your calls. Or you root your
phone to get around the limitation.