diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-09-04 23:43:23 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-09-04 23:43:23 +0200 |
commit | bb2676577b916bddd91928b3122146b47e5f9e73 (patch) | |
tree | bda2c71dcad6c70ac89ca83388df2567074f6da9 /src/de/blinkt/openvpn/FileSelectLayout.java | |
parent | d66f46183788604952377a60069625ec7b00f455 (diff) |
Allow embedding of plcs12 files from the fileselect dialog
Diffstat (limited to 'src/de/blinkt/openvpn/FileSelectLayout.java')
-rw-r--r-- | src/de/blinkt/openvpn/FileSelectLayout.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/de/blinkt/openvpn/FileSelectLayout.java b/src/de/blinkt/openvpn/FileSelectLayout.java index fb563f5d..93e438fc 100644 --- a/src/de/blinkt/openvpn/FileSelectLayout.java +++ b/src/de/blinkt/openvpn/FileSelectLayout.java @@ -19,7 +19,7 @@ public class FileSelectLayout extends LinearLayout implements OnClickListener { private Fragment mFragment; private int mTaskId; private Button mSelectButton; - private boolean mNoInline; + private boolean mBase64Encode; private String mTitle; private boolean mShowClear; @@ -50,8 +50,8 @@ public class FileSelectLayout extends LinearLayout implements OnClickListener { Intent startFC = new Intent(getContext(),FileSelect.class); startFC.putExtra(FileSelect.START_DATA, mData); startFC.putExtra(FileSelect.WINDOW_TITLE,mTitle); - if(mNoInline) - startFC.putExtra(FileSelect.NO_INLINE_SELECTION, true); + if(mBase64Encode) + startFC.putExtra(FileSelect.DO_BASE64_ENCODE, true); if(mShowClear) startFC.putExtra(FileSelect.SHOW_CLEAR_BUTTON, true); mFragment.startActivityForResult(startFC,mTaskId); @@ -80,8 +80,8 @@ public class FileSelectLayout extends LinearLayout implements OnClickListener { } } - public void setNoline() { - mNoInline=true; + public void setBase64Encode() { + mBase64Encode =true; } public void setShowClear() { |