summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-08-21 12:34:50 +0900
committerLorenzo Colitti <lorenzo@google.com>2017-08-22 18:09:02 +0900
commitd743601a002ac12c02da58e92ebd0544ab0b77ea (patch)
tree83d60f19d9c522d936b470310342a7aa6c1a665f /tools/aapt2/java/JavaClassGenerator.cpp
parent185a91c7ef4852f399f44d254cef63f4b62d7ea6 (diff)
Don't completely stop offload if setting data limit fails.
Currently, if setting a data limit fails, we completely stop offload in order to avoid data overages. However, the next thing we do is try to fetch the stats and crash, because once offload is stopped all our local state is cleared. Fix this by fetching stats before we stop offload. Bug: 29337859 Bug: 32163131 Bug: 64867836 Test: OffloadControllerTest passes Test: no crash when disabling wifi tethering with BT tethering active Change-Id: I260f5450f8b67f055983af68fb23a5f3cfc0bc69
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions