Fix crash of setting device name on device w/o BT

While setting device name, null check bluetooth adapter before setting
name for bluetooth. (Bluetooth adapter is expected to be null on devices
without bluetooth capability.)

Bug: 62712867
Test: Manually
Change-Id: I1e4f5b00d26a63a954c6755baaf5967135ac307b
1 file changed
tree: db411ea15bf80a852447570f9c22eba97bb34a22
  1. QuickSettings/
  2. Settings/
  3. PREUPLOAD.cfg