1310389035e8e7b607823325230c40220ac2dab60Erikpackage com.android.providers.calendar; 2310389035e8e7b607823325230c40220ac2dab60Erik/* 3310389035e8e7b607823325230c40220ac2dab60Erik * Copyright (C) 2010 The Android Open Source Project 4310389035e8e7b607823325230c40220ac2dab60Erik * 5310389035e8e7b607823325230c40220ac2dab60Erik * Licensed under the Apache License, Version 2.0 (the "License"); 6310389035e8e7b607823325230c40220ac2dab60Erik * you may not use this file except in compliance with the License. 7310389035e8e7b607823325230c40220ac2dab60Erik * You may obtain a copy of the License at 8310389035e8e7b607823325230c40220ac2dab60Erik * 9310389035e8e7b607823325230c40220ac2dab60Erik * http://www.apache.org/licenses/LICENSE-2.0 10310389035e8e7b607823325230c40220ac2dab60Erik * 11310389035e8e7b607823325230c40220ac2dab60Erik * Unless required by applicable law or agreed to in writing, software 12310389035e8e7b607823325230c40220ac2dab60Erik * distributed under the License is distributed on an "AS IS" BASIS, 13310389035e8e7b607823325230c40220ac2dab60Erik * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14310389035e8e7b607823325230c40220ac2dab60Erik * See the License for the specific language governing permissions and 15310389035e8e7b607823325230c40220ac2dab60Erik * limitations under the License. 16310389035e8e7b607823325230c40220ac2dab60Erik */ 17310389035e8e7b607823325230c40220ac2dab60Erik 18310389035e8e7b607823325230c40220ac2dab60Erikimport android.app.Service; 19310389035e8e7b607823325230c40220ac2dab60Erikimport android.content.Intent; 20310389035e8e7b607823325230c40220ac2dab60Erikimport android.os.IBinder; 21310389035e8e7b607823325230c40220ac2dab60Erik 22310389035e8e7b607823325230c40220ac2dab60Erik/** 23310389035e8e7b607823325230c40220ac2dab60Erik * Background {@link Service} that is used to keep our process alive long enough 24310389035e8e7b607823325230c40220ac2dab60Erik * for background threads to finish. Started and stopped directly by specific 25310389035e8e7b607823325230c40220ac2dab60Erik * background tasks when needed. 26310389035e8e7b607823325230c40220ac2dab60Erik */ 27310389035e8e7b607823325230c40220ac2dab60Erikpublic class EmptyService extends Service { 28310389035e8e7b607823325230c40220ac2dab60Erik @Override 29310389035e8e7b607823325230c40220ac2dab60Erik public IBinder onBind(Intent intent) { 30310389035e8e7b607823325230c40220ac2dab60Erik return null; 31310389035e8e7b607823325230c40220ac2dab60Erik } 32310389035e8e7b607823325230c40220ac2dab60Erik} 33