commit | 39da7d1c23cd1a6564f197d0ac71a90642970192 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Thu Mar 17 16:49:35 2022 +0000 |
committer | Sudheer Shanka <sudheersai@google.com> | Thu Mar 17 16:49:35 2022 +0000 |
tree | 0ec3ba03d931c21a1ea4b146a02834e7e8710532 | |
parent | 391556b01cde197598056660f7ef77864f9aade9 [diff] |
Check if app's ntwk state will be changed before updating procstate. We check previous set procstate and the current procstate in the UidRecord to see if the app's network access state is going to be changed and so it needs to be done before we change the setProcstate in the UidRecord. Bug: 224438257 Bug: 218308105 Test: atest tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: I0f3a4ca18cd889f49e3e3651799c3c14f9c2e218