mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Versioning, changelog
This commit is contained in:
parent
87ad638b56
commit
6226f2cd26
3 changed files with 15 additions and 12 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Wikimedia Commons for Android
|
||||
|
||||
## v1.6
|
||||
- Bugfix for invalid images
|
||||
|
||||
## v1.5
|
||||
- Caches area and associated categories
|
||||
- Increased search radius for nearby categories
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="fr.free.nrw.commons"
|
||||
android:versionCode="21"
|
||||
android:versionName="1.5" >
|
||||
android:versionCode="22"
|
||||
android:versionName="1.6" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="9"
|
||||
|
|
|
|||
|
|
@ -9,16 +9,17 @@ import android.os.Environment;
|
|||
import android.provider.MediaStore;
|
||||
import android.provider.DocumentsContract;
|
||||
|
||||
public class FileUtils {
|
||||
|
||||
/**
|
||||
/**
|
||||
* Get a file path from a Uri. This will get the the path for Storage Access
|
||||
* Framework Documents, as well as the _data field for the MediaStore and
|
||||
* other file-based ContentProviders.
|
||||
*
|
||||
* @param context The context.
|
||||
* @param uri The Uri to query.
|
||||
* @author paulburke
|
||||
*/
|
||||
|
||||
public class FileUtils {
|
||||
public static String getPath(final Context context, final Uri uri) {
|
||||
|
||||
final boolean isKitKat = Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
|
||||
|
|
@ -111,7 +112,6 @@ public class FileUtils {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param uri The Uri to check.
|
||||
* @return Whether the Uri authority is ExternalStorageProvider.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue