Skip to content

Commit

Permalink
Fix facebookGH-14 isMainProcess(Context) has private access
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiverdes authored and Andrei committed Jun 11, 2018
1 parent 1cc2d46 commit 972353c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/android/utils/SonarUtils.java
Expand Up @@ -33,7 +33,7 @@ private static boolean isEndToEndTest() {
}
}

private static boolean isMainProcess(Context context) {
public static boolean isMainProcess(Context context) {
final int pid = android.os.Process.myPid();
final ActivityManager manager =
(ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
Expand Down

0 comments on commit 972353c

Please sign in to comment.