STK: Handle ICC refresh and card removal, and re-work clean up
Register for ICC refresh and let CatService's clients know when an ICC refresh occurs. Monitor card status. When card status moves to absent/present let clients know. Don't dispose CatService based on the number of applications. Instead dispose it when UiccCard goes away This helps avoid the race condition in the following scenario: 1. Radio is on and card is present 2. Turn Radio Off 3. Turn Radio On 4. Proactive command received If CatService was disposed when card goes away on radio off then it is possible for the unsol proactive command to be received before Catservice is up and running on radio on. Change-Id: Iee4ab009a0f9708a1ee2d87460e60765e46b4229 CRs-Fixed:270755, 283523, 450167, 442985 (cherry picked from commit f1f780eb194b66ccb4b37e64dd7ff67913a68915) (cherry picked from commit ccd36c4495fb7e8c324a39ac07ec1d1bbb288908) (cherry picked from commit e2998b862d8adf5e0134e879ed01b751deb73823)
Loading
Please register or sign in to comment