Search code examples
androidlogcat

Monitoring startActivity in logcat


I remember back in the day with Android 2.x, it was possible for apps to monitor the logcat with a READ_LOGS permission. Apps could even detect activity launches from logcat. However, this stopped being possible with later versions of Android. Does anyone know which version of Android stopped this, and specifically what was done to stop it? Did logcat just stop displaying these Intents, or was it just no longer possible for apps to view logcat info not belonging to themselves?

Thanks!


Solution

  • Starting from Android 4.1 (Jelly Bean) logcat wrapped in Sandbox for security reasons, which means apps only allowed to read the logs generated by the app itself.