commit | b8f2c708191ab9b31eaff709d4767f3e4fa03164 | [log] [tgz] |
---|---|---|
author | xutianguo <xutianguo@xiaomi.com> | Tue Sep 12 15:06:05 2017 +0800 |
committer | Jack He <siyuanh@google.com> | Mon Sep 18 12:39:54 2017 -0700 |
tree | ee7d332180992aa3355ca6ed6c4a7177b3e8a3ff | |
parent | 1343048263cf3b841b4893b825085c45550d91c9 [diff] |
Fix potenial NPE in PhonePolicy NPE might happen in PhonePolicy since HeadsetService could be null. Bug: 65842557 Fixes: 65842557 Test: Connect Bluetooth devices and check A2DP/HeadSet profiles Change-Id: Ib90147b407bc80675ba027f4c6cac94ae39a1d7b Signed-off-by: xutianguo <xutianguo@xiaomi.com> (cherry picked from commit eb2e34735003388606ff66988634d012049cdcd0)