mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Make sure settings are upgraded
This commit is contained in:
parent
fbd1254434
commit
9f808be9a1
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ public class ReceiverAutoStart extends BroadcastReceiver {
|
||||||
Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction())) {
|
Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction())) {
|
||||||
Log.i("Received " + intent);
|
Log.i("Received " + intent);
|
||||||
|
|
||||||
|
if (Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction()))
|
||||||
|
ApplicationEx.upgrade(context);
|
||||||
|
|
||||||
ServiceSynchronize.boot(context);
|
ServiceSynchronize.boot(context);
|
||||||
ServiceSend.boot(context);
|
ServiceSend.boot(context);
|
||||||
ServiceUI.boot(context);
|
ServiceUI.boot(context);
|
||||||
|
|
Loading…
Reference in a new issue