"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packaging/android/apk/src/org/krita/android/ConfigsManager.java" between
krita-5.1.3.tar.xz and krita-5.1.4.tar.xz

About: Krita is a painting program offering art tools for everyone (concept art, texture and matte painters, illustrations and comics).

ConfigsManager.java  (krita-5.1.3.tar.xz):ConfigsManager.java  (krita-5.1.4.tar.xz)
skipping to change at line 179 skipping to change at line 179
private String basePath(String path) { private String basePath(String path) {
for (int i = path.length() - 1; i >= 0; --i) { for (int i = path.length() - 1; i >= 0; --i) {
if (path.charAt(i) == '/') { if (path.charAt(i) == '/') {
return path.substring(0, i); return path.substring(0, i);
} }
} }
return ""; return "";
} }
private String getStorageDir() { private String getStorageDir() {
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNT return mActivity.getFilesDir().getAbsolutePath();
ED)) {
return mActivity.getExternalFilesDir(null).getAbsolutePath();
} else {
return mActivity.getFilesDir().getAbsolutePath();
}
} }
} }
 End of changes. 1 change blocks. 
6 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)