When NetworkInfo(null) or setDetailedState(null, any, any) are called, S used to not crash but plant a null bomb for later which may explode in some calls (notably, parceling) : see the bug referenced below for details. To help catching these errors earlier a patch was made to crash as soon as one of these methods is called with a null argument, but this will also crash incorrect use on existing code that may never actually step on the mine, crashing code that used not to crash. For safety, implement the new behavior only on T. Bug: 145972387 Test: NetworkInfoTest Change-Id: Ib710497d83b2d26439c2bd4d2f572310db97d6fd
4 lines
250 B
Plaintext
4 lines
250 B
Plaintext
rule com.android.net.module.util.** android.net.connectivity.framework.util.@1
|
|
rule com.android.modules.utils.** android.net.connectivity.framework.modules.utils.@1
|
|
rule android.net.NetworkFactory* android.net.connectivity.framework.NetworkFactory@1
|