Android M (API 23+) 运行时存储权限

Android M (API 23+) runtime storage permissions

在我的应用程序中,我需要读取和写入外部存储。

在 Android M 中,我是否需要提示用户提供权限 READ_EXTERNAL_STORAGEWRITE_EXTERNAL_STORAGE
或者要求其中之一就足够了,因为它们都属于 Storage 权限组?

感谢 Ragaisis,这个 blog post 回答了我的问题

引自博客post:

If any permission in a Permission Group is granted. Another permission in the same group will be automatically granted as well