-
Notifications
You must be signed in to change notification settings - Fork 527
Whitelist for getExternalStorageState automatically applied to open, openFile etc?? #2384
Comments
I see the issue was tagged with "lowprio". Does this mean that this is potentially never gonna be fixed? |
I am not sure if this is a bug, since there is not enough information to determine it is. "WhatsApp is allowed to use: open, openAssetFile, openAssetDescriptor, openFile, openFileDescriptor, openInputStream, openOutputStream and openTypesAssetFileDescriptor" are these functions restricted? There is no relation to getExternalStorageState. What is your expected outcome? See also the support section. |
I edited the issue text to explain in more detail what is happening and how this can be reproduced. |
It is correct that these function share the same file whitelist, but this is by design. Search for cTypeFilename In this file: Since there are a lot of existing users, this logic cannot be changed anymore. |
Thanks for clarifying.
I don't agree with that. In fact I would argue that you could maintain backwards compatibility and yet allow the user to set individual whitelists... I would probably do it like this: Another way could be to ask the user when he starts the new version for the first time, which behavior he would prefer. The least that should be done in any case, is clarifying that the whitelist is applied to more than the mentioned function. Because however desired this behavior might be, it is not obvious to the user. |
Will you reopen this issue? |
According to the Xprivacy UI (whitelists), my WhatsApp seems to be allowed to use:
on my
/storage/emulated/0
directory even though I completely restricted the access to all of these.The only thing that is not completely restricted is
getExternalStorageState
.It appears that the whitelist for
getExternalStorageState
is automatically being applied to all the functions mentioned above.To reproduce:
Restrict every single function of the Storage category and also set the
question mark
.When WhatsApp asks for access to getExternalStorageState with parameter
/storage/emulated/0
, grant it (whitelist). Then, when WhatsApp asks for access to getExternalStorageState without a parameter mentioned, grant it too.I feel like WhatsApp should only be allowed to use the function
getExternalStorageState
after these actions. I don't understand why it would have access to more than that now.Without the pro license I wouldn't even have noticed this. That's kinda scary.
The text was updated successfully, but these errors were encountered: