Android R 开启蓝牙后,状态栏需要显示蓝牙icon

diff --git a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
index da1eb03..881dbfb 100755
--- a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
+++ b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
@@ -404,6 +404,13 @@ public class PhoneStatusBarPolicy
                 mResources.getString(R.string.accessibility_quick_settings_bluetooth_on);
         boolean bluetoothVisible = false;
         if (mBluetooth != null) {
+            /*meig:jicong.wang add for bug 15967 start {@*/
+            if (mBluetooth.isBluetoothEnabled()) {
+                iconId = R.drawable.ic_qs_bluetooth_on;
+                contentDescription = mResources.getString(R.string.accessibility_quick_settings_bluetooth_on);
+                bluetoothVisible = mBluetooth.isBluetoothEnabled();
+            }
+            /*meig:jicong.wang add for bug 15967 end @}*/
             if (mBluetooth.isBluetoothConnected()
                     && (mBluetooth.isBluetoothAudioActive()
                     || !mBluetooth.isBluetoothAudioProfileOnly())) {

版权声明:本文为wangjicong_215原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。