Loading cmds/screencap/screencap.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -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()); Loading Loading
cmds/screencap/screencap.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -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()); Loading