diff options
author | Chiao Cheng <chiaocheng@google.com> | 2012-11-28 18:06:44 -0800 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2012-12-03 11:50:42 -0800 |
commit | ba2c125b07086a88a3517fcf381a3a400c42afd3 (patch) | |
tree | f524ecf7e9e00030b060135e668066065375fccf /src/com/android/contacts/common/util/EmptyService.java | |
parent | 8e3d59a4b2f9140f0b612055cf149cf73e4dde6d (diff) | |
download | android_packages_apps_ContactsCommon-ba2c125b07086a88a3517fcf381a3a400c42afd3.tar.gz android_packages_apps_ContactsCommon-ba2c125b07086a88a3517fcf381a3a400c42afd3.tar.bz2 android_packages_apps_ContactsCommon-ba2c125b07086a88a3517fcf381a3a400c42afd3.zip |
Further clean-up of PhoneFavoriteFragment in Dialer app.
Moving dependencies of Dialer PhoneFavoriteFragment. Mostly filtering
dependencies.
Bug: 6993891
Change-Id: Ic2b29b80ae2367f54e619b30bdb71b098c8a0deb
Diffstat (limited to 'src/com/android/contacts/common/util/EmptyService.java')
-rw-r--r-- | src/com/android/contacts/common/util/EmptyService.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/com/android/contacts/common/util/EmptyService.java b/src/com/android/contacts/common/util/EmptyService.java new file mode 100644 index 00000000..c5c36080 --- /dev/null +++ b/src/com/android/contacts/common/util/EmptyService.java @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2009 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.contacts.common.util; + +import android.app.Service; +import android.content.Intent; +import android.os.IBinder; + +/** + * Background {@link Service} that is used to keep our process alive long enough + * for background threads to finish. Started and stopped directly by specific + * background tasks when needed. + */ +public class EmptyService extends Service { + @Override + public IBinder onBind(Intent intent) { + return null; + } +} |