| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Bug: 203229608
Test: Manual test with changing the check logic + debug log
Change-Id: If18009f61360564d02dcda9b1e5fa15685e3250f
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 4df2de83804c33ef5389c7d6d1178abe37292cee.
There was a bug in the CL. Rather than fixing it forward, let's revert
it and fix it in a follow-up CL, so we'll only have to back-port
a single CL.
Bug: 203229608
Test: N/A, a follow-up CL will redo this change with a Test: line.
Change-Id: I5fddf283ace09996a2e5cfc272f8e9fd8168a114
|
| |
|
|
|
|
| |
Bug: 203229608
Test: Manual test with changing the check logic
Change-Id: I27ade06541e79746f6c1318296cd11cb7fd5da21
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
through /bluetooth directory
amending through /content directory
Test: make ds-docs
Bug: 117494359
Change-Id: I751e15d60f0b9cc441998b27560050bf62994fef
Exempt-From-Owner-Approval: Docs-only change
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Describe that AbstractThreadedSyncAdapter.onUnsyncableAccount should return
immediately and call it on main thread.
Test: atest android.content.cts.AccountAccessSameCertTest
android.content.cts.DeferSyncTest
android.content.cts.ContentResolverSyncTestCase
com.android.cts.content.CtsSyncAccountAccessOtherCertTestCases
Fixes: 73750859
Change-Id: Ie9e1aefafe3a4a1b3f0fe8a65803554f07a94c42
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows for an SyncAdapter to defer all onPerformSync calls (and the
admission check for those) until the adapter is ready to accept those
calls.
Test: atest android.content.cts.AccountAccessSameCertTest
atest android.content.cts.ContentResolverSyncTestCase
atest android.content.cts.DeferSyncTest
atest com.android.cts.content.CtsSyncAccountAccessOtherCertTestCases
Set up a user and work account and waited until their gmail
synced.
Bug: 72459220
Change-Id: I8f9ab735d64189578ccdd1c3e1d7b7c5383b8ee9
|
| |
|
|
|
|
|
|
| |
- Also remove the unused method from ISyncAdapter.aidl
Bug: 63773598
Test: Manual test
Change-Id: Ifb2fc520759e83ad961032f9e217100e038e1a8c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
...when permissions aren't granted
Eat the SecurityException, turn it into a new callback.
Change-Id: Ibeffce061aa51beba097c90f431de07ce70b3c4e
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG: 18266674
1) If a sync has up/downloaded less than 10bytes in 60 seconds it is
considered to be making no progress and is summarily cancelled.
2) Apply a 30min hard time-out to initialization syncs.
Note that there is little proof that cancelling a sync has an
impact. All it results in is a Thread.interrupt on the sync
thread, which the adapter must itself implement. To this effect
this CL also updates the javadoc to make this clearer, and adds
some (unimplemented) threats about killing the hosting process.
Change-Id: I83c447648152ccbf76bb1fbd7e9216e01a37952f
|
| |\
| |
| |
| |
| |
| |
| | |
AbstractThreadedSyncAdapter."
* commit '46aae98b41fe6e6b61aeddff3ad3f41bc4ceace3':
Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.
|
| | |
| |
| |
| |
| |
| |
| | |
This fix ensures that onFinished() is always called in a syncClient
even if the application lacks the READ_SYNC_SETTINGS permission.
Change-Id: I944717e71ceae06a665f8a3b1199b41d73e12da4
|
| |/
|
|
|
|
|
|
| |
Changes to the way bundles are parcelled broke SM,
this update writes out the bundle as xml. This circumvents
the need for parcel, and makes it easier to debug whats
happening.
Change-Id: I6cd5d3a2eb80bfa5b3ae0c7f2d2ff91a65daaa34
|
| |
|
|
|
|
| |
This tracing code is enabled via "systrace.py --set-tags sync"
Change-Id: Ia8bc01adbba345a568405b0ac8ade96e56b40cc1
|
| |
|
|
|
|
|
| |
be invoked to reach a settings screen for that sync adapter
Bug: 5204776
Change-Id: I4641067c1f0710c51f2633241a8c87bc4d568af2
|
| |
|
|
|
| |
Bug: 3417906
Change-Id: I87e41c0cdad74e2ba72a7b4d1f059e72d106e105
|
| |
|
|
|
|
|
|
|
|
|
| |
- let the SyncManager know that the SyncAdapter can handle
parallel syncs even within sync adapter types
- allow indicating that the sync adapter should be auto
initialized without requiring the sync adapter to run first.
When this setting is used then setIsSyncable(1) is automatically
called for the sync adapter.
Change-Id: Ib40eba95c2556eaee4bb0fe715f379af1b72b84a
|
| |
|
|
| |
Change-Id: Ifbf422a2eb177858813d118f03ceddcd807e73b4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- make EntityIterator extend Iterator and thus not throw a
RemoteException, instead converting it into a RuntimeException.
- rename ActiveSyncInfo to SyncInfo
- change getActiveSync to getCurrentSync
- remove the accessors in SyncInfo and instead make the final
fields publicly accessible
- made AbstractThreadedSyncAdapter.cancelSync not take a thread
Change-Id: I99fde5585bc5f1e95f4873ffbba189074a8d6372
http://b/issue?id=2553539
http://b/issue?id=2553541
http://b/issue?id=2553550
|
| | |
|
| |
|
|
| |
- move the google calendar sync adapter settings out of Settings.java
|
| |
|
|
| |
TrafficStats is the SDK version of NetStat.
|
| | |
|
| | |
|
| |
|
|
|
| |
This adds sync_details logging to AbstractThreadedSyncAdapter and thus
the new contacts code.
|
| |
|
|
| |
ISyncAdapter.cancelSync()
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|