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()) {
|
||||
return
|
||||
}
|
||||
|
||||
val manager = activity.getSystemService(ShortcutManager::class.java)
|
||||
if (manager.isRequestPinShortcutSupported) {
|
||||
val path = getSelectedPaths().first()
|
||||
|
|
Loading…
Reference in a new issue