Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Let getPackagesForUid return calling uid #1871

Closed
hughperkins opened this issue Aug 12, 2014 · 3 comments
Closed

Let getPackagesForUid return calling uid #1871

hughperkins opened this issue Aug 12, 2014 · 3 comments

Comments

@hughperkins
Copy link

To reproduce:

logcat log sent by email.

I suppose I'm imagining that the application is expecting to at least see itself in the list of packages returned? And maybe it's simply receiving null, or having the function call refused entirely?

@M66B M66B changed the title Cant block getPackagesForUid on Taobao Let getPackagesForUid return calling uid Aug 12, 2014
@M66B
Copy link
Owner

M66B commented Aug 12, 2014

getPackagesForUid is marked dangerous, so it is to be expected things like this can happen.
Nevertheless I will allow an application to see its own uid.

@M66B
Copy link
Owner

M66B commented Aug 12, 2014

The reason for the crash in the logcat is:

E/JavaBinder( 3954): !!! FAILED BINDER TRANSACTION !!!

There is no indication this is caused by XPrivacy, but I can't rule it out either.

You can try beta version 2.99.x, because the binder restrictions have been removed, since they are not needed anymore. See the changelog for getting 2.99.x versions.

@M66B M66B closed this as completed in e25ca54 Aug 12, 2014
@M66B
Copy link
Owner

M66B commented Aug 12, 2014

The own uid is allowed for getPackagesForUid and queryContentProviders in the just released beta version 2.99.15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants