Make sure services are started when Email application starts

Bug: 4020337
Change-Id: I6c645800c75a4f1b80c5c3d081c4292b6db81f57
This commit is contained in:
Marc Blank 2011-03-08 16:44:08 -08:00
parent add274a704
commit 88b502c70a

View File

@ -210,6 +210,10 @@ public class Email extends Application {
// Get a helper string used deep inside message decoders (which don't have context)
sMessageDecodeErrorString = getString(R.string.message_decode_error);
// Make sure all required services are running when the app is started (can prevent
// issues after an adb sync/install)
setServicesEnabledAsync(this);
}
/**