Actually its not working on *xiomi* or *Redmi phones*, they require some 
AutoStart permission grant from the user.
Even after granting the permission app is not restarting on its own 
No way we can do it programmatically??


On Tuesday, October 4, 2016 at 4:56:27 PM UTC+5:30, sardar khan wrote:
>
> You can use this 
>
> http://stackoverflow.com/questions/20636330/start-sticky-does-not-work-on-android-kitkat
> or have a look at this
> https://code.google.com/p/android/issues/detail?id=63793
>
>
> On Tue, Oct 4, 2016 at 3:44 PM, Sumit Sharma <sumit...@gmail.com 
> <javascript:>> wrote:
>
>> Foreground service with START_STICKY works perfectly on all the android 
>> versions except android OS 4.4.4.
>> Its getting killed by the OS when its in background.
>> I am ok if its killed but it has to restart again on its own like a 
>> normal START_STICKY service.
>> Need a solution ASAP as our app is already live.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-developers+unsubscr...@googlegroups.com <javascript:>.
>> To post to this group, send email to android-d...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-developers/04ed2ad7-7aef-478f-9e7b-d409f7cee736%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-developers/04ed2ad7-7aef-478f-9e7b-d409f7cee736%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/bcb48f7d-cf63-405c-9cf1-b866a8ccff4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to