Yes permissions on older platforms will be ignored.  Since older platforms
don't know about sync adapters, they just won't do anything with them.

Do be sure of course to test your code on an older platform to be sure all
is well, though.

On Fri, Jul 30, 2010 at 11:17 AM, Mark Wyszomierski <mar...@gmail.com>wrote:

> Hi,
>
> I'm looking at the sample sync adapter here:
>
>
> http://developer.android.com/resources/samples/SampleSyncAdapter/index.html
>
> I'd like to still support sdk level 3 and 4 devices. Will including
> the following lines in my app's manifest be problematic?:
>
>  <uses-permission
>        android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
>  <uses-permission
>        android:name="android.permission.READ_SYNC_STATS" />
>
> are these specific to sdk level 5?
>
> Ideally, we could include these for level 3 and 4 users, and they just
> won't be shown the contact sync option at all. Is this how it's meant
> to work?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@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.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to