arekolek / simple-phone

Bare minimum implementation of an Android Phone app
MIT License
198 stars 71 forks source link

Does not work when screen is off #11

Closed gadgetreviews closed 5 months ago

gadgetreviews commented 4 years ago

I managed to write a code to replace default phone app as explained in this repository. It is working only when screen is turned on. If screen is turned off, I can only hear ring tone, screen does not turn on. If I turn on screen manually, I can't see any call interface (not mine or not system default phone app. So I can't handle answer that call). How can I turn on screen when phone rings? I've tried several solutions about how to turn on screen, but no one is working in this case.

Any suggestions?

arekolek commented 4 years ago

You can take a look at https://github.com/arekolek/simple-phone/issues/1