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

Commit aa29109a authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Gerrit Code Review
Browse files

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

parents 3963c5bd 3b7dfcf8
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;
    }