Hi Victoria,
Thanks for the update. We are checking with simple sample and it properly stored in Gallery for Android. So, we are afraid that we are not able to reproduce the issue at our end. Please check the below sample.
If you still face the problem, can you please revert us by modifying the sample based on your application along with replication procedure. This will be helpful for us to investigate further and provide you a better solution at the earliest.
Thanks,
Michael