0
Respost

Why is Sticky_broadcast permission removed?

Karavine Ann Marinas fa 12 anys updated by Jona (Lead Developer) fa 12 anys 0

Why is Sticky_broadcast permission removed?

Answer

Answer
Respost

Well the removal of sticky broadcasts is mainly a development purpose driven change. If you are a developer the following might make sense...


We used sticky broadcasts to allow the OS to hold the last information we broadcasted. This allowed for a quick way to retrieve last broadcast information. Just like Android music player does... The main issue we ran into was that any updates we made to the extras for the sticky broadcast caused the sticky intent not to be updated causing home screen widgets to show old information once in a while. The easiest fix, stop using sticky and work out a new way to retrieve the last broadcasted information.


By resolving the issue mentioned above we actually didn't need sticky broadcast permission anymore. This in turn will make some users happy who kinda don't have a clue what sticky broadcasts did in XiiaLive but still accused the app of doing something malicious...


Hope this answers your question! :)

Answer
Respost

Well the removal of sticky broadcasts is mainly a development purpose driven change. If you are a developer the following might make sense...


We used sticky broadcasts to allow the OS to hold the last information we broadcasted. This allowed for a quick way to retrieve last broadcast information. Just like Android music player does... The main issue we ran into was that any updates we made to the extras for the sticky broadcast caused the sticky intent not to be updated causing home screen widgets to show old information once in a while. The easiest fix, stop using sticky and work out a new way to retrieve the last broadcasted information.


By resolving the issue mentioned above we actually didn't need sticky broadcast permission anymore. This in turn will make some users happy who kinda don't have a clue what sticky broadcasts did in XiiaLive but still accused the app of doing something malicious...


Hope this answers your question! :)