Loading core/api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -9461,10 +9461,10 @@ package android.companion { method @Nullable public android.content.IntentSender buildAssociationCancellationIntent(); method @Nullable public android.content.IntentSender buildPermissionTransferUserConsentIntent(int) throws android.companion.DeviceNotAssociatedException; method @RequiresPermission(android.Manifest.permission.DELIVER_COMPANION_MESSAGES) public void detachSystemDataTransport(int) throws android.companion.DeviceNotAssociatedException; method public void disableSystemDataSync(int, int); method public void disableSystemDataSyncForTypes(int, int); method @Deprecated public void disassociate(@NonNull String); method public void disassociate(int); method public void enableSystemDataSync(int, int); method public void enableSystemDataSyncForTypes(int, int); method @Deprecated @NonNull public java.util.List<java.lang.String> getAssociations(); method @NonNull public java.util.List<android.companion.AssociationInfo> getMyAssociations(); method @Deprecated public boolean hasNotificationAccess(android.content.ComponentName); core/java/android/companion/CompanionDeviceManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -491,7 +491,7 @@ public final class CompanionDeviceManager { * @param associationId id of the device association. * @param flags system data types to be enabled. */ public void enableSystemDataSync(int associationId, @DataSyncTypes int flags) { public void enableSystemDataSyncForTypes(int associationId, @DataSyncTypes int flags) { if (!checkFeaturePresent()) { return; } Loading @@ -513,7 +513,7 @@ public final class CompanionDeviceManager { * @param associationId id of the device association. * @param flags system data types to be disabled. */ public void disableSystemDataSync(int associationId, @DataSyncTypes int flags) { public void disableSystemDataSyncForTypes(int associationId, @DataSyncTypes int flags) { if (!checkFeaturePresent()) { return; } Loading Loading
core/api/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -9461,10 +9461,10 @@ package android.companion { method @Nullable public android.content.IntentSender buildAssociationCancellationIntent(); method @Nullable public android.content.IntentSender buildPermissionTransferUserConsentIntent(int) throws android.companion.DeviceNotAssociatedException; method @RequiresPermission(android.Manifest.permission.DELIVER_COMPANION_MESSAGES) public void detachSystemDataTransport(int) throws android.companion.DeviceNotAssociatedException; method public void disableSystemDataSync(int, int); method public void disableSystemDataSyncForTypes(int, int); method @Deprecated public void disassociate(@NonNull String); method public void disassociate(int); method public void enableSystemDataSync(int, int); method public void enableSystemDataSyncForTypes(int, int); method @Deprecated @NonNull public java.util.List<java.lang.String> getAssociations(); method @NonNull public java.util.List<android.companion.AssociationInfo> getMyAssociations(); method @Deprecated public boolean hasNotificationAccess(android.content.ComponentName);
core/java/android/companion/CompanionDeviceManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -491,7 +491,7 @@ public final class CompanionDeviceManager { * @param associationId id of the device association. * @param flags system data types to be enabled. */ public void enableSystemDataSync(int associationId, @DataSyncTypes int flags) { public void enableSystemDataSyncForTypes(int associationId, @DataSyncTypes int flags) { if (!checkFeaturePresent()) { return; } Loading @@ -513,7 +513,7 @@ public final class CompanionDeviceManager { * @param associationId id of the device association. * @param flags system data types to be disabled. */ public void disableSystemDataSync(int associationId, @DataSyncTypes int flags) { public void disableSystemDataSyncForTypes(int associationId, @DataSyncTypes int flags) { if (!checkFeaturePresent()) { return; } Loading