commit | 3c54d586914d2d5c7354f1ccbe5c2327ac9954c6 | [log] [tgz] |
---|---|---|
author | Sam Mortimer <sam@mortimer.me.uk> | Fri Oct 20 17:24:54 2017 -0700 |
committer | Sam Mortimer <sam@mortimer.me.uk> | Tue Oct 24 22:52:07 2017 -0700 |
tree | 1c6904b33a2afa3f91ea3cff45af33d0408b7912 | |
parent | 3276a6baa3f83e5d4ca5e2b4efe165604a2102fe [diff] |
lineage-sdk: Support requiresConfig integers and add requiresConfigMask *) Add support for integer requiresConfig resources (previously supported only strings and bools). Preference is removed if the int is 0. *) Add a new attribute requiresConfigMask that takes a string decimal int. If requiresConfig is an integer then the pref is removed if (requiresConfig resource value & requiresConfigMask value) == 0. If requiresConfig is not an integer type then requiresConfigMask is ignored. *) Code clean-up for the rest of checking requiresConfig. Change-Id: Ic2622809c02a94d9cecf6f59ed6e689fdb835458
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.