mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
Update MediaAdapter.kt
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user