--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
Thanks for your reply! Indeed, the Intent constructor was called within
a function of a remote service stub, thus it returns the caller UID as
you said. Even in the constructor of the Intent class. I just found out,
that I did the very stupid beginner's error to not include the new int
variable of Intents (to which I write the value Binder.getCallingUid()
in the constructor) into the writeToParcel/readFromParcel functions and
thus it naturally never shows up at the receiving end of the Intent...
Now everything works as expected :)
> <mailto:android-...@googlegroups.com>.
> To unsubscribe from this group, send email to
> android-platfo...@googlegroups.com
> <mailto:android-platform%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.
>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hac...@android.com <mailto:hac...@android.com>
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails. All such
> questions should be posted on public forums, where I and others can see
> and answer them.
>