Merge "Remove unused variable from screencap."

am: 376234fc74

Change-Id: I5afb38c24ab6924925ab2852c5fe0ef29a91a2ff
This commit is contained in:
Steven Moreland
2017-09-19 03:22:42 +00:00
committed by android-build-merger

View File

@@ -101,9 +101,6 @@ static uint32_t dataSpaceToInt(android_dataspace d)
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());