EZDine

parent 97cb68e4
...@@ -270,6 +270,8 @@ public class FindNearbyBranchMapActivity extends AppCompatActivity implements On ...@@ -270,6 +270,8 @@ public class FindNearbyBranchMapActivity extends AppCompatActivity implements On
case MY_PERMISSIONS_REQUEST_READ_PHONE_LOCATION: { case MY_PERMISSIONS_REQUEST_READ_PHONE_LOCATION: {
// If request is cancelled, the result arrays are empty. // If request is cancelled, the result arrays are empty.
if (grantResults.length > 0 if (grantResults.length > 0
&& grantResults[0] == PackageManager.PERMISSION_GRANTED) { && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
updateMap(); updateMap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment