File tree Expand file tree Collapse file tree
espresso/core/java/androidx/test/espresso/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727import androidx .test .espresso .UiController ;
2828import java .util .Arrays ;
2929import java .util .List ;
30+ import java .util .Objects ;
3031
3132/** Helper methods to synchronize configuration changes with onView actions. */
3233final class ConfigurationSynchronizationUtils {
@@ -52,7 +53,8 @@ public static void waitForConfigurationChangesOnActivity(
5253 }
5354 // If the application is running activities in different processes, activities that aren't
5455 // on the main process may have a different orientation
55- if (Build .VERSION .SDK_INT >= 28 && !currentActivity .getApplicationInfo ().processName .equals (Application .getProcessName ())) {
56+ if (Build .VERSION .SDK_INT >= 28 && !Objects .equals (
57+ currentActivity .getApplicationInfo ().processName , Application .getProcessName ())) {
5658 return ;
5759 }
5860
You can’t perform that action at this time.
0 commit comments