Esempio n. 1
0
 /** @hide */
 public boolean setPin(byte[] pin) {
   try {
     return sService.setPin(mAddress, pin);
   } catch (RemoteException e) {
     Log.e(TAG, "", e);
   }
   return false;
 }
Esempio n. 2
0
 /** @hide */
 public boolean setPin(byte[] pin) {
   if (sService == null) {
     Log.e(TAG, "BT not enabled. Cannot set Remote Device pin");
     return false;
   }
   try {
     return sService.setPin(this, true, pin.length, pin);
   } catch (RemoteException e) {
     Log.e(TAG, "", e);
   }
   return false;
 }