commit | fe98bee05f69dad53a0499d6ae37b5bf28616d7b | [log] [tgz] |
---|---|---|
author | Pranav Vashi <neobuddy89@gmail.com> | Sun May 24 04:09:16 2020 +0530 |
committer | rohan <purohit.rohan@gmail.com> | Thu Jun 11 11:02:32 2020 -0400 |
tree | 051b8ae10a52958969f9524bfc31aae6ddf5d9ba | |
parent | 5e732d27b4f8e659bb2f6b3c664021a6c8617a1c [diff] |
NetworkTraffic: Fix crashes with overlay changes * We use this class to add nw monitor in statusbar (and quickstatusbar) dynamically * With multiple overlay changes (blame notch), this class is initialized back to back in some cases * registerNetworkCallback is tricky and crashes if called too many times * Revert back to old method of collecting stats, remove multiple iface * Simplify code further Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: I4537ef33cc9ab16c4c8972e940ffced9b8513ea7
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.