diff --git a/README.en.md b/README.en.md index 4e9552d..a0c5652 100644 --- a/README.en.md +++ b/README.en.md @@ -645,13 +645,13 @@ adb shell pm clear com.qihoo360.mobilesafe command: ```sh -adb shell dumpsys activity activities | grep mFocusedActivity +adb shell dumpsys activity activities | grep mResumedActivity ``` Example output: ```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. diff --git a/README.md b/README.md index 82152d6..f5e0e45 100644 --- a/README.md +++ b/README.md @@ -656,13 +656,13 @@ adb shell pm clear com.qihoo360.mobilesafe 命令: ```sh -adb shell dumpsys activity activities | grep mFocusedActivity +adb shell dumpsys activity activities | grep mResumedActivity ``` 输出示例: ```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。