diff options
Diffstat (limited to 'docs/html')
| -rw-r--r-- | docs/html/training/sync-adapters/running-sync-adapter.jd | 6 | ||||
| -rw-r--r-- | docs/html/wear/index.jd | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/html/training/sync-adapters/running-sync-adapter.jd b/docs/html/training/sync-adapters/running-sync-adapter.jd index 8fb7e80..194e94b 100644 --- a/docs/html/training/sync-adapters/running-sync-adapter.jd +++ b/docs/html/training/sync-adapters/running-sync-adapter.jd @@ -396,13 +396,11 @@ public class MainActivity extends FragmentActivity { // Account public static final String ACCOUNT = "default_account"; // Sync interval constants - public static final long MILLISECONDS_PER_SECOND = 1000L; public static final long SECONDS_PER_MINUTE = 60L; public static final long SYNC_INTERVAL_IN_MINUTES = 60L; public static final long SYNC_INTERVAL = SYNC_INTERVAL_IN_MINUTES * - SECONDS_PER_MINUTE * - MILLISECONDS_PER_SECOND; + SECONDS_PER_MINUTE; // Global variables // A content resolver for accessing the provider ContentResolver mResolver; @@ -419,7 +417,7 @@ public class MainActivity extends FragmentActivity { ContentResolver.addPeriodicSync( ACCOUNT, AUTHORITY, - null, + Bundle.EMPTY, SYNC_INTERVAL); ... } diff --git a/docs/html/wear/index.jd b/docs/html/wear/index.jd index 409488e..27e8098 100644 --- a/docs/html/wear/index.jd +++ b/docs/html/wear/index.jd @@ -28,6 +28,8 @@ page.type=about + + <div class="landing-body-content"> <div class="landing-hero-container"> <div class="landing-section wear-hero"> |
