1/**
2 * Copyright (c) 2012, Google Inc.
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 */
16package com.android.mail.compose;
17
18import android.app.Service;
19import android.content.Intent;
20import android.os.IBinder;
21
22import com.android.mail.utils.LogTag;
23import com.android.mail.utils.LogUtils;
24
25/**
26 * A Service that does nothing.  It is used to bump the adjustment of the BulkOperationHelper thread
27 * so we don't get killed while background updates are happening.
28 */
29public class EmptyService extends Service
30{
31    private static final String TAG = LogTag.getLogTag();
32
33    @Override
34    public void onCreate() {
35        // Nothing to see here...
36        LogUtils.v(TAG, "onCreate()");
37    }
38
39    @Override
40    public IBinder onBind(Intent intent) {
41        LogUtils.i(TAG, "onBind()");
42        return null;
43    }
44}
45