title: Android 10 BLE connection issue
body: <p>I am working on an app that is connected to the BLE device using <code>BluetoothGatt</code>. </p>
  
  <p>I am successfully able to scan and connect with BLE devices in all devices like Samsung, Pixel, etc. I followed <a href="https://developer.android.com/guide/topics/connectivity/bluetooth-le" rel="noreferrer">Android official BLE connection</a> guide for scanning and connection.</p>
  
  <p>But after updating my <code>Pixel 2</code> to <code>Android 10</code>, I am not able to connect my BLE device to Pixel 2. I also, seen the same issue was reported in <a href="https://issuetracker.google.com/issues/141188862" rel="noreferrer">Google issue tracker</a>. </p>
  
  <p>To fix this I tried clear Bluetooth app cache and Network reset but It works in some devices but not all.</p>
  
  <p>Is there anything that needs to be done to fix this issue or is there a proper way to clear Bluetooth app cache and Network reset programmatically.</p>
  
  <p>Or any other way to manage BLE connection in Android?</p>