commit | e0ecaea594eaad1a83af298ceb39dea6cc0b0f5a | [log] [tgz] |
---|---|---|
author | Motomu Utsumi <motomuman@google.com> | Tue May 30 19:24:31 2023 +0900 |
committer | Motomu Utsumi <motomuman@google.com> | Fri Jun 09 17:41:01 2023 +0900 |
tree | 73fe80f10e39286a3a7ab807eb69b0d0a95b37f6 | |
parent | 00ccb51aa394a570c63cdec2a45723b17ff2a87c [diff] |
Add executing thread check in LegacyNetworkActivityTracker One of the reasons for having locks in LegacyNetworkActivityTracker is mNetworkActive is updated from non handler thread. aosp/2606673 moves network activity change processing to handler thread. All the methods that update mNetworkActive and mActiveIdleTimers should be called from handler thread now. Bug: 267870186 Bug: 279380356 Test: atest FrameworksNetTests Change-Id: I5c8cd0b253a77a2740ade3a0145ef80336b3b133