1
0
Fork 0
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:
M66B 2020-07-08 22:34:26 +02:00
parent fbd1254434
commit 9f808be9a1

View file

@ -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);