If you start two emulators and have one call the other, then have the receiver answer the call and then hang up, the call on the caller's phone correctly proceeds to the 'disconnected' state, but the receiver's call only proceeds to 'disconnecting' and never reaches 'disconnected'. This is reflected in the UI by the dialer app never returning to the main screen (the red 'hang up' button is forever displayed).
Created attachment 607901 [details] [diff] [review] Made the final call state on receiver's phone to disconnected After Receiver hangs up the call, receiver gets a response of REQUEST_HANGUP. Then, receiver should get an unsolicited response to update the call state from rild. But that didn't happen in this bug. This patch |getCurrentCalls()| to update the call state actively after REQUEST_HANGUP. Then, the final call state on Receiver's phone can reach "disconnected."
Created attachment 607906 [details] [diff] [review] [Updated] Patch_Bug 737793 Unnecessary debug messages have been removed in this update version. Thanks!
CCing Chris Jones for my "Commit Access (Level 1)". Thanks!
Please file a separate bug for getting level 1 commit access.