Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
deckerst committed Aug 22, 2023
2 parents fb8a97c + 8e01f30 commit 271809e
Show file tree
Hide file tree
Showing 14 changed files with 501 additions and 207 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## <a id="unreleased"></a>[Unreleased]

## <a id="v1.9.1"></a>[v1.9.1] - 2023-08-22

### Fixed

- editing some WEBP corrupting them (by failing instead)

## <a id="v1.9.0"></a>[v1.9.0] - 2023-08-21

### Added
Expand All @@ -24,6 +30,7 @@ All notable changes to this project will be documented in this file.
### Fixed

- flickering when starting videos
- editing fragmented MP4 corrupting them (by failing instead)

## <a id="v1.8.9"></a>[v1.8.9] - 2023-06-04

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import android.content.ContextWrapper
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.ImageDecoder
import android.net.Uri
import android.os.Binder
import android.os.Build
Expand Down Expand Up @@ -684,6 +685,14 @@ abstract class ImageProvider {
throw Exception("editing Exif changes mimeType=$mimeType -> $editedMimeType for uri=$uri path=$path")
}

if (mimeType == MimeTypes.WEBP && Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
// as of androidx.exifinterface:exifinterface:1.3.6, editing some specific WEBP
// makes them undecodable by some decoders (including Android's and Chrome's)
// even though `BitmapFactory` successfully decodes their bounds,
// so we check whether decoding it throws an exception
ImageDecoder.decodeBitmap(ImageDecoder.createSource(editableFile))
}

if (videoBytes != null) {
// append trailer video, if any
editableFile.appendBytes(videoBytes!!)
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/res/values-sk/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<string name="analysis_notification_action_stop">Zastaviť</string>
<string name="analysis_channel_name">Skenovanie médií</string>
<string name="analysis_notification_default_title">Skenovanie média</string>
<string name="safe_mode_shortcut_short_label">Bezpečný režim</string>
</resources>
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
kotlin_version = '1.8.21'
ksp_version = "$kotlin_version-1.0.11"
agp_version = '7.4.2'
glide_version = '4.15.1'
glide_version = '4.16.0'
// AppGallery Connect plugin versions: https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-sdk-changenotes-0000001058732550
huawei_agconnect_version = '1.9.1.300'
abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, 'x86': 3, 'x86_64': 4]
Expand All @@ -28,7 +28,7 @@ buildscript {
if (useCrashlytics) {
// GMS & Firebase Crashlytics (used by some flavors only)
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.8'
}

if (useHms) {
Expand Down
5 changes: 5 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/102.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
In v1.9.1:
- play your animated AVIF, AV1, and HDR videos
- filter by rating ranges
- judge tonal distributions with the viewer histogram
Full changelog available on GitHub
5 changes: 5 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/10201.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
In v1.9.1:
- play your animated AVIF, AV1, and HDR videos
- filter by rating ranges
- judge tonal distributions with the viewer histogram
Full changelog available on GitHub
8 changes: 7 additions & 1 deletion lib/l10n/app_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -1348,5 +1348,11 @@
"aboutDataUsageInternal": "Interno",
"@aboutDataUsageInternal": {},
"aboutDataUsageExternal": "Esterno",
"@aboutDataUsageExternal": {}
"@aboutDataUsageExternal": {},
"overlayHistogramNone": "Nessuno",
"@overlayHistogramNone": {},
"overlayHistogramLuminance": "Luminanza",
"@overlayHistogramLuminance": {},
"settingsViewerShowHistogram": "Mostra istogramma",
"@settingsViewerShowHistogram": {}
}
Loading

0 comments on commit 271809e

Please sign in to comment.