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

Commit 3b7dfcf8 authored by Rahul Sabnis's avatar Rahul Sabnis
Browse files

Do not check for battery service when seeing if any profiles are enabled

Bug: 260535339
Test: Manual
Change-Id: I29972367297be34b2d47f5f01f198d8a00e7925e
parent 9b6ad125
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1349,10 +1349,6 @@ public class AdapterService extends Service {
                 > BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) {
            return true;
        }
        if (mBatteryService != null && mBatteryService.getConnectionPolicy(device)
                > BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) {
            return true;
        }
        return false;
    }