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

Commit cfc039af authored by Pradeep Panigrahi's avatar Pradeep Panigrahi
Browse files

Bluetooth: Truncate received OPP file name instead of rejecting it

Including extn of the file, Linux supports 255 character as a maximum
length of the file name to be created. Hence, Instead of sending
OBEX_HTTP_INTERNAL_ERROR as a response, truncate the length of the
file name and save it. This check majorly helps in the case of vcard,
where Phone book app supports contact name to be saved more than 255
characters, But the server rejects the card just because the length of
vcf file name received exceeds 255 Characters.

Change-Id: Icaceddbfd7b9431712f7b98b601016e753b1569c
parent 5982e201
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment