OSDN Git Service

IMS: Check for binderstate before calling endSession
authorBenergy Meenan Ravuri <bravuri@codeaurora.org>
Tue, 20 Jun 2017 11:30:42 +0000 (17:00 +0530)
committerBrad Ebinger <breadley@google.com>
Mon, 26 Jun 2017 23:29:22 +0000 (23:29 +0000)
commitbed4d19db5b774609e61ef550d5655b9e3a607fe
tree6678c3a94d49e14940140b9825a6a726f4f8a885
parent51ee00785c070edb4609ec5496e690a9f4ebc871
IMS: Check for binderstate before calling endSession

ImsRegistrationListenerProxy listener, which is registered
as part of ImsManager.open, is not cleared even after moving
feature state to NOT_AVAILABLE because end session
is never called.

Check for binder state instead of feature state READY before
calling end session. End session will be triggered after
moving feature state to NOT_AVAILABLE.

Notify Ims state change only for the supported feature state
change to clients.

Test: Manual
Bug: 62816014
Change-Id: I1bb588ce2be9c181355ff744f43dad4e784e4ec5
telephony/java/android/telephony/ims/ImsServiceProxy.java