mozilla-b2g/gaia — pull request #11979 by EragonJ (2013-09-06 04:01:31+00:00)
Title: Bug 835243 -  [OPEN_][Bluetooth]Bluetooth device name can be unrestricted input and does not have limit.

- refactor code (take the check part before getting deviceInfo)
- add a confirm window to ask users rename again or not
- limit device name with MAX 20 characters