Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Display file name after export
Browse files Browse the repository at this point in the history
Fixed #680
  • Loading branch information
Marcel Bokhorst committed Sep 15, 2013
1 parent ef57fcd commit e8d4ca1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/biz/bokhorst/xprivacy/ActivityShare.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit e8d4ca1

Please sign in to comment.