ApnSettings : Ensure default apn dialog isn't shown twice
There can be cases where while a device is restoring default apns, ACTION_ANY_DATA_CONNECTION_STATE_CHANGED is broadcasted and mobileDataState becomes CONNECTED. Current logic is to throw up another dialog blindly in a case where this broadcast is received and we are in the middle of restoring. This can result in multiple dialogs and losing reference to the first dialog, hence not being able to dismiss it. Resolve this by keeping a reference to the dialogs, and ensuring one isn't showing before throwing another one. issue-id: CYNGNOS-882 Change-Id: I9e93f2a165ba40d36c85976960a5b5a19a3815d3 (cherry picked from commit 94926222)
Loading
Please register or sign in to comment