Don't use hard coded package names.
Change-Id: Id65967a87afa969f5410f4fdee058d450776a32e
This commit is contained in:
parent
97e19dee8c
commit
5f32e2d31f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue