windows adb shell dumpsys window | findStr mFocused mac(linux) adb shell dumpsys window | grep mFocused 效果