Explicitly grant and revoke read permission when playing a track

This commit is contained in:
Jimmy Shih
2013-12-06 11:11:41 -08:00
parent 61bc8f5bbe
commit caa1680dc6
3 changed files with 5 additions and 2 deletions
@@ -207,7 +207,7 @@ public class SaveActivity extends Activity {
savedPath = aSavedPath;
removeDialog(DIALOG_PROGRESS_ID);
if (playTrack && successCount == 1 && totalCount == 1 && savedPath != null) {
startActivity(GoogleEarthUtils.getPlayInEarthIntent(savedPath));
startActivity(GoogleEarthUtils.getPlayInEarthIntent(this, savedPath));
finish();
} else {
showDialog(DIALOG_RESULT_ID);