Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30f99bc8 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6900534 from cae4a6d8 to rvc-qpr2-release

Change-Id: Idae6b0ae4898df0c0b9a24098caccc2a69efc3d0
parents ba8b348a cae4a6d8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -454,6 +454,13 @@ static void DumpTouch(int fd) {
                 touch_spi_path, touch_spi_path);
        RunCommandToFd(fd, "Self Raw Cap", {"/vendor/bin/sh", "-c", cmd});

        //TYPE_OFFSET_DATA_SEC
        snprintf(cmd, sizeof(cmd),
                 "echo %s > %s/cmd && cat %s/cmd_result",
                 "run_rawdata_read_type,19",
                 touch_spi_path, touch_spi_path);
        RunCommandToFd(fd, "TYPE_OFFSET_DATA_SEC", {"/vendor/bin/sh", "-c", cmd});

        //TYPE_AMBIENT_DATA
        snprintf(cmd, sizeof(cmd),
                 "echo %s > %s/cmd && cat %s/cmd_result",