commit | 4a7b8ec0502a63fb67d7b4749b1ea96288f9baa6 | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Fri May 05 16:23:34 2017 -0700 |
committer | Hall Liu <hallliu@google.com> | Fri May 05 16:23:34 2017 -0700 |
tree | 22a58f5caaf4fd11416109ed18d3414fc4a69db2 | |
parent | 29a1acb54cd186f3e4f6d608ab32c5fb51a02c50 [diff] |
Synchronize on mImsPhone to avoid NPE During a disconnect, the binder thread from the IMS stack may set mImsCall to null simulataneously with the main thread calling methods on mImsCall after a null check. Adding synchronization to prevent an NPE. Change-Id: Id7874e802d56ab7d3912c779dedd1cccdb923db6 Fixes: 37945103