Skip to content

Commit

Permalink
Fix the background process detector api
Browse files Browse the repository at this point in the history
  • Loading branch information
surbhimaheshwari committed Aug 29, 2023
1 parent fdff8fa commit 8148276
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ private BackgroundProcessDetector() {}

public static Boolean isBackgroundProcess(String applicationId) {
String applicationProcessName = getApplicationProcessName();
return Objects.equals(applicationProcessName, applicationId);
return !Objects.equals(applicationProcessName, applicationId);
}

private static String getApplicationProcessName() {
Expand Down

0 comments on commit 8148276

Please sign in to comment.