OSDN Git Service

Fix potential NPE in RemoteConnection.
authorTyler Gunn <tgunn@google.com>
Fri, 16 Sep 2016 22:08:50 +0000 (15:08 -0700)
committerTyler Gunn <tgunn@google.com>
Fri, 16 Sep 2016 22:08:50 +0000 (15:08 -0700)
commit9c2c583ad7c01d756462e437e5c33b3b75f90e96
tree16fb424451439b98ddf1bf77c9f0af46f7da0125
parent63e2d638177c6c313c3633645b84265a07cfa678
Fix potential NPE in RemoteConnection.

When creating an instance of RemoteConnection, the code does not properly
handle the case where the video provider is null.  This could cause a
RemoteConnection.VideoProvider to be created for a non-existent binder.

Bug: 31372624
Change-Id: I990084e2d2d68cdf2dda426cb58ad68785b35422
telecomm/java/android/telecom/RemoteConnection.java