[android-developers] Restriction in ContactsProvider has gone ?

2012-07-13 Thread jindog
Hi, I've searched for IS_RESTRICTED field or restriction feature in Android Open Source Project git repo, but i couldn't. I found the commit ed6bfd922fd84db21de08c1d12e93c501b86560d - Remove restricted white-listing I want to know why this feature removed from source. (What's happing??)

Re: [android-developers] Restriction in ContactsProvider has gone ?

2012-07-13 Thread Dianne Hackborn
This was never a supported API in the SDK, and the design behind it was fundamentally flawed (which is one reason it was never in the SDK). On Thu, Jul 12, 2012 at 11:29 PM, jindog jin...@gmail.com wrote: Hi, I've searched for IS_RESTRICTED field or restriction feature in Android Open Source

Re: [android-developers] Restriction in ContactsProvider has gone ?

2012-07-13 Thread jindog
Hmm... But, I found the source code that the feature is implemented on ContactsContract ( Android 2.2 or higher including ICS). And in my phone (Galaxy S2 with ICS), the Contacts DB has the field is_restricted yet. According to your reply, how they (especially, facebook app.) can use

Re: [android-developers] Restriction in ContactsProvider has gone ?

2012-07-13 Thread Dianne Hackborn
This isn't a public API. You can't assume anything about implementation details like this. On Fri, Jul 13, 2012 at 12:13 AM, jindog jin...@gmail.com wrote: Hmm... But, I found the source code that the feature is implemented on ContactsContract ( Android 2.2 or higher including ICS). And