Inform NPMS about the app coming to the TOP state early.
It's possible for an app to come to the TOP state before the oomAdj computation is done and we cannot wait for oomAdj computation to complete and then inform NPMS about the state change. So, inform NPMS early about the state change when we know the app is going to the TOP state. Bug: 226299593 Test: atest tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: I5d582618652cead179c419f7fe084283dd89d514
Loading
Please register or sign in to comment