Skip to content

Commit 3f8b957

Browse files
Treehugger Robotandroid-build-merge-worker-robot
authored andcommitted
Merge "HWC screencap portability improvement" into main am: 5f9c786 am: d8bfaae
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3228768 Change-Id: I4931567ea89eadf945a4bc077881270f3a3697d9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2 parents e23f11c + d8bfaae commit 3f8b957

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmds/dumpstate/dumpstate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4656,7 +4656,7 @@ void Dumpstate::UpdateProgress(int32_t delta_sec) {
46564656
void Dumpstate::TakeScreenshot(const std::string& path) {
46574657
const std::string& real_path = path.empty() ? screenshot_path_ : path;
46584658
int status =
4659-
RunCommand("", {"/system/bin/screencap", "-p", real_path},
4659+
RunCommand("", {"screencap", "-p", real_path},
46604660
CommandOptions::WithTimeout(10).Always().DropRoot().RedirectStderr().Build());
46614661
if (status == 0) {
46624662
MYLOGD("Screenshot saved on %s\n", real_path.c_str());

0 commit comments

Comments
 (0)