am 0af709c2: Merge "Make sure services are started when Email application starts" into honeycomb-mr1

* commit '0af709c2c5f953d8f519af8672c01473d7eed2a3':
  Make sure services are started when Email application starts
This commit is contained in:
Marc Blank 2011-03-09 16:15:30 -08:00 committed by Android Git Automerger
commit 180b6bdaac

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) // Get a helper string used deep inside message decoders (which don't have context)
sMessageDecodeErrorString = getString(R.string.message_decode_error); 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);
} }
/** /**