For folks looking to trigger screenshots to test things like the new screenshot detector API, which AFAICT won't be triggered via the emulator screenshot button, you can use the accessibility menu's screenshot button. Turn on the accessibility menu by searching for it in settings and then swipe to the second page and you'll see a screenshot button which will trigger the screenshot capture API.