Update: It seems like trimming by only moving the right blue arrow, or the endpoint worked for me, until I tried doing it a second time and get the following error:
type: crash
osVersion: google/bluejay/bluejay:13/TQ1A.230205.002/2023020600:user/release-keys
package: com.android.gallery3d:40030
process: com.android.gallery3d
processUptime: 56856 + 179 ms
android.os.FileUriExposedException: file:///storage/emulated/0/Movies/TRIM_20230210_001014.mp4 exposed beyond app through Intent.getData()
at android.os.StrictMode.onFileUriExposed(StrictMode.java:2208)
at android.net.Uri.checkFileUriExposed(Uri.java:2407)
at android.content.Intent.prepareToLeaveProcess(Intent.java:11911)
at android.content.Intent.prepareToLeaveProcess(Intent.java:11860)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1838)
at android.app.Activity.startActivityForResult(Activity.java:5518)
at android.app.Activity.startActivityForResult(Activity.java:5437)
at android.app.Activity.startActivity(Activity.java:5974)
at android.app.Activity.startActivity(Activity.java:5941)
at com.android.gallery3d.app.TrimVideo$3$1.run(TrimVideo.java:266)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7879)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ExecInit.main(ExecInit.java:49)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
The video seems to have been trimmed properly this time, but by only moving the endpoint.
Can anyone else reproduce either error?