blob: c5c360805bf8a99646fab44a648a73de2be7ae23 [file] [log] [blame]
Chiao Chengbeca8562012-11-28 18:06:44 -08001/*
2 * Copyright (C) 2009 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.contacts.common.util;
18
19import android.app.Service;
20import android.content.Intent;
21import android.os.IBinder;
22
23/**
24 * Background {@link Service} that is used to keep our process alive long enough
25 * for background threads to finish. Started and stopped directly by specific
26 * background tasks when needed.
27 */
28public class EmptyService extends Service {
29 @Override
30 public IBinder onBind(Intent intent) {
31 return null;
32 }
33}