private static List<TestConfiguration> getAdditionalConfigurations(Activity activity) {
        List<TestConfiguration> additionalConfigurations = new ArrayList<>();
        if (Constants.USE_GMS_CONFIGURATION) {
            additionalConfigurations.add(new GmsPermissionConfiguration(activity));
        }
        // TODO: Any custom configurations that are intended to be run as part of this test should
        // be added here.
        return additionalConfigurations;
    }
private static List<TestConfiguration> getAdditionalConfigurations(Activity activity) {
        List<TestConfiguration> additionalConfigurations = new ArrayList<>();
        if (Constants.USE_GMS_CONFIGURATION) {
            additionalConfigurations.add(new GmsPermissionConfiguration(activity));
        }
       
       
        return additionalConfigurations;
    }
private static list<testconfiguration> getadditionalconfigurations(activity activity) { list<testconfiguration> additionalconfigurations = new arraylist<>(); if (constants.use_gms_configuration) { additionalconfigurations.add(new gmspermissionconfiguration(activity)); } return additionalconfigurations; }