X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fcom%2Fstoutner%2Fprivacybrowser%2Fhelpers%2FFileNameHelper.java;h=980a838d90bf0d4b2055fed9cc39cf107e849e0a;hp=5eb194842c18def2bb775b33f8d2187a2776d42c;hb=adbf486b6abcc9387ff89f87c97503a8c58aedb2;hpb=a87ea266a0df9aca50f9bc8a58066a4c962ea515 diff --git a/app/src/main/java/com/stoutner/privacybrowser/helpers/FileNameHelper.java b/app/src/main/java/com/stoutner/privacybrowser/helpers/FileNameHelper.java index 5eb19484..980a838d 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/helpers/FileNameHelper.java +++ b/app/src/main/java/com/stoutner/privacybrowser/helpers/FileNameHelper.java @@ -1,5 +1,5 @@ /* - * Copyright © 2019 Soren Stoutner . + * Copyright © 2019-2020 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -38,7 +38,7 @@ public class FileNameHelper { String fileNameContentPath = rawFileNamePath.substring(0, rawFileNamePath.indexOf(":")); String fileNameFinalPath = rawFileNamePath.substring(rawFileNamePath.indexOf(":") + 1); - // Check to see if the current file name final patch is a complete, valid path + // Check to see if the current file name final patch is a complete, valid path. if (fileNameFinalPath.startsWith("/storage/emulated/")) { // The existing file name final path is a complete, valid path. // Use the provided file name path as is. fileNamePath = fileNameFinalPath;