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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user