0
有沒有辦法在我的應用程序屏幕固定時接聽電話。我在網上找到了這些信息。屏幕固定和來電
https://code.google.com/p/android/issues/detail?id=79260 - 從一年前開始 - 看起來這是screenPinning的正常行爲。
https://stackoverflow.com/questions/34675657/how-can-i-call-stoplocktask-method-when-there-is-an-incoming-call - 沒有足夠的聲望來回答或關注這篇文章。
我使用broadcastReceiver來檢測來電。我可以在broadcastReceiver中使用stoplocktask(),但已經太晚了,在調用broadcastReceiver的同時電話似乎會被終止。
任何想法?
預先感謝