mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
Schedule alarms when package is replaced
This commit is contained in:
@@ -283,6 +283,7 @@
|
||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
|
||||
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
|
||||
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
|
@@ -1,13 +1,11 @@
|
||||
package com.simplemobiletools.calendar.pro
|
||||
|
||||
import androidx.multidex.MultiDexApplication
|
||||
import com.simplemobiletools.calendar.pro.extensions.scheduleNextAutomaticBackup
|
||||
import com.simplemobiletools.commons.extensions.checkUseEnglish
|
||||
|
||||
class App : MultiDexApplication() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
checkUseEnglish()
|
||||
scheduleNextAutomaticBackup()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user