do not show Portrait files on Android 11 by default
This commit is contained in:
parent
e09151a511
commit
7e69c392a4
1 changed files with 1 additions and 7 deletions
|
@ -171,13 +171,7 @@ const val TYPE_RAWS = 8
|
||||||
const val TYPE_SVGS = 16
|
const val TYPE_SVGS = 16
|
||||||
const val TYPE_PORTRAITS = 32
|
const val TYPE_PORTRAITS = 32
|
||||||
|
|
||||||
fun getDefaultFileFilter(): Int {
|
fun getDefaultFileFilter() = TYPE_IMAGES or TYPE_VIDEOS or TYPE_GIFS or TYPE_RAWS or TYPE_SVGS
|
||||||
var mask = TYPE_IMAGES or TYPE_VIDEOS or TYPE_GIFS or TYPE_RAWS or TYPE_SVGS
|
|
||||||
if (isQPlus()) {
|
|
||||||
mask += TYPE_PORTRAITS
|
|
||||||
}
|
|
||||||
return mask
|
|
||||||
}
|
|
||||||
|
|
||||||
const val LOCATION_INTERNAL = 1
|
const val LOCATION_INTERNAL = 1
|
||||||
const val LOCATION_SD = 2
|
const val LOCATION_SD = 2
|
||||||
|
|
Loading…
Reference in a new issue