ActivityManager does not contain REAL_GET_TASKS warning

I get a warning message on my Android phone (Nexus 5) from ActivityManager. This does not seem to be from any particular application. And he continues to show about 2 seconds. Does anyone know why this is happening? Or what should I learn to learn more about this?

enter image description here

+4
source share
1 answer

It looks like the application uses the permission for GET_TASKS, which is deprecated in Lollipop: http://developer.android.com/reference/android/Manifest.permission.html#GET_TASKS

, REAL_GET_TASKS, ( , , ): https://code.google.com/p/android-developer-preview/issues/detail?id=2347

( ), 10078 - UID :

private boolean isGetTasksAllowed(String caller, int callingPid, int callingUid) {
...
if (!allowed) {
    Slog.w(TAG, caller + ": caller " + callingUid
    + " does not hold GET_TASKS; limiting output");
}

https://github.com/android/platform_frameworks_base/blob/master/services/core/java/com/android/server/am/ActivityManagerService.java

- ActivityManager: http://developer.android.com/reference/android/app/ActivityManager.html#getRunningAppProcesses%28%29

, 10078 uid . "adb shell", "id" , , .

0

Source: https://habr.com/ru/post/1608584/


All Articles