summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2017-06-16 20:20:34 -0700
committerTyler Gunn <tgunn@google.com>2017-10-27 10:55:05 -0700
commit0a88f2e21b3e3ed8a3a953e572a1eea6b572cb3e (patch)
tree9195348c324e66b134b485d56f441d579db8d9aa /tools/aapt2/java/JavaClassGenerator.cpp
parentd6ab173f6c1d9b92ab0385a2d88664232152a8fc (diff)
Ensure CallId is not null when connection creation is complete.
When calling "get" on the mConnectoinById map, a null callId will result in an NPE. In findConnectionForAction, defaulting to returning the "null" connection which is the same behavior as if it isn't found. In notifyCreateConnectionComplete, specifically checking if the callId is null and skipping the onCreateConnectionComplete callback. This scenario is possible if the connection is remove from the ConnectionService before the connection complete callback comes back from Telecom. Test: Manual Fixes: 62588734 Merged-In: I1de7a0a4cc9c630019e38b8154bfc1d470f56ae3 Change-Id: Ie610c51155ed417e0f916000fe20e4484bdb6603
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions