mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
5196: Fix location stripped from EXIF metadata (#5227)
* MainActivity: add ACCESS_MEDIA_LOCATION permission check to retain location info in EXIF metadata * remove redundant permission check and optimise imports * FilePicker: switch to ACTION_OPEN_DOCUMENT intent for opening image files * add a comment explaining the change * implement GET_CONTENT photo picker toggle switch * add location loss warning pop up * SettingsFragment: modify the comment about GET_CONTENT takeover for more clarity
This commit is contained in:
parent
4d71c305f2
commit
9a0f35c681
6 changed files with 97 additions and 20 deletions
|
|
@ -440,6 +440,9 @@ Upload your first media by tapping on the add button.</string>
|
|||
<string name="ends_on">Ends on:</string>
|
||||
<string name="display_campaigns">Display campaigns</string>
|
||||
<string name="display_campaigns_explanation">See the ongoing campaigns</string>
|
||||
<string name="get_content_photo_picker_title">Use GET_CONTENT photo picker</string>
|
||||
<string name="get_content_photo_picker_explanation">Disable if your pictures get uploaded without location</string>
|
||||
<string name="location_loss_warning">Please make sure that this new Android picker does not strip location from your pictures.</string>
|
||||
|
||||
<string name="nearby_campaign_dismiss_message">You won\'t see the campaigns anymore. However, you can re-enable this notification in Settings if you wish.</string>
|
||||
<string name="this_function_needs_network_connection">This function requires network connection, please check your connection settings.</string>
|
||||
|
|
|
|||
|
|
@ -70,6 +70,12 @@
|
|||
app:singleLineTitle="false"
|
||||
android:summary="@string/display_campaigns_explanation"
|
||||
android:title="@string/display_campaigns" />
|
||||
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="getContentPhotoPickerPref"
|
||||
android:summary="@string/get_content_photo_picker_explanation"
|
||||
android:title="@string/get_content_photo_picker_title"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue