commit | 58673c8d7fbc47bea381d5e652715ec1e60de29c | [log] [tgz] |
---|---|---|
author | Christian Oder <myself5@carbonrom.org> | Tue Jan 15 21:59:26 2019 +0100 |
committer | Christian Oder <myself5@carbonrom.org> | Tue Jan 22 16:29:35 2019 +0100 |
tree | d27fdcf03049ef84bc6081e2dca2a2c0e01304e4 | |
parent | 9ea802985273bee083a2310b3ed30981eee8d7d1 [diff] |
LineageStats: explicitly cancel old jobs * A new job gets scheduled every day or at reboot * In case an user does not have a network connection, the jobs stack up as per AOSP documentation of setRequiredNetworkType * We only want to report to the server once, so there is no need to keep old jobs any longer, we therefore cancel the old jobs Change-Id: I3c6baaf3b10658aa2e49b8ac8d207aa9eac82772