Merge "Remove unused variable from screencap." am: 376234fc74

am: 32bdb1e9b0

Change-Id: If4c2b39333270982975feb1745b3bbaaa3a177b8
This commit is contained in:
Steven Moreland
2017-09-19 03:29:20 +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());