Home | History | Annotate | Download | only in calendar
      1 package com.android.providers.calendar;
      2 
      3 import android.accounts.Account;
      4 
      5 public class CalendarProvider2ForTesting extends CalendarProvider2 {
      6     /**
      7      * For testing, don't want to start the TimezoneCheckerThread, as it results
      8      * in race conditions.  Thus updateTimezoneDependentFields is stubbed out.
      9      */
     10     @Override
     11     protected void updateTimezoneDependentFields() {
     12     }
     13 
     14     /**
     15      * For testing, don't want onAccountsUpdated asynchronously deleting data.
     16      */
     17     @Override
     18     public void onAccountsUpdated(Account[] accounts) {
     19     }
     20 }
     21