Syncadapter Android:uservisible Attribute Not Working
According to the android Documentation android:userVisible defaults to true and controls whether or not this sync adapter shows up in the Sync Settings screen. but it shows in th
Solution 1:
I have implemented my own syncadapter it's working for me as below :
Case 1: When android:userVisible="false"
There is only app icon,Account name and app title
<sync-adapterxmlns:android="http://schemas.android.com/apk/res/android"android:contentAuthority="com.example.kukssyncadapter"android:accountType="com.example.kukssyncadapter"android:supportsUploading="false"android:allowParallelSyncs="false"android:userVisible="false"
/>
Case 2: When android:userVisible="true"
There is app icon,Account name and app title with sync control functionality as you can see from image
<sync-adapterxmlns:android="http://schemas.android.com/apk/res/android"android:contentAuthority="com.example.kukssyncadapter"android:accountType="com.example.kukssyncadapter"android:supportsUploading="false"android:allowParallelSyncs="false"android:userVisible="true"
/>
Post a Comment for "Syncadapter Android:uservisible Attribute Not Working"