apps-android-commons
apps-android-commons copied to clipboard
Fix #5276: improve the media location access dialog strings
Modify the sequence of displaying dialogues
Description (required)
Fixes #5276
I modified some codes in NearbyParentFragment.java, including two functions: checkPermissionsAndPerformAction and locationPermissionLauncher. By this modification, the app can show the developers' defined dialog block before the Android pre-defined location access dialog block.
Tests performed (required)
Tested ProdDebug on Oppo Reno 8 with API level 13.
Screenshots (for UI changes only)
Need help? See https://support.google.com/android/answer/9075928
Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.