adb 命令 dumpsys activity , 用来看 task 中的activity。

在模拟器上把这个应用程序再次跑起来,用“adb shell dumpsys activity”命令再来查看一下系统运行的的任务,就会看到:

 

[html] view plaincopy
 

Running activities (most recent first):  

  •       Run #0: HistoryRecord{40646628 com.android.launcher/com.android.launcher2.Launcher}  

posted @ 2016-11-22 21:13  天涯海角路  阅读(75)  评论(0)    收藏  举报