add a supportsUploading flag in the SyncAdapter description and honor it in the SyncManager
This commit is contained in:
@ -7489,6 +7489,17 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="supportsUploading"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="16843410"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="syncable"
|
||||
type="int"
|
||||
transient="false"
|
||||
@ -36124,6 +36135,8 @@
|
||||
</parameter>
|
||||
<parameter name="userVisible" type="boolean">
|
||||
</parameter>
|
||||
<parameter name="supportsUploading" type="boolean">
|
||||
</parameter>
|
||||
</constructor>
|
||||
<constructor name="SyncAdapterType"
|
||||
type="android.content.SyncAdapterType"
|
||||
@ -36146,6 +36159,17 @@
|
||||
visibility="public"
|
||||
>
|
||||
</method>
|
||||
<method name="isUserVisible"
|
||||
return="boolean"
|
||||
abstract="false"
|
||||
native="false"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</method>
|
||||
<method name="newKey"
|
||||
return="android.content.SyncAdapterType"
|
||||
abstract="false"
|
||||
@ -36161,6 +36185,17 @@
|
||||
<parameter name="accountType" type="java.lang.String">
|
||||
</parameter>
|
||||
</method>
|
||||
<method name="supportsUploading"
|
||||
return="boolean"
|
||||
abstract="false"
|
||||
native="false"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</method>
|
||||
<method name="writeToParcel"
|
||||
return="void"
|
||||
abstract="false"
|
||||
@ -36206,7 +36241,7 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="userVisible"
|
||||
<field name="isKey"
|
||||
type="boolean"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
|
Reference in New Issue
Block a user