153cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank/* 2898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onuki * Copyright (C) 2010 The Android Open Source Project 353cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * 453cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * Licensed under the Apache License, Version 2.0 (the "License"); 553cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * you may not use this file except in compliance with the License. 653cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * You may obtain a copy of the License at 753cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * 853cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * http://www.apache.org/licenses/LICENSE-2.0 953cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * 1053cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * Unless required by applicable law or agreed to in writing, software 1153cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * distributed under the License is distributed on an "AS IS" BASIS, 1253cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1353cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * See the License for the specific language governing permissions and 1453cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank * limitations under the License. 1553cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank */ 1653cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank 17898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onukipackage com.android.email.service; 189fe51f632965f5d085ae45a1089c7c97dcec8881Makoto Onuki 1953cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blankimport android.content.BroadcastReceiver; 2053cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blankimport android.content.Context; 2153cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blankimport android.content.Intent; 2253cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank 23898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onuki/** 24898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onuki * The broadcast receiver. The actual job is done in EmailBroadcastProcessor on a worker thread. 25898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onuki */ 26898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onukipublic class EmailBroadcastReceiver extends BroadcastReceiver { 2753cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank @Override 2853cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank public void onReceive(Context context, Intent intent) { 29898283b6fa4f141d5c2a0831b96b19de11d587b3Makoto Onuki EmailBroadcastProcessorService.processBroadcastIntent(context, intent); 3053cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank } 3153cb37c3ef6120b76270850a53ded5ba77775dfdMarc Blank} 32