1 package com.android.calendar; 2 3 import android.app.Activity; 4 5 public abstract class AbstractCalendarActivity extends Activity { 6 protected AsyncQueryService mService; 7 8 public synchronized AsyncQueryService getAsyncQueryService() { 9 if (mService == null) { 10 mService = new AsyncQueryService(this); 11 } 12 return mService; 13 } 14 } 15