Android Question lollipop - service does not restart

fotosettore

Member
Licensed User
Longtime User
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
 

DonManfred

Expert
Licensed User
Longtime User
Did you kill the app with a processmanager?

As far as i know Android will stop starting your app/service if you manually stop the app unless you manually start the app again.
 
Upvote 0

fotosettore

Member
Licensed User
Longtime User
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

regards
peppe
 
Upvote 0

ajk

Active Member
Licensed User
Longtime User
StartAtBoot not working on android 5.XX. Really don't know why. Apps compiled in different IDE /Java/ works.
 
Upvote 0
Top