|
|
@@ -238,7 +238,7 @@ public class LocationUtils {
|
|
|
*/
|
|
|
public String getLongitudeLatitude(Context context){
|
|
|
logitudeLStr = getGPSLocations(context);
|
|
|
- if(TextUtils.isEmpty(logitudeLStr) && logitudeLStr.length() > 3){
|
|
|
+ if(TextUtils.isEmpty(logitudeLStr) || logitudeLStr.length() < 3){
|
|
|
logitudeLStr = getNetworkLocations();
|
|
|
}
|
|
|
return logitudeLStr;
|