title: In leScanCallback device.getName() returns null on few devices
body: <p>Checked following post but not helpful on my case :</p>
  
  <p><a href="https://stackoverflow.com/q/38792785/4111151">BluetoothDevice always returns null on getName()</a></p>
  
  <p><strong>My problem</strong></p>
  
  <p>I am developing an application that scans the nearby Bluetooth device and displays in the home screen.But on few devices(i.e moto G,samsung note2) the device name is null on leScanCallback.</p>
  
  <p><strong>My code</strong></p>
  
  <pre><code>private BluetoothAdapter.LeScanCallback mLeScanCallback = new BluetoothAdapter.LeScanCallback() {
  
      @Override
      public void onLeScan(final BluetoothDevice device, final int rssi,
                           byte[] scanRecord) {
         if (device.getName() != null){//&lt;&lt;- Here it null on few device
             //my process          
          }
    }
  };
  </code></pre>
  
  <p><strong>Note:</strong>
  I need to throw an alert if it return null but i can't do it inside the onlescan because the scanning continuously. Before that i need to throw alert to user based on the bluetooth version is it possible and why on few devices i wont get the device name ? Thanks in advance.</p>