Merge "Remove unused variable from screencap."
am: 376234fc74
Change-Id: I5afb38c24ab6924925ab2852c5fe0ef29a91a2ff
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user