android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chalard Jean dece0d805f S- not to crash on NetworkInfo(null) or setDetailedState(null)
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
2021-11-15 21:18:25 +09:00
..
aidl-export/android/net Remove unstable IpPrefix 2021-04-01 22:59:02 +00:00
api Add new APIs in NetworkCapabilities to set and get underlying networks 2021-10-15 18:07:12 +08:00
jni Remove dependency on libnetd_client 2021-06-01 18:40:06 +09:00
src/android/net S- not to crash on NetworkInfo(null) or setDetailedState(null) 2021-11-15 21:18:25 +09:00
Android.bp S- not to crash on NetworkInfo(null) or setDetailedState(null) 2021-11-15 21:18:25 +09:00
jarjar-rules.txt S- not to crash on NetworkInfo(null) or setDetailedState(null) 2021-11-15 21:18:25 +09:00
lint-baseline.xml Add min_sdk_version to connectivity targets 2021-06-08 15:23:40 +09:00