Skip to content

Commit

Permalink
fix: Update activity resolution logs (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Dec 29, 2024
1 parent 4963c53 commit 6fd4035
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/commands/device/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,17 @@ export async function getLaunchInfo() {
if (apkPackage && !appPackage) {
appPackage = apkPackage;
}
if (!appWaitPackage) {
appWaitPackage = appPackage;
}
this.log.debug(`Resolved launch package/activity: ${apkPackage}/${apkActivity}`);
if (apkActivity && !appActivity) {
appActivity = apkActivity;
}
this.log.debug(`Resolved launch package -> activity: ${appPackage} -> ${appActivity}`);
if (!appWaitPackage) {
appWaitPackage = appPackage;
}
if (!appWaitActivity) {
appWaitActivity = appActivity;
}
this.log.debug(`Resolved wait package/activity: ${appWaitPackage}/${appWaitActivity}`);
this.log.debug(`Resolved wait package -> activity: ${appWaitPackage} -> ${appWaitActivity}`);
return {appPackage, appWaitPackage, appActivity, appWaitActivity};
}

Expand Down

0 comments on commit 6fd4035

Please sign in to comment.