mirror of
https://github.com/AChep/keyguard-app.git
synced 2025-02-01 14:56:49 +01:00
fix(Android): Limit the number of dynamic shortcuts to getMaxShortcutCountPerActivity
This commit is contained in:
parent
4bb445d029
commit
bca90b296d
@ -253,6 +253,7 @@ class Main : BaseApp(), DIAware {
|
||||
filter = filter,
|
||||
)
|
||||
}
|
||||
.take(ShortcutManagerCompat.getMaxShortcutCountPerActivity(this@Main))
|
||||
ShortcutManagerCompat.addDynamicShortcuts(this@Main, shortcuts)
|
||||
}
|
||||
.launchIn(this)
|
||||
|
Loading…
x
Reference in New Issue
Block a user