2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-01 06:35:09 +00:00

Make package private

This commit is contained in:
Albert Vaca
2017-01-22 06:08:07 +01:00
parent 371ffefd20
commit 9e5e9b3047

View File

@@ -39,7 +39,7 @@ import java.util.TimerTask;
public class LanPairingHandler extends BasePairingHandler { public class LanPairingHandler extends BasePairingHandler {
private Timer mPairingTimer; Timer mPairingTimer;
public LanPairingHandler(Device device, final PairingHandlerCallback callback) { public LanPairingHandler(Device device, final PairingHandlerCallback callback) {
super(device, callback); super(device, callback);
@@ -169,7 +169,7 @@ public class LanPairingHandler extends BasePairingHandler {
mDevice.sendPackage(createPairPackage(), statusCallback); mDevice.sendPackage(createPairPackage(), statusCallback);
} }
public void hidePairingNotification() { void hidePairingNotification() {
mDevice.hidePairingNotification(); mDevice.hidePairingNotification();
if (mPairingTimer != null) { if (mPairingTimer != null) {
mPairingTimer .cancel(); mPairingTimer .cancel();
@@ -207,7 +207,7 @@ public class LanPairingHandler extends BasePairingHandler {
mDevice.sendPackage(np); mDevice.sendPackage(np);
} }
public void pairingDone() { void pairingDone() {
// Store device information needed to create a Device object in a future // Store device information needed to create a Device object in a future
//Log.e("KDE/PairingDone", "Pairing Done"); //Log.e("KDE/PairingDone", "Pairing Done");
SharedPreferences.Editor editor = mDevice.getContext().getSharedPreferences(mDevice.getDeviceId(), Context.MODE_PRIVATE).edit(); SharedPreferences.Editor editor = mDevice.getContext().getSharedPreferences(mDevice.getDeviceId(), Context.MODE_PRIVATE).edit();