niap-cc/Permissions/Tester/app/src/main/java/com/android/certifications/niap/permissions/GmsPermissionTester.java [232:248]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                            LocationResult result = LocationResult.extractResult(intent);
                            // The countdown on the latch should only occur if the provided
                            // intent includes a valid location since additional updates can be sent
                            // without a location.
                            if (result != null) {
                                Location location = result.getLastLocation();
                                if (location != null) {
                                    mLogger.logDebug(
                                            "Received a lat,long of " + location.getLatitude()
                                                    + ", "
                                                    + location.getLongitude());
                                    latch[0].countDown();
                                }
                            }
                        }
                    };
                    mContext.registerReceiver(receiver,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



niap-cc/Permissions/Tester/app/src/main/java/com/android/certifications/niap/permissions/GmsPermissionTester.java [305:321]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                            LocationResult result = LocationResult.extractResult(intent);
                            // The countdown on the latch should only occur if the provided intent
                            // includes a valid location since additional updates can be sent
                            // without a location.
                            if (result != null) {
                                Location location = result.getLastLocation();
                                if (location != null) {
                                    mLogger.logDebug(
                                            "Received a lat,long of " + location.getLatitude()
                                                    + ", "
                                                    + location.getLongitude());
                                    latch[0].countDown();
                                }
                            }
                        }
                    };
                    mContext.registerReceiver(receiver,
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



