frameworks/base
リビジョン | 7dd6515c1d7b67b176190fe8473f2e2cc16d7580 (tree) |
---|---|
日時 | 2010-04-15 15:34:54 |
作者 | Yi Sun <beyounn@gmai...> |
コミッター | Chih-Wei Huang |
fixed calendar crash
@@ -185,7 +185,7 @@ public abstract class AbstractSyncableContentProvider extends SyncableContentPro | ||
185 | 185 | } |
186 | 186 | onAccountsChanged(accounts); |
187 | 187 | TempProviderSyncAdapter syncAdapter = getTempProviderSyncAdapter(); |
188 | - if (syncAdapter != null) { | |
188 | + if (syncAdapter != null && gaiaAccounts.size() > 0) { | |
189 | 189 | syncAdapter.onAccountsChanged(accounts); |
190 | 190 | } |
191 | 191 | } |