IacobIonut01 / Gallery

Light-weight Media Gallery app for Android made with Jetpack Compose
Apache License 2.0
1.22k stars 61 forks source link

[BUG] java.lang.RuntimeException: Canvas: trying to draw too large bitmap. #336

Closed ErrrorMaxx closed 7 months ago

ErrrorMaxx commented 7 months ago

Describe the bug My phone can took 9MB+ photos, which I can't edit in this app (app crashes)

To Reproduce Steps to reproduce the behavior:

  1. Get large photo
  2. Try to edit it in app

Expected behavior App not crashes and I can edit photo

Smartphone:

Additional context java.lang.RuntimeException: Canvas: trying to draw too large(254803968bytes) bitmap.

inferenceus commented 7 months ago

I have the same issue; app crashes when attempting to edit a 50 MP JPG image. My device has 12 GiB memory, and editing the same image works in other apps, including ibisPaint X.

Smartphone:

Log:

type: logcat
osVersion: google/husky/husky:14/UQ1A.240205.004/2024020500:user/release-keys
packageName: com.dot.gallery:21009
buffers: main,system,crash,events
level: verbose

--------- beginning of events
1707878940.444 29952 29952 I wm_on_create_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=performCreate,time=13ms]
1707878940.445 29952 29952 I wm_on_start_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=handleStartActivity,time=0ms]
1707878940.446 29952 29952 I wm_on_resume_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=RESUME_ACTIVITY,time=0ms]
1707878940.451 29952 29952 I wm_on_top_resumed_gained_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=topStateChangedWhenResumed]
1707878942.999 29952 29952 I wm_on_top_resumed_lost_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=topStateChangedWhenResumed]
1707878943.000 29952 29952 I wm_on_paused_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=performPause,time=0ms]
1707878943.008 29952 29952 I wm_on_create_called: [Token=103758096,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=performCreate,time=2ms]
1707878943.008 29952 29952 I wm_on_start_called: [Token=103758096,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=handleStartActivity,time=0ms]
1707878943.008 29952 29952 I wm_on_resume_called: [Token=103758096,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=RESUME_ACTIVITY,time=0ms]
1707878943.012 29952 29952 I wm_on_top_resumed_gained_called: [Token=103758096,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=topStateChangedWhenResumed]
1707878943.120 29952 29952 I wm_on_stop_called: [Token=204965360,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=0ms]
1707878949.544 30135 30135 I auditd : avc=type=1400 audit(0.0:173943): avc: denied { read } for comm="app_process64" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=418 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
1707878949.548 30135 30135 I auditd : avc=type=1400 audit(0.0:173944): avc: denied { read } for comm="com.dot.gallery" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=418 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
1707878949.552 30135 30135 I auditd : avc=type=1400 audit(0.0:173945): avc: denied { read } for comm="com.dot.gallery" name="u:object_r:odsign_prop:s0" dev="tmpfs" ino=339 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:odsign_prop:s0 tclass=file permissive=0
1707878949.552 30135 30135 I auditd : avc=type=1400 audit(0.0:173946): avc: denied { read } for comm="com.dot.gallery" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=418 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
1707878949.564 30135 30135 I auditd : avc=type=1400 audit(0.0:173947): avc: denied { getattr } for comm="com.dot.gallery" path="/apex/apex-info-list.xml" dev="tmpfs" ino=81 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:apex_info_file:s0 tclass=file permissive=0
1707878949.572 30135 30135 I auditd : avc=type=1400 audit(0.0:173948): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot.art" dev="dm-24" ino=1365 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.572 30135 30135 I auditd : avc=type=1400 audit(0.0:173949): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-core-libart.art" dev="dm-24" ino=1311 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.572 30135 30135 I auditd : avc=type=1400 audit(0.0:173950): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-okhttp.art" dev="dm-24" ino=1347 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.572 30135 30135 I auditd : avc=type=1400 audit(0.0:173951): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-bouncycastle.art" dev="dm-24" ino=1299 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.572 30135 30135 I auditd : avc=type=1400 audit(0.0:173952): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-apache-xml.art" dev="dm-24" ino=1293 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.572 30135 30135 I auditd : avc=type=1400 audit(0.0:173953): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-framework.art" dev="dm-24" ino=1335 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.584 30135 30135 I auditd : avc=type=1400 audit(0.0:173954): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-framework-graphics.art" dev="dm-24" ino=1329 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.584 30135 30135 I auditd : avc=type=1400 audit(0.0:173955): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-ext.art" dev="dm-24" ino=1317 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.584 30135 30135 I auditd : avc=type=1400 audit(0.0:173956): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-telephony-common.art" dev="dm-24" ino=1353 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.584 30135 30135 I auditd : avc=type=1400 audit(0.0:173957): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-voip-common.art" dev="dm-24" ino=1359 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.584 30135 30135 I auditd : avc=type=1400 audit(0.0:173958): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-ims-common.art" dev="dm-24" ino=1341 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.584 30135 30135 I auditd : avc=type=1400 audit(0.0:173959): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-core-icu4j.art" dev="dm-24" ino=1305 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.588 30135 30135 I auditd : avc=type=1400 audit(0.0:173960): avc: denied { lock } for comm="com.dot.gallery" path="/system/framework/arm64/boot-framework-adservices.art" dev="dm-24" ino=1323 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:system_file:s0 tclass=file permissive=0
1707878949.644 30135 30135 I auditd : avc=type=1400 audit(0.0:173961): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=180 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
1707878949.644 30135 30135 I auditd : avc=type=1400 audit(0.0:173962): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=180 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
1707878949.644 30135 30135 I auditd : avc=type=1400 audit(0.0:173963): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=180 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
1707878949.644 30135 30135 I auditd : avc=type=1400 audit(0.0:173964): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=180 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
1707878949.644 30135 30135 I auditd : avc=type=1400 audit(0.0:173965): avc: denied { read } for comm="main" name="u:object_r:build_attestation_prop:s0" dev="tmpfs" ino=180 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:build_attestation_prop:s0 tclass=file permissive=0
1707878949.644 30135 30135 I auditd : avc=type=1400 audit(0.0:173966): avc: denied { read } for comm="main" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=418 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
1707878949.676 30135 30135 I auditd : avc=type=1400 audit(0.0:173967): avc: denied { read } for comm="binder:30135_2" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=359 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0
1707878949.676 30135 30135 I auditd : avc=type=1400 audit(0.0:173968): avc: denied { read } for comm="binder:30135_2" name="u:object_r:qemu_sf_lcd_density_prop:s0" dev="tmpfs" ino=359 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:qemu_sf_lcd_density_prop:s0 tclass=file permissive=0
1707878949.764 30135 30135 I wm_on_create_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=performCreate,time=12ms]
1707878949.765 30135 30135 I wm_on_start_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=handleStartActivity,time=0ms]
1707878949.766 30135 30135 I wm_on_resume_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=RESUME_ACTIVITY,time=0ms]
1707878949.764 30135 30135 I auditd : avc=type=1400 audit(0.0:173969): avc: denied { read } for comm="com.dot.gallery" name="u:object_r:userdebug_or_eng_prop:s0" dev="tmpfs" ino=418 scontext=u:r:untrusted_app:s0:c167,c256,c524,c768 tcontext=u:object_r:userdebug_or_eng_prop:s0 tclass=file permissive=0
1707878949.773 30135 30135 I wm_on_top_resumed_gained_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=topStateChangedWhenResumed]
1707878960.260 30135 30135 I wm_on_top_resumed_lost_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=topStateChangedWhenResumed]
1707878960.261 30135 30135 I wm_on_paused_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=performPause,time=1ms]
1707878960.271 30135 30135 I wm_on_create_called: [Token=154295634,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=performCreate,time=5ms]
1707878960.272 30135 30135 I wm_on_start_called: [Token=154295634,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=handleStartActivity,time=0ms]
1707878960.274 30135 30135 I wm_on_resume_called: [Token=154295634,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=RESUME_ACTIVITY,time=0ms]
1707878960.282 30135 30135 I wm_on_top_resumed_gained_called: [Token=154295634,Component Name=com.dot.gallery.feature_node.presentation.edit.EditActivity,Reason=topStateChangedWhenResumed]
1707878960.407 30135 30135 I wm_on_stop_called: [Token=180607233,Component Name=com.dot.gallery.feature_node.presentation.main.MainActivity,Reason=STOP_ACTIVITY_ITEM,time=1ms]
--------- switch to crash
1707878973.258 30135 30135 E AndroidRuntime: FATAL EXCEPTION: main
1707878973.258 30135 30135 E AndroidRuntime: Process: com.dot.gallery, PID: 30135
1707878973.258 30135 30135 E AndroidRuntime: java.lang.RuntimeException: Canvas: trying to draw too large(200540160bytes) bitmap.
1707878973.258 30135 30135 E AndroidRuntime: at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)
1707878973.258 30135 30135 E AndroidRuntime: at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)
1707878973.258 30135 30135 E AndroidRuntime: at i1.b.h(Unknown Source:92)
1707878973.258 30135 30135 E AndroidRuntime: at k1.c.t(Unknown Source:30)
1707878973.258 30135 30135 E AndroidRuntime: at x1.j0.t(Unknown Source:23)
1707878973.258 30135 30135 E AndroidRuntime: at k1.g.b0(Unknown Source:110)
1707878973.258 30135 30135 E AndroidRuntime: at q.o.c(Unknown Source:100)
1707878973.258 30135 30135 E AndroidRuntime: at f1.f.b(Unknown Source:2)
1707878973.258 30135 30135 E AndroidRuntime: at x1.j0.b(Unknown Source:31)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:51)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.a(Unknown Source:374)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.d(Unknown Source:250)
1707878973.258 30135 30135 E AndroidRuntime: at p0.b.f(Unknown Source:59)
1707878973.258 30135 30135 E AndroidRuntime: at a1.a0.a(Unknown Source:47)
1707878973.258 30135 30135 E AndroidRuntime: at a1.b0.c(Unknown Source:152)
1707878973.258 30135 30135 E AndroidRuntime: at x1.q1.a(Unknown Source:2)
1707878973.258 30135 30135 E AndroidRuntime: at s1.o0.c(Unknown Source:471)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.i(Unknown Source:65)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.e(Unknown Source:13)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.a(Unknown Source:374)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.d(Unknown Source:250)
1707878973.258 30135 30135 E AndroidRuntime: at p0.b.f(Unknown Source:59)
1707878973.258 30135 30135 E AndroidRuntime: at a1.a0.a(Unknown Source:47)
1707878973.258 30135 30135 E AndroidRuntime: at a1.b0.c(Unknown Source:152)
1707878973.258 30135 30135 E AndroidRuntime: at x1.q1.a(Unknown Source:2)
1707878973.258 30135 30135 E AndroidRuntime: at s1.o0.c(Unknown Source:471)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.i(Unknown Source:65)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.e(Unknown Source:13)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at androidx.compose.ui.node.a.i(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.x.Y0(Unknown Source:27)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at androidx.compose.ui.node.a.i(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.x.Y0(Unknown Source:27)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.a(Unknown Source:374)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.d(Unknown Source:250)
1707878973.258 30135 30135 E AndroidRuntime: at p0.b.f(Unknown Source:59)
1707878973.258 30135 30135 E AndroidRuntime: at a1.a0.a(Unknown Source:47)
1707878973.258 30135 30135 E AndroidRuntime: at a1.b0.c(Unknown Source:152)
1707878973.258 30135 30135 E AndroidRuntime: at x1.q1.a(Unknown Source:2)
1707878973.258 30135 30135 E AndroidRuntime: at s1.o0.c(Unknown Source:471)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.i(Unknown Source:65)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.e(Unknown Source:13)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.a(Unknown Source:374)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.d(Unknown Source:250)
1707878973.258 30135 30135 E AndroidRuntime: at p0.b.f(Unknown Source:59)
1707878973.258 30135 30135 E AndroidRuntime: at a1.a0.a(Unknown Source:47)
1707878973.258 30135 30135 E AndroidRuntime: at a1.b0.c(Unknown Source:152)
1707878973.258 30135 30135 E AndroidRuntime: at x1.q1.a(Unknown Source:2)
1707878973.258 30135 30135 E AndroidRuntime: at s1.o0.c(Unknown Source:471)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.i(Unknown Source:65)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.e(Unknown Source:13)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at androidx.compose.ui.node.a.i(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.x.Y0(Unknown Source:27)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at x1.d0.Y0(Unknown Source:5)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.G0(Unknown Source:29)
1707878973.258 30135 30135 E AndroidRuntime: at androidx.compose.ui.node.a.i(Unknown Source:4)
1707878973.258 30135 30135 E AndroidRuntime: at x1.x.Y0(Unknown Source:27)
1707878973.258 30135 30135 E AndroidRuntime: at x1.f1.I0(Unknown Source:7)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.a(Unknown Source:374)
1707878973.258 30135 30135 E AndroidRuntime: at s.a1.d(Unknown Source:250)
1707878973.258 30135 30135 E AndroidRuntime: at p0.b.f(Unknown Source:59)
1707878973.258 30135 30135 E AndroidRuntime: at a1.a0.a(Unknown Source:47)
1707878973.258 30135 30135 E AndroidRuntime: at a1.b0.c(Unknown Source:152)
1707878973.258 30135 30135 E AndroidRuntime: at x1.q1.a(Unknown Source:2)
1707878973.258 30135 30135 E AndroidRuntime: at s1.o0.c(Unknown Source:471)
1707878973.258 30135 30135 E AndroidRuntime: at y1.j2.i(Unknown Source:65)
1707878973.258 30135 30135 E AndroidRuntime: at y1.y.dispatchDraw(Unknown Source:68)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.View.draw(View.java:23903)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:22767)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4543)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4516)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:22723)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4543)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4516)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:22723)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4543)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4516)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:22723)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4543)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4516)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.View.updateDisplayListIfDirty(View.java:22723)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:694)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:700)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:798)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewRootImpl.draw(ViewRootImpl.java:5144)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4835)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4011)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2650)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9526)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1343)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1352)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:952)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:882)
1707878973.258 30135 30135 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1326)
1707878973.258 30135 30135 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:958)
1707878973.258 30135 30135 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
1707878973.258 30135 30135 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205)
1707878973.258 30135 30135 E AndroidRuntime: at android.os.Looper.loop(Looper.java:294)
1707878973.258 30135 30135 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8279)
1707878973.258 30135 30135 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
1707878973.258 30135 30135 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
1707878973.258 30135 30135 E AndroidRuntime: at com.android.internal.os.ExecInit.main(ExecInit.java:49)
1707878973.258 30135 30135 E AndroidRuntime: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
1707878973.258 30135 30135 E AndroidRuntime: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:359)
IacobIonut01 commented 7 months ago

Will be resolved soon while also adding the support for subsampling images (loading the full resolution)

inferenceus commented 7 months ago

Will be resolved soon while also adding the support for subsampling images (loading the full resolution)

Great. Thanks.

IacobIonut01 commented 7 months ago

Fixed in https://github.com/IacobIonut01/Gallery/commit/450a724909d1bf1ce3f00f4e93205a8350cba8c3

inferenceus commented 7 months ago

Fixed in 450a724

Thanks a lot.