Before android 11, I can use adb push images to /sdcard/DCIM/ directory and use am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d <file path>, then images will show in gallery.
Now I find this approach doesn't work in android 11 emulator, images are pushed to devices, but they won't show without a restart.
Is there anyway I can transfer images from host to emulator and make them appear in photo gallery?