Skip to content
Snippets Groups Projects
Commit 99662427 authored by s22thong's avatar s22thong
Browse files

sdglhdfukgbsbu

parent 3194f70f
Branches
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ public class MapsFragment extends Fragment {
.setMessage(getString(R.string.position_permission_message))
.setNegativeButton(getString(R.string.cancel), (dialog, which) -> Toast.makeText(requireContext(), getString(R.string.permission_denied), Toast.LENGTH_SHORT)
.show())
.setPositiveButton("Ok", (dialog, which) -> ActivityCompat.requestPermissions(requireActivity(), new String[]{Manifest.permission.CALL_PHONE}, 3))
.setPositiveButton("Ok", (dialog, which) -> ActivityCompat.requestPermissions(requireActivity(), new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, 3))
.create()
.show();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment