Loading core/java/android/bluetooth/BluetoothPan.java +14 −8 Original line number Diff line number Diff line Loading @@ -333,20 +333,26 @@ public final class BluetoothPan implements BluetoothProfile { public void setBluetoothTethering(boolean value) { if (DBG) log("setBluetoothTethering(" + value + ")"); if (mPanService != null && isEnabled()) { try { mPanService.setBluetoothTethering(value); } catch (RemoteException e) { Log.e(TAG, "Stack:" + Log.getStackTraceString(new Throwable())); } } } public boolean isTetheringOn() { if (VDBG) log("isTetheringOn()"); if (mPanService != null && isEnabled()) { try { return mPanService.isTetheringOn(); } catch (RemoteException e) { Log.e(TAG, "Stack:" + Log.getStackTraceString(new Throwable())); } } return false; } Loading Loading
core/java/android/bluetooth/BluetoothPan.java +14 −8 Original line number Diff line number Diff line Loading @@ -333,20 +333,26 @@ public final class BluetoothPan implements BluetoothProfile { public void setBluetoothTethering(boolean value) { if (DBG) log("setBluetoothTethering(" + value + ")"); if (mPanService != null && isEnabled()) { try { mPanService.setBluetoothTethering(value); } catch (RemoteException e) { Log.e(TAG, "Stack:" + Log.getStackTraceString(new Throwable())); } } } public boolean isTetheringOn() { if (VDBG) log("isTetheringOn()"); if (mPanService != null && isEnabled()) { try { return mPanService.isTetheringOn(); } catch (RemoteException e) { Log.e(TAG, "Stack:" + Log.getStackTraceString(new Throwable())); } } return false; } Loading