commit | d853f892aa85741040b1a868e3761343e62d4587 | [log] [tgz] |
---|---|---|
author | dianlujitao <dianlujitao@lineageos.org> | Wed Jan 16 16:41:47 2019 +0800 |
committer | Michael Bestas <mkbestas@lineageos.org> | Mon Feb 04 19:32:01 2019 +0100 |
tree | b0a5dd5eb7edd400f92cc065a74922cb42932198 | |
parent | a7d159461d38e0b1d798ff48d2de14b78569f512 [diff] |
PerformanceManager: Allow wait for MPCTL to start on boot * For devices using Qualcomm MPCTL interface as power profile backend, setting the user's profile preference fails on boot, because we call perf_lock_acq before MPCTL is ready. * To fix the issue, add an option to wait for MPCTL service to start before setting stored power profile. * We should not only wait for the service to start but also post boot parsed property to be set, because MPCTL service won't actually initialize if the property is not set to 1. Change-Id: Ib749c3eb548dad0ab24868ee0048247a0b80dd6a
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.