mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-02-21 12:53:12 +01:00
Update MediaAdapter.kt
This commit is contained in:
parent
8c0f047809
commit
05fa21a085
1 changed files with 1 additions and 0 deletions
|
@ -389,6 +389,7 @@ class MediaAdapter(
|
||||||
if (!isOreoPlus()) {
|
if (!isOreoPlus()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val manager = activity.getSystemService(ShortcutManager::class.java)
|
val manager = activity.getSystemService(ShortcutManager::class.java)
|
||||||
if (manager.isRequestPinShortcutSupported) {
|
if (manager.isRequestPinShortcutSupported) {
|
||||||
val path = getSelectedPaths().first()
|
val path = getSelectedPaths().first()
|
||||||
|
|
Loading…
Reference in a new issue