- Jun 30, 2020
- 19
- 15
I captured logcat with this command on Termux:
su system -c logcat |grep getRecentTasks |head -n 10 >/storage/emulated/0/logcat.log
Code:
10-05 11:15:06.609 3138 3477 E ActivityManagerWrapper: getRecentTasks: size=4
10-05 11:15:06.609 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=363 userId=0 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{com.termux/com.termux.app.TermuxActivity} }
10-05 11:15:06.609 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=362 userId=0 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{com.f0x1d.logfox/com.f0x1d.logfox.ui.activity.MainActivity} }
10-05 11:15:06.609 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=358 userId=0 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{org.mozilla.firefox/org.mozilla.firefox.App} }
10-05 11:15:06.609 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=359 userId=0 baseIntent=Intent { act=android.settings.SETTINGS flag=335544320 cmp=ComponentInfo{com.android.settings/com.android.settings.MiuiSettings} }
10-05 11:15:06.620 3138 3477 E ActivityManagerWrapper: getRecentTasks: size=4
10-05 11:15:06.620 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=363 userId=0 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{com.termux/com.termux.app.TermuxActivity} }
10-05 11:15:06.620 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=362 userId=0 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{com.f0x1d.logfox/com.f0x1d.logfox.ui.activity.MainActivity} }
10-05 11:15:06.620 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=358 userId=0 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{org.mozilla.firefox/org.mozilla.firefox.App} }
10-05 11:15:06.620 3138 3477 E ActivityManagerWrapper: getRecentTasks: mainTaskId=359 userId=0 baseIntent=Intent { act=android.settings.SETTINGS flag=335544320 cmp=ComponentInfo{com.android.settings/com.android.settings.MiuiSettings} }