title: Why isMultipleAdvertisementSupported() returns false, when getBluetoothLeAdvertiser returns an object?
body: <p>I am trying to play with BLE transmission on my device.</p>
  
  <p>Here is the code I use and the output: </p>
  
  <pre><code>// check BLE support
  Log.i(TAG, "BLE supported: " + getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)); // true
  
  // check BLE transmission support
  final BluetoothManager bluetoothManager =
          (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE);
  BluetoothAdapter mBluetoothAdapter = bluetoothManager.getAdapter();
  
  Log.i(TAG, "isMultipleAdvertisementSupported: " + mBluetoothAdapter.isMultipleAdvertisementSupported()); // false
  Log.i(TAG, "isOffloadedFilteringSupported: " + mBluetoothAdapter.isOffloadedFilteringSupported()); // false
  Log.i(TAG, "isOffloadedScanBatchingSupported: " + mBluetoothAdapter.isOffloadedScanBatchingSupported()); // false
  
  BluetoothLeAdvertiser mBluetoothLeAdvertiser = mBluetoothAdapter.getBluetoothLeAdvertiser();
  Log.i(TAG, mBluetoothLeAdvertiser.toString()); //android.bluetooth.le.BluetoothLeAdvertiser@1c51f789
  
  // check BLE transmission support
  // android-beacon-library, https://github.com/AltBeacon/android-beacon-library
  int result = BeaconTransmitter.checkTransmissionSupported(getApplicationContext());
  Log.i(TAG, "ABL checkTransmissionSupported: " + result); // 0
  </code></pre>
  
  <p>I can not understand why <code>mBluetoothLeAdvertiser</code> is not <code>null</code>, since <code>mBluetoothLeAdvertiser</code> verifies that it is not <code>false</code>:</p>
  
  <pre><code>package android.bluetooth;
  // ...
  
  public BluetoothLeAdvertiser getBluetoothLeAdvertiser() {
      if (getState() != STATE_ON) {
          return null;
      }
      if (!isMultipleAdvertisementSupported()) {
          return null;
      }
      synchronized(mLock) {
          if (sBluetoothLeAdvertiser == null) {
              sBluetoothLeAdvertiser = new BluetoothLeAdvertiser(mManagerService);
          }
      }
      return sBluetoothLeAdvertiser;
  }
  
  // ...
  
  public boolean isMultipleAdvertisementSupported() {
      if (getState() != STATE_ON) return false;
      try {
          return mService.isMultiAdvertisementSupported();
      } catch (RemoteException e) {
          Log.e(TAG, "failed to get isMultipleAdvertisementSupported, error: ", e);
      }
      return false;
  }
  </code></pre>