mozilla-b2g/gaia — pull request #14887 by ian-liu (2013-12-20 09:20:01+00:00)
Title: Bug 951566 - [Bluetooth][Bluedroid] Unknown.jpeg shown in notification after file transfer via Bluetooth

* Why:

Since camera or other apps might share blobs without name, Bluetooth app have to make sure the name is existed or not. And Bluetooth app have to send these blobs with name. Otherwise, Gecko::Bluetooth will add the default name "Unknown.jpeg" for them.

* How:

If there is no filename in the blob, query the file via filepath from device storage. Then, Bluetooth app send the file which bas the name via `sendFile()` API.