Merge "Make sure services are started when Email application starts" into honeycomb-mr1

This commit is contained in:
Marc Blank 2011-03-09 16:10:16 -08:00 committed by Android (Google) Code Review
commit 0af709c2c5

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);
}
/**