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

Commit 376234fc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unused variable from screencap."

parents 2bcc7fac 8b3ed84f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -69,9 +69,6 @@ static SkColorType flinger2skia(PixelFormat f)

static status_t notifyMediaScanner(const char* fileName) {
    String8 cmd("am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file://");
    String8 fileUrl("\"");
    fileUrl.append(fileName);
    fileUrl.append("\"");
    cmd.append(fileName);
    cmd.append(" > /dev/null");
    int result = system(cmd.string());