Closed luohong closed 1 year ago
adb shell dumpsys activity activities | grep mResumedActivity
@rafa0128 可以通过以上命令获取 get_focus_activity
你更新最新版还不行吗?
还是不行 2.4.7,还有这里多余
这里不是个方法,我弄错了,2.4.9试试,我自己的华为设备是可以的