I didn't expect that because I still got the security exception. When
user ID is needed). my application actually send the SMS. (When I put
On Nov 16, 7:08 pm, Dianne Hackborn <
hack...@android.com> wrote:
> Yes the permissions associated with a shared user ID are the union of
> permissions requested by all apps with that uid.
>
>
>
> On Tue, Nov 16, 2010 at 6:49 AM, Jonas <
jonas.geer...@gmail.com> wrote:
> > Dear all,
>
> > I got a well known security exception:
>
> > java.lang.SecurityException: Sending SMS message: User 1001 does not
> > have android.permission.SEND_SMS
>
> > I added the following line to the android manifest file:
>
> > But even when I do this I got the same exception.
>
> > This has possibly something to do with the shared user id I use:
> > android:sharedUserId="android.uid.phone", so here my question:
>
> > When I use a shared user id (from a system application), can I add my
> > own permissions to the manifest file.
>
> > additional information: I used the same certificate as the system,
> > else I couldn't use the same user id as a system application.
>
> > Thanks in advance for your answers and remarks!
>
> > Jonas
>
> > --
> > 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