Fix bug #2483073 (cts.ContentResolverSyncTestCase#testCancelSync is failing)

Change-Id: I9c8d372a80c9e592e3b895660d1ec7bc1d02f6d4
diff --git a/tests/tests/content/src/android/content/cts/ContentResolverSyncTestCase.java b/tests/tests/content/src/android/content/cts/ContentResolverSyncTestCase.java
index 6e450d5..032f10a 100644
--- a/tests/tests/content/src/android/content/cts/ContentResolverSyncTestCase.java
+++ b/tests/tests/content/src/android/content/cts/ContentResolverSyncTestCase.java
@@ -193,6 +193,11 @@
 
         getMockSyncAdapter().clearData();
 
+        setIsSyncable(ACCOUNT, AUTHORITY, true);
+        requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS);
+
+        getMockSyncAdapter().clearData();
+
         cancelSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS);
 
         assertFalse(getMockSyncAdapter().isStartSync());