servalproject / batphone

The Serval Mesh app for Android. EXPERIMENTAL SOFTWARE.
http://www.servalproject.org
GNU General Public License v3.0
398 stars 158 forks source link

sendStickyBroadcast deprecated #126

Open biniamf opened 7 years ago

biniamf commented 7 years ago

Hi all,

we noticed that the app uses the deprecated (and for security reasons not recommended API) sendStickyBroadcast(). Moreover, this API seems to be triggered by sending an Intent message to this app.

example Intent: adb shell am start -n org.servalproject/.Main --ei "state" 4 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER