No issue: Decrease the frequency for checking for new supported add-ons
This commit is contained in:
parent
b5e46e611d
commit
a36ec7279e
|
@ -88,7 +88,7 @@ class Components(private val context: Context) {
|
||||||
|
|
||||||
@Suppress("MagicNumber")
|
@Suppress("MagicNumber")
|
||||||
val supportedAddonsChecker by lazy {
|
val supportedAddonsChecker by lazy {
|
||||||
DefaultSupportedAddonsChecker(context, SupportedAddonsChecker.Frequency(16, TimeUnit.MINUTES),
|
DefaultSupportedAddonsChecker(context, SupportedAddonsChecker.Frequency(12, TimeUnit.HOURS),
|
||||||
onNotificationClickIntent = Intent(context, HomeActivity::class.java).apply {
|
onNotificationClickIntent = Intent(context, HomeActivity::class.java).apply {
|
||||||
action = Intent.ACTION_VIEW
|
action = Intent.ACTION_VIEW
|
||||||
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
||||||
|
|
Loading…
Reference in New Issue
Block a user