Hi Guys, Its me again, this time I have a question about the following methods Context.checkPermission Context.checkCallingPermission and the Context.enforceCallingPermission
I understand that they basically all wrap Context.checkPermission and checkPermission determines the caller by referencing Binder.getCallingUid/Pid My problem is WHEN DOES THIS EVER NOT RETURN THE CURRENT Uid/Pid? Are there any Intent/IPC related operations that external applications can use to explicitly declare their identities to the target of an Intent without going down the custom binder/aidl route? Basically I want to be able to determine the source that launches an Activity, Broadcasts to a Receiver, Queries a path or binds to Service, is there any way to do this? Regards and Thanks -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-security-discuss+unsubscr...@googlegroups.com. To post to this group, send email to android-security-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/android-security-discuss. For more options, visit https://groups.google.com/groups/opt_out.