Merge "Remove unused variable from screencap."
This commit is contained in:
@@ -69,9 +69,6 @@ static SkColorType flinger2skia(PixelFormat f)
|
||||
|
||||
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