From e8d4ca1ec2cf86cbea9756ef9865ac7d35a5dffa Mon Sep 17 00:00:00 2001 From: Marcel Bokhorst Date: Sun, 15 Sep 2013 10:54:16 +0200 Subject: [PATCH] Display file name after export Fixed #680 --- CHANGELOG.md | 3 ++- src/biz/bokhorst/xprivacy/ActivityShare.java | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdcd972cf..a53ce9016 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ Changelog * Group some application menu items (thanks @[tonymanou](https://github.com/tonymanou)) * Prevent user/system application filter both being applied * Auto fix folder permissions -* Added icon for user application filter, thanks @[Looki75](http://forum.xda-developers.com/member.php?u=2468642) for the icon +* Added icon for user application filter, thanks @[Looki75](http://forum.xda-developers.com/member.php?u=2468642) +* Display file name after export ([issue](https://github.com/M66B/XPrivacy/issues/680)) * Updated Hindi translation * Updated Japanese translation * Updated Lithuanian translation diff --git a/src/biz/bokhorst/xprivacy/ActivityShare.java b/src/biz/bokhorst/xprivacy/ActivityShare.java index bbca2a33e..d962a2a9c 100644 --- a/src/biz/bokhorst/xprivacy/ActivityShare.java +++ b/src/biz/bokhorst/xprivacy/ActivityShare.java @@ -54,6 +54,7 @@ import android.support.v4.app.NotificationCompat; import android.util.Log; import android.util.Xml; +import android.widget.Toast; public class ActivityShare extends Activity { public static final String cFileName = "FileName"; @@ -213,6 +214,9 @@ protected void onPostExecute(String result) { intent.putExtra(cFileName, mFile.getAbsolutePath()); setResult(result.equals(getString(R.string.msg_done)) ? 0 : 1, intent); finish(); + + Toast toast = Toast.makeText(ActivityShare.this, mFile.getAbsolutePath(), Toast.LENGTH_LONG); + toast.show(); super.onPostExecute(result); }