Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix ML crash issue on Oneplus 15 (#8242)

Laurens Priem43d80feef65e
diff --git a/mobile/apps/photos/plugins/onnx_dart/android/build.gradle b/mobile/apps/photos/plugins/onnx_dart/android/build.gradle
index 0066464309..5932438b3e 100644
--- a/mobile/apps/photos/plugins/onnx_dart/android/build.gradle
+++ b/mobile/apps/photos/plugins/onnx_dart/android/build.gradle
@@ -53,7 +53,9 @@ android {
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.mockito:mockito-core:5.0.0")
- implementation 'com.microsoft.onnxruntime:onnxruntime-android:1.22.0'
+ implementation("com.microsoft.onnxruntime:onnxruntime-android") {
+ version { strictly("1.22.0") }
+ }
}
testOptions {
diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yaml
index 11949a7649..19cf4cd649 100644
--- a/mobile/apps/photos/pubspec.yaml
+++ b/mobile/apps/photos/pubspec.yaml
@@ -147,7 +147,7 @@ dependencies:
mobile_ocr:
git:
url: https://github.com/ente-io/mobile_ocr
- ref: 8dba33ad89eea99683780469bc4d0ec4993d61c3
+ ref: 4f3aa1660d94eae0a9caa292d076dad72a978ddf
modal_bottom_sheet: ^3.0.0
motion_photos:
git: "https://github.com/ente-io/motion_photo.git"