Skip to content
Commit cfed2326 authored by Umair Khan's avatar Umair Khan
Browse files

Broadcast an intent to mediascanner after executing screencap



PS2: Fix for spaces in file names

After doing screencap /sdcard/test.png in shell the screenshot is captured
but the gallery is not updated.
So we should broadcast the intent android.intent.action.MEDIA_SCANNER_SCAN_FILE
for the image to show up in gallery.

Change-Id: I8e384865082c717842d70d376d5828d74a2ad780
Signed-off-by: default avatarUmair Khan <omerjerk@gmail.com>
parent 1a3908e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment