diff options
author | junyulai <junyulai@google.com> | 2021-03-26 00:40:48 +0800 |
---|---|---|
committer | junyulai <junyulai@google.com> | 2021-04-08 18:29:28 +0800 |
commit | 4ad53edc824161bf3fe357f1da2be89c59dcae7b (patch) | |
tree | 744dfd400965c2fcd5a282ffa730e0cc50a09765 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ceaff3862faf944bdd8ade3986092ae19eeee981 (diff) |
Fix nascent timer never get removed
By design, the nascent timer will be removed after a network
satisfied first request. However, this never happens.
Because the mInactive is false when that happens, so isNascent
is never true.
Furthermore, when removing a nascent timer, the inactivity
state can never be updated since no condition in the
updateInactivityState will be met to update the state correctly.
Thus, update inactive state accordingly when adding/removing the
nascent timer.
Test: TH
Bug: 184227264
Ignore-AOSP-First: prevent merge conflict
Change-Id: I4c1521b6e0ef68ac489771a2ab6b09ef3e381577
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions