Skip to content

Commit

Permalink
log changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aslamanver committed Jul 8, 2022
1 parent a060f4b commit 59ecb99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions p2psdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish {
repoName = 'android'
groupId = 'com.aslam'
artifactId = 'p2p'
publishVersion = '1.2.4'
publishVersion = '1.2.5'
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.'
website = 'https://github.com/aslamanver/p2p'
}
Expand All @@ -18,8 +18,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 28
versionCode 124
versionName "1.2.4"
versionCode 125
versionName "1.2.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ public void onSocketClientMessage(String host, String message) {

@Override
public void onConsoleLog(String message) {
LogUtils.consoleLog("P2PControllerActivityListener", message);

}
}
2 changes: 2 additions & 0 deletions p2psdk/src/main/java/com/aslam/p2p/services/P2PService.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import androidx.annotation.CallSuper;

import com.aslam.p2p.R;
import com.aslam.p2p.utils.LogUtils;

import java.util.ArrayList;
import java.util.List;
Expand Down Expand Up @@ -211,6 +212,7 @@ public void onSocketClientMessage(String host, String message) {
@Override
@CallSuper
public void onConsoleLog(String message) {
LogUtils.consoleLog("P2PService", message);
for (P2PControllerListener controllerListener : controllerListeners) {
controllerListener.onConsoleLog(message);
}
Expand Down

0 comments on commit 59ecb99

Please sign in to comment.