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
|
||||
Cursor cursorFolders = null;
|
||||
if (activity != null && PermissionUtil.checkSelfPermission(activity.getApplicationContext(),
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE) || getWithoutActivity) {
|
||||
if ((activity != null && PermissionUtil.checkSelfPermission(activity.getApplicationContext(),
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE)) || getWithoutActivity) {
|
||||
cursorFolders = contentResolver.query(IMAGES_MEDIA_URI, IMAGES_FOLDER_PROJECTION, null, null,
|
||||
IMAGES_FOLDER_SORT_ORDER);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue