summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-02-06 21:09:18 +0100
committerArne Schwabe <arne@rfc2549.org>2013-02-06 21:09:18 +0100
commitb6386e685176add87a06943d34bf01d8cd1dbea4 (patch)
tree3368e1911439cfe139f1c22fe659f1de5160aa36 /src/de/blinkt/openvpn
parent8ad6cd40e27396a7ab50c011b74d5c7f3fa174c0 (diff)
Fix embedding inline files (closes issue #141)
increase version number
Diffstat (limited to 'src/de/blinkt/openvpn')
-rw-r--r--src/de/blinkt/openvpn/FileSelect.java3
-rw-r--r--src/de/blinkt/openvpn/InlineFileTab.java1
2 files changed, 2 insertions, 2 deletions
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());
}