mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Remove commented out code and associated strings (#6475)
As I was documenting undocumented strings (see #6457), I noticed that two messages are only used once in a few lines of code that were commented out in 2023. To clean up the messages, I am removing them from the strings list and deleting the commented-out code.
This commit is contained in:
parent
30d1107cef
commit
7b8fbc239b
2 changed files with 1 additions and 18 deletions
|
|
@ -153,21 +153,7 @@ after opening the app.
|
|||
}
|
||||
}
|
||||
setUpPager()
|
||||
/**
|
||||
* Ask the user for media location access just after login
|
||||
* so that location in the EXIF metadata of the images shared by the user
|
||||
* is retained on devices running Android 10 or above
|
||||
*/
|
||||
// if (VERSION.SDK_INT >= VERSION_CODES.Q) {
|
||||
// ActivityCompat.requestPermissions(this,
|
||||
// new String[]{Manifest.permission.ACCESS_MEDIA_LOCATION}, 0);
|
||||
// PermissionUtils.checkPermissionsAndPerformAction(
|
||||
// this,
|
||||
// () -> {},
|
||||
// R.string.media_location_permission_denied,
|
||||
// R.string.add_location_manually,
|
||||
// permission.ACCESS_MEDIA_LOCATION);
|
||||
// }
|
||||
|
||||
checkAndResumeStuckUploads()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue