Release 2.2.1 Service Popup 失效
Robert-dev0317 opened this issue · 4 comments
Robert-dev0317 commented
當Activity位於當前畫面時行為正常
Activity不在當前畫面Service PopupWindow 失效
Context使用的是ApplicationContext
錯誤訊息:
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
razerdp commented
activity不在当前页的具体意思是?
Robert-dev0317 commented
當APP開啟時Activity存在於頁面沒問題
當跳回去桌面Lanuncher Service在背景執行
這時候沒辦法popup
WeiChaoFeng <notifications@github.com> 於 2019年11月24日 週日 下午10:59寫道:
… activity不在当前页的具体意思是?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#242?email_source=notifications&email_token=AN2ACE4CSOPYRS2UU2ABTIDQVKJFNA5CNFSM4JO6OVR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFANHZQ#issuecomment-557896678>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN2ACE6PYZDS3PWPYBXAPT3QVKJFNANCNFSM4JO6OVRQ>
.
razerdp commented
razerdp commented
fixed in candy 2.2.2.200212