diff options
Diffstat (limited to 'src/de/blinkt/openvpn/activities/FileSelect.java')
-rw-r--r-- | src/de/blinkt/openvpn/activities/FileSelect.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/activities/FileSelect.java b/src/de/blinkt/openvpn/activities/FileSelect.java index 50584063..8967b1bf 100644 --- a/src/de/blinkt/openvpn/activities/FileSelect.java +++ b/src/de/blinkt/openvpn/activities/FileSelect.java @@ -185,15 +185,15 @@ public class FileSelect extends Activity { } public String getSelectPath() { - if(!mData.startsWith(VpnProfile.INLINE_TAG)) + if(VpnProfile.isEmbedded(mData)) return mData; else return Environment.getExternalStorageDirectory().getPath(); } public CharSequence getInlineData() { - if(mData.startsWith(VpnProfile.INLINE_TAG)) - return mData.substring(VpnProfile.INLINE_TAG.length()); + if(VpnProfile.isEmbedded(mData)) + return VpnProfile.getEmbeddedContent(mData); else return ""; } |