From b6386e685176add87a06943d34bf01d8cd1dbea4 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 6 Feb 2013 21:09:18 +0100 Subject: Fix embedding inline files (closes issue #141) increase version number --- src/de/blinkt/openvpn/FileSelect.java | 3 ++- src/de/blinkt/openvpn/InlineFileTab.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/de/blinkt/openvpn/FileSelect.java b/src/de/blinkt/openvpn/FileSelect.java index b6239433..18448706 100644 --- a/src/de/blinkt/openvpn/FileSelect.java +++ b/src/de/blinkt/openvpn/FileSelect.java @@ -199,7 +199,8 @@ public class FileSelect extends Activity { public void saveInlineData(String string) { Intent intent = new Intent(); - intent.putExtra(RESULT_DATA, string); + + intent.putExtra(RESULT_DATA,VpnProfile.INLINE_TAG + string); setResult(Activity.RESULT_OK,intent); finish(); diff --git a/src/de/blinkt/openvpn/InlineFileTab.java b/src/de/blinkt/openvpn/InlineFileTab.java index 1104d290..47c02a09 100644 --- a/src/de/blinkt/openvpn/InlineFileTab.java +++ b/src/de/blinkt/openvpn/InlineFileTab.java @@ -19,7 +19,6 @@ public class InlineFileTab extends Fragment @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); - mInlineData.setText(((FileSelect)getActivity()).getInlineData()); } -- cgit v1.2.3