I can't seem to find it in the Manifest.permission page on the Android developer website. I see GET_TASKS but it's deprecated.
1 Answers
As per @CommonsWare's answer:
REAL_GET_TASKS
is asignature
-level permission; it cannot be held by ordinary Android SDK apps.
Also a comment by @Gürol'Ca on his answer:
GET_TASKS
was a 'normal' permission which can be requested by 3rd party applications. However,REAL_GET_TASKS
's protection level issignature
or system which cannot be requested by 3rd party applications.
When checking the official documents about < permission > - android:protectionLevel:
"signature"
A permission that the system grants only if the requesting application is signed with the same certificate as the application that declared the permission. If the certificates match, the system automatically grants the permission without notifying the user or asking for the user's explicit approval.
Wasn't able to find a totally clear description, or a doc that defines it completely in detail. But I think basing from these, it seems that it is a permission with regards to App Signing.
Cheers!
-
So does REAL_GET_TASKS replace the deprecated GET_TASKS, except it cannot be used by ordinary 3rd party Android apps? – user1118764 Jun 01 '16 at 02:10
-
I'm not entirely sure. But, yeah. I think so. If you can see the [answer](http://stackoverflow.com/a/27974754/4625829) of @Caqtus, it was mentioned that *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*** – AL. Jun 01 '16 at 02:15