Erik | 37960c0 | 2010-06-22 13:40:18 -0700 | [diff] [blame^] | 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 | } |