fix show foreground Activity failed (#64)

master
Wang DiYuan 5 years ago committed by Zhuang Ma
parent 66c93811c6
commit a7daf061bd
  1. 4
      README.en.md
  2. 4
      README.md

@ -645,13 +645,13 @@ adb shell pm clear com.qihoo360.mobilesafe
command: command:
```sh ```sh
adb shell dumpsys activity activities | grep mFocusedActivity adb shell dumpsys activity activities | grep mResumedActivity
``` ```
Example output: Example output:
```sh ```sh
mFocusedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t42} mResumedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t42}
``` ```
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.

@ -656,13 +656,13 @@ adb shell pm clear com.qihoo360.mobilesafe
命令: 命令:
```sh ```sh
adb shell dumpsys activity activities | grep mFocusedActivity adb shell dumpsys activity activities | grep mResumedActivity
``` ```
输出示例: 输出示例:
```sh ```sh
mFocusedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t42} mResumedActivity: ActivityRecord{8079d7e u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t42}
``` ```
其中的 `com.cyanogenmod.trebuchet/com.android.launcher3.Launcher` 就是当前处于前台的 Activity。 其中的 `com.cyanogenmod.trebuchet/com.android.launcher3.Launcher` 就是当前处于前台的 Activity。

Loading…
Cancel
Save