操作\打开\文档\树在Android Q Beta 2模拟器中不工作?

操作\打开\文档\树在Android Q Beta 2模拟器中不工作?,android,android-intent,android-activity,android-10.0,Android,Android Intent,Android Activity,Android 10.0,执行上面的代码不会在emulator中打开任何文件对话框,这是一个已知的错误吗?FWIW,它在使用Q Beta 2闪现的像素上工作——我使用测试。请注意,您不需要调用addFlags()调用。这太糟糕了,emulator迫切需要支持:(FWIW,它可以在Q Beta 2闪烁的像素上工作——我使用进行了测试。请注意,您不需要调用addFlags()调用。这太糟糕了,emulator迫切需要支持:( Intent intent = new Intent(Intent.ACTION_OPEN_DOCU

执行上面的代码不会在emulator中打开任何文件对话框,这是一个已知的错误吗?

FWIW,它在使用Q Beta 2闪现的像素上工作——我使用测试。请注意,您不需要调用
addFlags()
调用。这太糟糕了,emulator迫切需要支持:(FWIW,它可以在Q Beta 2闪烁的像素上工作——我使用进行了测试。请注意,您不需要调用
addFlags()
调用。这太糟糕了,emulator迫切需要支持:(
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE);
intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION)
activity.startActivityForResult(intent, MY_RESULT_CODE);