Open sr093906 opened 1 year ago
It doesn't seem like this is an issue on Android 5+ devices, as GET_TASKS
is deprecated and restricted to system apps:
https://developer.android.com/reference/android/Manifest.permission#GET_TASKS
This constant was deprecated in API level 21. No longer enforced.
https://developer.android.com/reference/android/app/ActivityManager.html#getRecentTasks(int,%20int)
This method was deprecated in API level 21. As of Build.VERSION_CODES.LOLLIPOP, this method is no longer available to third party applications: the introduction of document-centric recents means it can leak personal information to the caller. For backwards compatibility, it will still return a small subset of its data: at least the caller's own tasks (though see [getAppTasks()](https://developer.android.com/reference/android/app/ActivityManager#getAppTasks()) for the correct supported way to retrieve that information), and possibly some other tasks such as home that are known to not be sensitive.
Maybe I gave the wrong name. I notice there is a permission called retrieve running apps on several popular apps.
One example:
https://play.google.com/store/apps/details?id=jp.naver.line.android&hl=en_US&gl=US
click 'about this app', and scroll down to click 'view details'.
Under 'Device & app history', there is 'retrieve running apps'.
Android 8.0 and up shows as the minimum required Android version to install it on my Pixel with Android 13
Retrieving running apps permission allows apps to retrieve info about currently and recently running tasks. This allows the apps to discover info about which apps are used on the device. Only specific kinds of apps will need such a permission.