Loading api/current.xml +13 −2 Original line number Diff line number Diff line Loading @@ -27037,7 +27037,7 @@ abstract="false" native="false" synchronized="false" static="false" static="true" final="false" deprecated="not deprecated" visibility="public" Loading Loading @@ -27349,7 +27349,7 @@ abstract="false" native="false" synchronized="false" static="false" static="true" final="false" deprecated="not deprecated" visibility="public" Loading Loading @@ -35797,6 +35797,17 @@ visibility="public" > </field> <field name="isUserFacing" type="boolean" transient="false" volatile="false" value="true" static="false" final="true" deprecated="not deprecated" visibility="public" > </field> </class> <interface name="SyncStatusObserver" abstract="true" core/java/android/content/ContentResolver.java +2 −2 Original line number Diff line number Diff line Loading @@ -1015,7 +1015,7 @@ public abstract class ContentResolver { * Check if this account/provider is syncable. * @return >0 if it is syncable, 0 if not, and <0 if the state isn't known yet. */ public int getIsSyncable(Account account, String authority) { public static int getIsSyncable(Account account, String authority) { try { return getContentService().getIsSyncable(account, authority); } catch (RemoteException e) { Loading @@ -1027,7 +1027,7 @@ public abstract class ContentResolver { * Set whether this account/provider is syncable. * @param syncable >0 denotes syncable, 0 means not syncable, <0 means unknown */ public void setIsSyncable(Account account, String authority, int syncable) { public static void setIsSyncable(Account account, String authority, int syncable) { try { getContentService().setIsSyncable(account, authority, syncable); } catch (RemoteException e) { Loading core/java/android/content/SyncAdapterType.java +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.os.Parcel; public class SyncAdapterType implements Parcelable { public final String authority; public final String accountType; public final boolean isUserFacing = true; // TODO: implement logic to set this public SyncAdapterType(String authority, String accountType) { if (TextUtils.isEmpty(authority)) { Loading Loading
api/current.xml +13 −2 Original line number Diff line number Diff line Loading @@ -27037,7 +27037,7 @@ abstract="false" native="false" synchronized="false" static="false" static="true" final="false" deprecated="not deprecated" visibility="public" Loading Loading @@ -27349,7 +27349,7 @@ abstract="false" native="false" synchronized="false" static="false" static="true" final="false" deprecated="not deprecated" visibility="public" Loading Loading @@ -35797,6 +35797,17 @@ visibility="public" > </field> <field name="isUserFacing" type="boolean" transient="false" volatile="false" value="true" static="false" final="true" deprecated="not deprecated" visibility="public" > </field> </class> <interface name="SyncStatusObserver" abstract="true"
core/java/android/content/ContentResolver.java +2 −2 Original line number Diff line number Diff line Loading @@ -1015,7 +1015,7 @@ public abstract class ContentResolver { * Check if this account/provider is syncable. * @return >0 if it is syncable, 0 if not, and <0 if the state isn't known yet. */ public int getIsSyncable(Account account, String authority) { public static int getIsSyncable(Account account, String authority) { try { return getContentService().getIsSyncable(account, authority); } catch (RemoteException e) { Loading @@ -1027,7 +1027,7 @@ public abstract class ContentResolver { * Set whether this account/provider is syncable. * @param syncable >0 denotes syncable, 0 means not syncable, <0 means unknown */ public void setIsSyncable(Account account, String authority, int syncable) { public static void setIsSyncable(Account account, String authority, int syncable) { try { getContentService().setIsSyncable(account, authority, syncable); } catch (RemoteException e) { Loading
core/java/android/content/SyncAdapterType.java +1 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.os.Parcel; public class SyncAdapterType implements Parcelable { public final String authority; public final String accountType; public final boolean isUserFacing = true; // TODO: implement logic to set this public SyncAdapterType(String authority, String accountType) { if (TextUtils.isEmpty(authority)) { Loading