hi all
I noticed that with lollipop 5.x my app does not restart automatically after the phone is switched off.
with previous versions of android (3.xx - 4.xx) my app worked fine .
i tried to modifie the phone menu about permissions of start apps, giving ok to my app to restart, but app does not restart.
in region service attributes there is true in start at boot. it ever was there.
before all ok. with lollipop does not work.
any idea ?
regards
peppe
i don't stop the app manually.
the app is stopped because phone is switched off.
when i switch on the phone again, i must start the app manually.
before lollipop this action was not necessary : the app restarted by itself
StartAtBoot should work on all versions of Android.
I've just tested it on Android 6.0 and it works. Note that the toast message was not shown. However you can see the the process was started in the logs.