Skip to content

Commit 59ecb99

Browse files
committed
log changes
1 parent a060f4b commit 59ecb99

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

p2psdk/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish {
66
repoName = 'android'
77
groupId = 'com.aslam'
88
artifactId = 'p2p'
9-
publishVersion = '1.2.4'
9+
publishVersion = '1.2.5'
1010
desc = 'P2P library provides instant integration (PnP) support for WIFI-Direct P2P for any Android projects plus it remembers the recently connected device and reconnects it automatically when it is available.'
1111
website = 'https://github.com/aslamanver/p2p'
1212
}
@@ -18,8 +18,8 @@ android {
1818
defaultConfig {
1919
minSdkVersion 15
2020
targetSdkVersion 28
21-
versionCode 124
22-
versionName "1.2.4"
21+
versionCode 125
22+
versionName "1.2.5"
2323
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2424
consumerProguardFiles "consumer-rules.pro"
2525
}

p2psdk/src/main/java/com/aslam/p2p/services/P2PControllerActivityListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ public void onSocketClientMessage(String host, String message) {
9191

9292
@Override
9393
public void onConsoleLog(String message) {
94-
LogUtils.consoleLog("P2PControllerActivityListener", message);
94+
9595
}
9696
}

p2psdk/src/main/java/com/aslam/p2p/services/P2PService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import androidx.annotation.CallSuper;
88

99
import com.aslam.p2p.R;
10+
import com.aslam.p2p.utils.LogUtils;
1011

1112
import java.util.ArrayList;
1213
import java.util.List;
@@ -211,6 +212,7 @@ public void onSocketClientMessage(String host, String message) {
211212
@Override
212213
@CallSuper
213214
public void onConsoleLog(String message) {
215+
LogUtils.consoleLog("P2PService", message);
214216
for (P2PControllerListener controllerListener : controllerListeners) {
215217
controllerListener.onConsoleLog(message);
216218
}

0 commit comments

Comments
 (0)