commit | 520186e5ac16d37c864c401a4e448dc18bb9823a | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Thu Oct 28 23:47:10 2021 +0200 |
committer | Sam Mortimer <sam@mortimer.me.uk> | Fri Oct 29 23:23:05 2021 +0200 |
tree | db205b5a48f0bbf646663b0bb1e3592f91151446 | |
parent | 89d7c9ba1ce2e0e10ca309de2457e0e82e7930aa [diff] |
lineage-sdk: Bring back Lineage resources to system This partially reverts commit 4068ca7095ec7788d0e13464686c10338fbb824c. Reason for revert: * Currently Android (PackageManagerService) scans for packages (APKs) only in ANDROID_ROOT/framework/ along the standard $partition/{app,priv-app} directories. * By moving to system_ext we accidentally broke the addition of AndroidManifest entries to the runtime (resources and assets weren't affected as handled manually/differently). Note: jars can still be loaded with no issues from this partition. * Instead of allowing system_ext to provide framework packages and pending (future) AOSP discussion to include system_ext to the allowed path, simply move back the package. Change-Id: I352c1518ed43e0631abaebccc1e2093b09d49b6f
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.