android_packages_modules_Co.../framework
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN e4d1cd970e Initialize TetheringManager lazily
Many applications use ConnectivityManager without needing
TetheringManager (or without calling legacy ConnectivityManager methods
that delegate to TetheringManager), so initializing TetheringManager
when ConnectivityManager is created wastes resources.

This is especially true considering that TetheringManager is not trivial
to initialize (worst case scenario it starts a thread and does multiple
Binder requests), and ConnectivityManager is created in ActivityThread
when setting up the app proxy on startup.

Bug: 190556328
Test: atest FrameworksNetTests CtsNetTestCases TetheringTests
Change-Id: I2ba7b8f2b9e1c934cfb082776b8d643f2f2c17e5
2021-06-21 10:59:14 +09:00
..
aidl-export/android/net Remove unstable IpPrefix 2021-04-01 22:59:02 +00:00
api Allow network providers to set the linger duration. 2021-06-08 00:17:37 +00:00
jni Remove dependency on libnetd_client 2021-06-01 18:40:06 +09:00
src/android/net Initialize TetheringManager lazily 2021-06-21 10:59:14 +09:00
Android.bp Add framework-connectivity-test-defaults 2021-06-08 19:54:27 +09:00
jarjar-rules-proto.txt Add connectivity protos to framework-connectivity 2021-03-20 22:51:35 +09:00
jarjar-rules.txt Add connectivity protos to framework-connectivity 2021-03-20 22:51:35 +09:00
lint-baseline.xml Add min_sdk_version to connectivity targets 2021-06-08 15:23:40 +09:00