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-08-14 16:30:41 +0000
commit9a351ca849b0f74e407fa1b7fb7ce10c63d878d6 (patch)
tree43ed88042540e14e7a3277361c51da44058ec44d /tools/aapt2/java/JavaClassGenerator.cpp
parent4996a358434e62204a009f3f3c9d6fa261f741b4 (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 Change-Id: Ie610c51155ed417e0f916000fe20e4484bdb6603
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions