/** @hide */
 public boolean setPairingConfirmation(boolean confirm) {
   try {
     return sService.setPairingConfirmation(mAddress, confirm);
   } catch (RemoteException e) {
     Log.e(TAG, "", e);
   }
   return false;
 }
Example #2
0
 /** @hide */
 public boolean setPairingConfirmation(boolean confirm) {
   if (sService == null) {
     Log.e(TAG, "BT not enabled. Cannot set pairing confirmation");
     return false;
   }
   try {
     return sService.setPairingConfirmation(this, confirm);
   } catch (RemoteException e) {
     Log.e(TAG, "", e);
   }
   return false;
 }