Skip to content
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

Add android.permission.GET_TASKS to Review List #12

Open
sr093906 opened this issue Jan 30, 2023 · 2 comments
Open

Add android.permission.GET_TASKS to Review List #12

sr093906 opened this issue Jan 30, 2023 · 2 comments

Comments

@sr093906
Copy link

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
Copy link
Member

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() 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
Copy link
Author

sr093906 commented Jan 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants