mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
revert to have parenthesis (for readability)
This commit is contained in:
parent
ec303f6493
commit
c767b93b76
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ public class MediaProvider {
|
||||||
|
|
||||||
// query media/image folders
|
// query media/image folders
|
||||||
Cursor cursorFolders = null;
|
Cursor cursorFolders = null;
|
||||||
if (activity != null && PermissionUtil.checkSelfPermission(activity.getApplicationContext(),
|
if ((activity != null && PermissionUtil.checkSelfPermission(activity.getApplicationContext(),
|
||||||
Manifest.permission.WRITE_EXTERNAL_STORAGE) || getWithoutActivity) {
|
Manifest.permission.WRITE_EXTERNAL_STORAGE)) || getWithoutActivity) {
|
||||||
cursorFolders = contentResolver.query(IMAGES_MEDIA_URI, IMAGES_FOLDER_PROJECTION, null, null,
|
cursorFolders = contentResolver.query(IMAGES_MEDIA_URI, IMAGES_FOLDER_PROJECTION, null, null,
|
||||||
IMAGES_FOLDER_SORT_ORDER);
|
IMAGES_FOLDER_SORT_ORDER);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue