accrescent / website

Landing page and documentation site for Accrescent
https://accrescent.app
Creative Commons Attribution 4.0 International
16 stars 4 forks source link

Add android.permission.GET_TASKS to Review List #12

Open sr093906 opened 1 year ago

sr093906 commented 1 year ago

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.

lberrymage commented 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.

https://cs.android.com/android/platform/superproject/+/master:frameworks/base/services/core/java/com/android/server/wm/ActivityTaskManagerService.java;l=3247?q=Manifest.permission.GET_TASKS&ss=android%2Fplatform%2Fsuperproject.

sr093906 commented 1 year ago

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