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

Commit 8131418c authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera service: Clean up dump() command indenting.

In preparation for fixing dump() for Treble codepath.

Test: Compiles
Bug: 32991422
Change-Id: I1d889361e4836b75483e066b97de4015a2ef84cf
parent 6963d0ad
Loading
Loading
Loading
Loading
+143 −142
Original line number Diff line number Diff line
@@ -2750,7 +2750,9 @@ status_t CameraService::dump(int fd, const Vector<String16>& args) {
                getCallingPid(),
                getCallingUid());
        write(fd, result.string(), result.size());
    } else {
        return NO_ERROR;
    }

    bool locked = tryLock(mServiceLock);
    // failed to lock - CameraService is probably deadlocked
    if (!locked) {
@@ -2920,7 +2922,6 @@ status_t CameraService::dump(int fd, const Vector<String16>& args) {
            }
        }
    }
    }
    return NO_ERROR;
}