zhanghai / MaterialFiles

Material Design file manager for Android
https://play.google.com/store/apps/details?id=me.zhanghai.android.files
GNU General Public License v3.0
5.44k stars 378 forks source link

Allow accessing Bug Reports. #1215

Closed RokeJulianLockhart closed 2 months ago

RokeJulianLockhart commented 2 months ago

As https://www.reddit.com/r/android_beta/comments/cq7fm1/comment/ewulta6/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button explains, this doesn't appear to be possible except via com.android.documentsui yet.

zhanghai commented 2 months ago

Yes, it's not possible in Material Files and you have to use DocumentsUI.

RokeJulianLockhart commented 2 months ago

https://github.com/zhanghai/MaterialFiles/issues/1215#issuecomment-2083081915

@zhanghai, I'm aware. That's why I request it. Do you mean that it's a limitation of AOSP? If so, do you know of a relevant issue at https://issuetracker.google.com/u/1/issues?q=status:open%20componentid:190923, or would be willing to file one?

zhanghai commented 2 months ago

#1215 (comment)

@zhanghai, I'm aware. That's why I request it. Do you mean that it's a limitation of AOSP? If so, do you know of a relevant issue at https://issuetracker.google.com/u/1/issues?q=status:open%20componentid:190923, or would be willing to file one?

Yes, it is limited by AOSP and likely intentional because bugreports may contain sensitive private information. I don't know a relevant issue and I'm personally fine with the current situation so I'm not going to file one myself.

RokeJulianLockhart commented 2 months ago

https://github.com/zhanghai/MaterialFiles/issues/1215#issuecomment-2083180116

@zhanghai, seems like it might be worth following https://android.stackexchange.com/questions/249083/accessing-bug-reports-and-termux-storage-in-file-explorer#comment335117_249083 for a solution.

zhanghai commented 2 months ago

I'm not seeing a solution there. Apps can't open DocumentsUI to be granted access to that directory, and Files by Google also just opens DocumentsUI.

RokeJulianLockhart commented 2 months ago

https://github.com/zhanghai/MaterialFiles/issues/1215#issuecomment-2083215190

@zhanghai, yeah, that's why I said that it would be worth following - because when there's an answer, we'll be notified.