Sergi,

you can check this for reference : https://github.com/mozilla-b2g/gaia/commit/e61dc0019d9d6135d88ba15153c37f73a952567e#diff-ba715d750690c1a7abb4567839609f35R48