diff options
author | Roman Birg <roman@cyngn.com> | 2015-08-10 09:59:36 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-11-23 14:26:13 -0800 |
commit | 53fefc5a6515d3903b7ffdfa4f013253ce68009b (patch) | |
tree | 1017530606acc3bd097d0f9a181e3496fd7ec9cb /src/com/android/settings/cmstats/AnonymousStats.java | |
parent | c7a23cb10cc773f21a521dcb62863ee60b1b3e52 (diff) | |
download | packages_apps_Settings-53fefc5a6515d3903b7ffdfa4f013253ce68009b.zip packages_apps_Settings-53fefc5a6515d3903b7ffdfa4f013253ce68009b.tar.gz packages_apps_Settings-53fefc5a6515d3903b7ffdfa4f013253ce68009b.tar.bz2 |
Settings: report stats upload immediately
We should report the upload status immediately to the job service and
not let the executor leave doInBackground() even after the job
successfully finished, and report a potential failure in onPostExecut().
Otherwise if conditions are no longer met, and the job has finished, it can
result in the job reporting as failed, even though it has succeeded.
Ref: CYNGNOS-714
Change-Id: I5e06ae9dbca5c1412641eed51acded7c67522ded
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src/com/android/settings/cmstats/AnonymousStats.java')
0 files changed, 0 insertions, 0 deletions