I'd like to show logs that contain MainActivity
but don't contain ActivityManager
, so that this match is excluded:
I/ActivityManager: Start proc 2666:com.example.app/u0000 for activity {com.example.app/com.example.app.MainActivity}
I tried as suggested here:
(?=(MainActivity))(?!(ActivityManager))
But it didn't work.