开发者

Android synchronization starts even when network is down

开发者 https://www.devze.com 2023-04-04 13:39 出处:网络
I have settuped Account and Sync services correctly but I have noticed that onPerformSync from my SyncAdapter launched even after I had turned off my Wi-Fi(I havent any other connections for sure).

I have settuped Account and Sync services correctly but I have noticed that onPerformSync from my SyncAdapter launched even after I had turned off my Wi-Fi(I havent any other connections for sure).

Synchronization process I start from my ContentProvider:

ContentResolver.requestSync(a, PROVIDER_NAME, new Bundle()); 

I am sure it is not correct behaviour but can't understand where the reason could be.

Thanks开发者_开发技巧 in advance!


Seems reproduced only on

Device: Dropad OS: 2.3.1 Core: 2.6.35.7 Build: MID Serials 2.3.1 GINGERBREAD 20110622.181037

0

精彩评论

暂无评论...
验证码 换一张
取 消