Remove unused variable from screencap.

Noticed while working on b/65206688.

Test: links
Change-Id: Ia4d67022eb5c500372090c0e025e340989c41643
This commit is contained in:
Steven Moreland
2017-08-30 17:03:53 -07:00
parent 7d4e9b81b4
commit 8b3ed84fc3

View File

@@ -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());