TheLastProject / RaiseToAnswer

Simply hold your phone to your ear to answer an incoming call
https://play.google.com/store/apps/details?id=me.hackerchick.raisetoanswer
MIT License
74 stars 13 forks source link

Only show "App is enabled" when necessary #15

Closed TheLastProject closed 4 years ago

TheLastProject commented 4 years ago

Blocked by #2. It is important that the app survives reboots and updates before we stop always showing this.


Requested on Google Play:

I would give a 5 star if the beep sound is removed as it sounds bad & also the notification of the app that is "app is enabled" always stay which is annoying. Developer please update.

And on GitHub: https://github.com/TheLastProject/RaiseToAnswer/issues/2#issuecomment-671639203


This would need a bit more work, but should definitely be possible.

TheLastProject commented 4 years ago

"WHY ISN'T MY APP WORKING IN THE BACKGROUND ALL THE DOCS SAY IT SHOULD"

Turns out while running your app from Android Studio, swiping it away in the overview screen force-stops it instead of backgrounding it. Force-stopped applications cannot receive broadcasts.

Thanks, Google.

https://twitter.com/SylvieLorxu/status/1294753039358754818

TheLastProject commented 4 years ago

I moved a lot of code around so that no activity is needed to start all the things anymore. Everything can be started from a broadcast intent now, so we no longer need an always listening service.

So, I consider this fixed in 38dddd6.