Commit 87c766bd authored by vince-bourgmayer's avatar vince-bourgmayer

cherry pick 3472701f

parent b1a1b558
......@@ -156,7 +156,6 @@ public abstract class CommonUtils {
* @return String, the last part after separator of path or null if invalid path has been provided
*/
public static String getFileNameFromPath(String path) {
Log.i(TAG, "getFileNameFromPath("+path+")");
try{
String[] splittedString = path.split(FileUtils.PATH_SEPARATOR);
return splittedString[splittedString.length - 1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment