Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ff833ce6 authored by Thomas Lehaux's avatar Thomas Lehaux Committed by Jian Luo
Browse files

Add null pointer check in A2DPService

A call to the stop() function in A2DPService.java
could cause a NullPointerException in certain events.
This patch adds a null pointer check before a
function call to avoid this issue.

Change-Id: I39b521592d9cc5b910c5ce232d0d8d03389a0391
Orig-Change-Id: I77ee8129c3d81230afc5b59b4cc29e690cbe547a
Author: Thomas Lehaux <thomasx.lehaux@intel.com>
Reviewed-on: http://android.intel.com:8080/102211


Reviewed-by: default avatarPoignet, Cedric <cedric.poignet@intel.com>
Reviewed-by: default avatarcactus <cactus@intel.com>
Reviewed-by: default avatarBondier, CedricX <cedricx.bondier@intel.com>
Reviewed-by: default avatarBoniface, XavierX <xavierx.boniface@intel.com>
Tested-by: default avatarZurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: default avatarbuildbot <buildbot@intel.com>
Tested-by: default avatarbuildbot <buildbot@intel.com>
Signed-off-by: default avatarJian Luo <jian.luo@intel.com>
Signed-off-by: default avatarBruce Beare <bruce.j.beare@intel.com>
Signed-off-by: default avatarJack Ren <jack.ren@intel.com>
Author-tracking-BZ: 85837
parent ca70fd76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment