minor fixes
This commit is contained in:
parent
21f1fffb9c
commit
d319794a50
4 changed files with 12 additions and 225 deletions
|
@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
|
|||
|
||||
- SD card access grant on Android Lollipop
|
||||
- copying to SD card in some cases
|
||||
- sharing SD card files referred by `file` URI
|
||||
|
||||
## <a id="v1.7.10"></a>[v1.7.10] - 2023-01-18
|
||||
|
||||
|
|
|
@ -139,8 +139,8 @@ class ImageOpStreamHandler(private val activity: Activity, private val arguments
|
|||
|
||||
var destinationDir = arguments["destinationPath"] as String?
|
||||
val mimeType = arguments["mimeType"] as String?
|
||||
val width = arguments["width"] as Int?
|
||||
val height = arguments["height"] as Int?
|
||||
val width = (arguments["width"] as Number?)?.toInt()
|
||||
val height = (arguments["height"] as Number?)?.toInt()
|
||||
val nameConflictStrategy = NameConflictStrategy.get(arguments["nameConflictStrategy"] as String?)
|
||||
if (destinationDir == null || mimeType == null || width == null || height == null || nameConflictStrategy == null) {
|
||||
error("export-args", "missing arguments", null)
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths>
|
||||
<!-- `external-path` only covers files on regular device storage -->
|
||||
<external-path
|
||||
name="external_files"
|
||||
name="external"
|
||||
path="." />
|
||||
|
||||
<!-- `root-path` is necessary to cover files on removable storage -->
|
||||
<!-- cf https://iditect.com/article/fileprovider-for-android-get-content-uri-through-fileprovider.html -->
|
||||
<!--suppress AndroidElementNotAllowed -->
|
||||
<root-path
|
||||
name="root"
|
||||
path="." />
|
||||
|
||||
<!-- embedded images & other media that are exported for viewing and sharing -->
|
||||
|
|
|
@ -661,29 +661,6 @@
|
|||
"settingsDisablingBinWarningDialogMessage"
|
||||
],
|
||||
|
||||
"es": [
|
||||
"chipActionLock",
|
||||
"chipActionCreateVault",
|
||||
"chipActionConfigureVault",
|
||||
"albumTierVaults",
|
||||
"vaultLockTypePin",
|
||||
"vaultLockTypePassword",
|
||||
"newVaultWarningDialogMessage",
|
||||
"newVaultDialogTitle",
|
||||
"configureVaultDialogTitle",
|
||||
"vaultDialogLockModeWhenScreenOff",
|
||||
"vaultDialogLockTypeLabel",
|
||||
"pinDialogEnter",
|
||||
"pinDialogConfirm",
|
||||
"passwordDialogEnter",
|
||||
"passwordDialogConfirm",
|
||||
"authenticateToConfigureVault",
|
||||
"authenticateToUnlockVault",
|
||||
"vaultBinUsageDialogMessage",
|
||||
"settingsConfirmationVaultDataLoss",
|
||||
"settingsDisablingBinWarningDialogMessage"
|
||||
],
|
||||
|
||||
"eu": [
|
||||
"chipActionLock",
|
||||
"chipActionCreateVault",
|
||||
|
@ -1168,29 +1145,6 @@
|
|||
"filePickerUseThisFolder"
|
||||
],
|
||||
|
||||
"fr": [
|
||||
"chipActionLock",
|
||||
"chipActionCreateVault",
|
||||
"chipActionConfigureVault",
|
||||
"albumTierVaults",
|
||||
"vaultLockTypePin",
|
||||
"vaultLockTypePassword",
|
||||
"newVaultWarningDialogMessage",
|
||||
"newVaultDialogTitle",
|
||||
"configureVaultDialogTitle",
|
||||
"vaultDialogLockModeWhenScreenOff",
|
||||
"vaultDialogLockTypeLabel",
|
||||
"pinDialogEnter",
|
||||
"pinDialogConfirm",
|
||||
"passwordDialogEnter",
|
||||
"passwordDialogConfirm",
|
||||
"authenticateToConfigureVault",
|
||||
"authenticateToUnlockVault",
|
||||
"vaultBinUsageDialogMessage",
|
||||
"settingsConfirmationVaultDataLoss",
|
||||
"settingsDisablingBinWarningDialogMessage"
|
||||
],
|
||||
|
||||
"gl": [
|
||||
"columnCount",
|
||||
"chipActionLock",
|
||||
|
@ -2392,29 +2346,6 @@
|
|||
"settingsWidgetDisplayedItem"
|
||||
],
|
||||
|
||||
"ko": [
|
||||
"chipActionLock",
|
||||
"chipActionCreateVault",
|
||||
"chipActionConfigureVault",
|
||||
"albumTierVaults",
|
||||
"vaultLockTypePin",
|
||||
"vaultLockTypePassword",
|
||||
"newVaultWarningDialogMessage",
|
||||
"newVaultDialogTitle",
|
||||
"configureVaultDialogTitle",
|
||||
"vaultDialogLockModeWhenScreenOff",
|
||||
"vaultDialogLockTypeLabel",
|
||||
"pinDialogEnter",
|
||||
"pinDialogConfirm",
|
||||
"passwordDialogEnter",
|
||||
"passwordDialogConfirm",
|
||||
"authenticateToConfigureVault",
|
||||
"authenticateToUnlockVault",
|
||||
"vaultBinUsageDialogMessage",
|
||||
"settingsConfirmationVaultDataLoss",
|
||||
"settingsDisablingBinWarningDialogMessage"
|
||||
],
|
||||
|
||||
"lt": [
|
||||
"columnCount",
|
||||
"chipActionLock",
|
||||
|
@ -2934,146 +2865,19 @@
|
|||
"chipActionLock",
|
||||
"chipActionCreateVault",
|
||||
"chipActionConfigureVault",
|
||||
"entryActionOpenMap",
|
||||
"entryActionRotateScreen",
|
||||
"entryActionAddFavourite",
|
||||
"entryActionRemoveFavourite",
|
||||
"videoActionCaptureFrame",
|
||||
"videoActionMute",
|
||||
"videoActionUnmute",
|
||||
"videoActionPause",
|
||||
"videoActionPlay",
|
||||
"videoActionReplay10",
|
||||
"videoActionSkip10",
|
||||
"videoActionSelectStreams",
|
||||
"videoActionSetSpeed",
|
||||
"viewerActionSettings",
|
||||
"slideshowActionResume",
|
||||
"slideshowActionShowInCollection",
|
||||
"entryInfoActionEditDate",
|
||||
"entryInfoActionEditLocation",
|
||||
"entryInfoActionEditTitleDescription",
|
||||
"entryInfoActionEditRating",
|
||||
"entryInfoActionEditTags",
|
||||
"entryInfoActionRemoveMetadata",
|
||||
"entryInfoActionExportMetadata",
|
||||
"entryInfoActionRemoveLocation",
|
||||
"filterAspectRatioLandscapeLabel",
|
||||
"filterAspectRatioPortraitLabel",
|
||||
"filterBinLabel",
|
||||
"filterFavouriteLabel",
|
||||
"filterNoDateLabel",
|
||||
"filterNoAddressLabel",
|
||||
"filterLocatedLabel",
|
||||
"filterNoLocationLabel",
|
||||
"filterNoRatingLabel",
|
||||
"filterTaggedLabel",
|
||||
"filterNoTagLabel",
|
||||
"filterNoTitleLabel",
|
||||
"filterOnThisDayLabel",
|
||||
"filterRecentlyAddedLabel",
|
||||
"filterRatingRejectedLabel",
|
||||
"filterTypeAnimatedLabel",
|
||||
"filterTypeMotionPhotoLabel",
|
||||
"filterTypePanoramaLabel",
|
||||
"filterTypeRawLabel",
|
||||
"filterTypeSphericalVideoLabel",
|
||||
"filterTypeGeotiffLabel",
|
||||
"filterMimeImageLabel",
|
||||
"filterMimeVideoLabel",
|
||||
"accessibilityAnimationsRemove",
|
||||
"accessibilityAnimationsKeep",
|
||||
"albumTierNew",
|
||||
"albumTierPinned",
|
||||
"albumTierSpecial",
|
||||
"albumTierApps",
|
||||
"albumTierVaults",
|
||||
"albumTierRegular",
|
||||
"coordinateFormatDms",
|
||||
"coordinateFormatDecimal",
|
||||
"coordinateDms",
|
||||
"coordinateDmsNorth",
|
||||
"coordinateDmsSouth",
|
||||
"coordinateDmsEast",
|
||||
"coordinateDmsWest",
|
||||
"displayRefreshRatePreferHighest",
|
||||
"displayRefreshRatePreferLowest",
|
||||
"keepScreenOnNever",
|
||||
"keepScreenOnVideoPlayback",
|
||||
"keepScreenOnViewerOnly",
|
||||
"keepScreenOnAlways",
|
||||
"mapStyleGoogleNormal",
|
||||
"mapStyleGoogleHybrid",
|
||||
"mapStyleGoogleTerrain",
|
||||
"mapStyleHuaweiNormal",
|
||||
"mapStyleHuaweiTerrain",
|
||||
"mapStyleOsmHot",
|
||||
"mapStyleStamenToner",
|
||||
"mapStyleStamenWatercolor",
|
||||
"nameConflictStrategyRename",
|
||||
"nameConflictStrategyReplace",
|
||||
"nameConflictStrategySkip",
|
||||
"subtitlePositionTop",
|
||||
"subtitlePositionBottom",
|
||||
"themeBrightnessLight",
|
||||
"themeBrightnessDark",
|
||||
"themeBrightnessBlack",
|
||||
"unitSystemMetric",
|
||||
"unitSystemImperial",
|
||||
"vaultLockTypePin",
|
||||
"vaultLockTypePassword",
|
||||
"videoControlsPlay",
|
||||
"videoControlsPlaySeek",
|
||||
"videoControlsPlayOutside",
|
||||
"videoControlsNone",
|
||||
"videoLoopModeNever",
|
||||
"videoLoopModeShortOnly",
|
||||
"videoLoopModeAlways",
|
||||
"videoPlaybackSkip",
|
||||
"videoPlaybackMuted",
|
||||
"videoPlaybackWithSound",
|
||||
"viewerTransitionSlide",
|
||||
"viewerTransitionParallax",
|
||||
"viewerTransitionFade",
|
||||
"viewerTransitionZoomIn",
|
||||
"viewerTransitionNone",
|
||||
"wallpaperTargetHome",
|
||||
"wallpaperTargetLock",
|
||||
"wallpaperTargetHomeLock",
|
||||
"widgetDisplayedItemRandom",
|
||||
"widgetDisplayedItemMostRecent",
|
||||
"widgetOpenPageHome",
|
||||
"widgetOpenPageCollection",
|
||||
"widgetOpenPageViewer",
|
||||
"storageVolumeDescriptionFallbackPrimary",
|
||||
"storageVolumeDescriptionFallbackNonPrimary",
|
||||
"rootDirectoryDescription",
|
||||
"otherDirectoryDescription",
|
||||
"storageAccessDialogMessage",
|
||||
"restrictedAccessDialogMessage",
|
||||
"notEnoughSpaceDialogMessage",
|
||||
"missingSystemFilePickerDialogMessage",
|
||||
"unsupportedTypeDialogMessage",
|
||||
"nameConflictDialogSingleSourceMessage",
|
||||
"nameConflictDialogMultipleSourceMessage",
|
||||
"addShortcutDialogLabel",
|
||||
"addShortcutButtonLabel",
|
||||
"noMatchingAppDialogMessage",
|
||||
"binEntriesConfirmationDialogMessage",
|
||||
"deleteEntriesConfirmationDialogMessage",
|
||||
"moveUndatedConfirmationDialogMessage",
|
||||
"moveUndatedConfirmationDialogSetDate",
|
||||
"videoResumeDialogMessage",
|
||||
"videoStartOverButtonLabel",
|
||||
"videoResumeButtonLabel",
|
||||
"setCoverDialogLatest",
|
||||
"setCoverDialogAuto",
|
||||
"setCoverDialogCustom",
|
||||
"hideFilterConfirmationDialogMessage",
|
||||
"newAlbumDialogTitle",
|
||||
"newAlbumDialogNameLabel",
|
||||
"newAlbumDialogNameLabelAlreadyExistsHelper",
|
||||
"newAlbumDialogStorageLabel",
|
||||
"newVaultWarningDialogMessage",
|
||||
"newVaultDialogTitle",
|
||||
"configureVaultDialogTitle",
|
||||
|
@ -3086,34 +2890,8 @@
|
|||
"authenticateToConfigureVault",
|
||||
"authenticateToUnlockVault",
|
||||
"vaultBinUsageDialogMessage",
|
||||
"renameAlbumDialogLabel",
|
||||
"renameAlbumDialogLabelAlreadyExistsHelper",
|
||||
"renameEntrySetPageTitle",
|
||||
"renameEntrySetPagePatternFieldLabel",
|
||||
"renameEntrySetPageInsertTooltip",
|
||||
"renameEntrySetPagePreviewSectionTitle",
|
||||
"renameProcessorCounter",
|
||||
"renameProcessorName",
|
||||
"deleteSingleAlbumConfirmationDialogMessage",
|
||||
"deleteMultiAlbumConfirmationDialogMessage",
|
||||
"exportEntryDialogFormat",
|
||||
"exportEntryDialogWidth",
|
||||
"exportEntryDialogHeight",
|
||||
"renameEntryDialogLabel",
|
||||
"editEntryDialogCopyFromItem",
|
||||
"editEntryDialogTargetFieldsHeader",
|
||||
"editEntryDateDialogTitle",
|
||||
"editEntryDateDialogSetCustom",
|
||||
"editEntryDateDialogCopyField",
|
||||
"editEntryDateDialogExtractFromTitle",
|
||||
"editEntryDateDialogShift",
|
||||
"editEntryDateDialogSourceFileModifiedDate",
|
||||
"durationDialogHours",
|
||||
"durationDialogMinutes",
|
||||
"durationDialogSeconds",
|
||||
"editEntryLocationDialogTitle",
|
||||
"editEntryLocationDialogSetCustom",
|
||||
"editEntryLocationDialogChooseOnMap",
|
||||
"editEntryLocationDialogLatitude",
|
||||
"editEntryLocationDialogLongitude",
|
||||
"locationPickerUseThisLocationButton",
|
||||
|
|
Loading…
Reference in a new issue