commit | d0c004cb793cc821ba6bc05e3565bf3b12d2810c | [log] [tgz] |
---|---|---|
author | Tommy Webb <tommy@calyxinstitute.org> | Wed Sep 06 14:29:47 2023 -0400 |
committer | Michael Bestas <mkbestas@lineageos.org> | Tue May 21 20:30:09 2024 +0300 |
tree | c84a3317a08ce65a0ef7ce5dbe83bc0e99b3f8ef | |
parent | 360dad610b81a06c9ec0233b9e951c2d3122fb25 [diff] |
Network Traffic: Consider CLAT interfaces (IPv6) IPv6-only networks that support 464XLAT use CLAT to access IPv4 addresses, but the traffic that occurs over the CLAT interface is tracked separately; it is not reflected at all in the stats of the underlying interface, so prior to this change, IPv4 traffic on applicable IPv6-only networks is not reflected in the network traffic monitor, either. While there is no exposed API to retrieve stacked interfaces, we can still try to grab the stats for a CLAT interface (which always starts with "v4-"), just in case it exists, and if so, add in those stats. Test: Manual: While connected to an IPv6-only network, such as a T-Mobile cellular data connection, attempt to load https://1.1.1.1 in a browser while the network traffic monitor is enabled. Reload the page / choose different languages to cause traffic to occur, and it should be reflected in the traffic monitor. Issue: calyxos#792 Co-authored-by: Oliver Scott <olivercscott@gmail.com> Change-Id: Ida768ebe73a47bb06da53aeb7b5c6882f0090e75
The Platform SDK provides a set of APIs that give you easy access to a variety of different features within LineageOS. The SDK exposes APIs and system level framework access in the Android framework that aren't available in any other distribution.
You can either download from prebuilts hosted on github or pull directly via Gradle.
Our stable releases are mirrored in Maven Central, and you can fetch the current release by setting your build.gradle
dependencies to
dependencies { compile 'org.lineageos:platform.sdk:5.+' }
Within build.gradle
make sure your repositories
list sonatype OSS repos for snapshots
repositories { maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } }
You can target the future
or development
branch by setting your dependencies
for 6.0-SNAPSHOT
dependencies { compile 'org.lineageos:platform.sdk:6.0-SNAPSHOT' }
For further inquiries regarding this project, please reference the wiki.