Don't use hard coded package names.

Change-Id: Id65967a87afa969f5410f4fdee058d450776a32e
This commit is contained in:
Jeff Hamilton 2010-02-13 00:21:46 -06:00
parent 97e19dee8c
commit 5f32e2d31f
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ public class MailService extends Service {
/* package */ PendingIntent createAlarmIntent(long checkId, long[] accountInfo,
boolean isWatchdog) {
Intent i = new Intent();
i.setClassName("com.android.email", "com.android.email.service.MailService");
i.setClass(this, MailService.class);
i.setAction(ACTION_CHECK_MAIL);
i.putExtra(EXTRA_CHECK_ACCOUNT, checkId);
i.putExtra(EXTRA_ACCOUNT_INFO, accountInfo);