Merge "Remove unused variable from screencap." am: 376234fc74 am: 32bdb1e9b0
am: 0fcb7719e0
Change-Id: I6aebd6df0bf9734e1567db31d31bfe85609cbb48
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