Skip to content

Commit cf55869

Browse files
committed
service: Using dumpsys window visible-apps
1 parent 6fc47d6 commit cf55869

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jni/src/Dumpsys/Dumpsys.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void WindowDisplays(DumpsysWindowDisplays &result) {
2323
result.screen_awake = false;
2424
result.recent_app.clear();
2525

26-
auto pipe = popen_direct({"/system/bin/dumpsys", "window", "displays"});
26+
auto pipe = popen_direct({"/system/bin/dumpsys", "window", "visible-apps"});
2727

2828
if (!pipe) {
2929
std::string error_msg = "popen failed: ";

0 commit comments

Comments
 (0)