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

Commit e7373487 authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Automerger Merge Worker
Browse files

Merge "Do not check for battery service when seeing if any profiles are enabled" am: aa29109a

parents 08822006 aa29109a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1432,10 +1432,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;
    }