commit | 0074f3326c144fc7f2fc15f8be8d3ad6db259a1f | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Mon Jun 01 15:46:59 2020 -0700 |
committer | Hall Liu <hallliu@google.com> | Mon Jun 01 15:49:26 2020 -0700 |
tree | 63e2cd483404ad3291305d816d62e86c36ea1cfa | |
parent | a9f29c6208c2df42646f5a5040df7a60f49ce45f [diff] |
Fix null pointer exception in TelephonyConnection Sometimes, a race condition will cause getForegroundCall.getImsCall to return null after a previous null check has already passed. Fix this by caching the variables locally before the null check so they don't change from out under us. Fixes: 157426224 Test: manual Change-Id: I751a7e777e14287351cfa65af01e50351aee08b8