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

Skip to content
Commit a15afaba authored by Hemant Gupta's avatar Hemant Gupta Committed by Myles Watson
Browse files

OPP: Send proper share status of file once transfer is complete

Use Case:
1. Select >15 files from DUT and try to transfer it to
   already paired device. Some file are of very small size.
2. Check whether all files received or not

Failure:
File transfer fails in between.

Fix:
Share status of the file will be sent with MSG_SHARE_COMPLETE to
avoid sending the file again during batch transfer. Otherwise, if
DUT is sending batch containing small files transfer will be completed
immediately and status may not be updated to correct state. This will
lead to sending of same file again and transfer will fail because file
info is already removed from the hashmap of pending shares.

Change-Id: Ibbb0d44b72796af4844ae6289ba8182b4bbd4445
parent 1188453c
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