Fix command of show foreground activity

fix #59
ref #64
master
Zhuang Ma 5 years ago
parent a7daf061bd
commit 59ebf42927
  1. 2
      README.en.md
  2. 2
      README.md

@ -656,6 +656,8 @@ mResumedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.androi
Where `com.cyanogenmod.trebuchet / com.android.launcher3.Launcher` is currently in the foreground Activity. Where `com.cyanogenmod.trebuchet / com.android.launcher3.Launcher` is currently in the foreground Activity.
*The command above may not valid in Windows, you can try `adb shell dumpsys activity activities | findstr mResumedActivity` or `adb shell "dumpsys activity activities | grep mResumedActivity"`.
### View Running Services ### View Running Services
command: command:

@ -667,6 +667,8 @@ mResumedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.androi
其中的 `com.cyanogenmod.trebuchet/com.android.launcher3.Launcher` 就是当前处于前台的 Activity。 其中的 `com.cyanogenmod.trebuchet/com.android.launcher3.Launcher` 就是当前处于前台的 Activity。
*在 Windows 下以上命令可能不可用,可以尝试 `adb shell dumpsys activity activities | findstr mResumedActivity``adb shell "dumpsys activity activities | grep mResumedActivity"`。*
### 查看正在运行的 Services ### 查看正在运行的 Services
命令: 命令:

Loading…
Cancel
Save