#717 added functionality for flushing stats based on app lifecycle changes.
Right now this new stats flushing behavior is enabled by default. In the future, we would like to investigate making it optional using the builder pattern. For example:
EnvoyClientBuilder()
.addAppLifecycleHandling()
.build()
AndroidEnvoyClientBuilder(baseContext)
.addAppLifecycleHandling(getApplication())
.build()