commit | 663a948c50f87b1061032bdd0b421452da37cfaa | [log] [tgz] |
---|---|---|
author | Tommy Webb <tommy@calyxinstitute.org> | Thu Jul 06 09:16:44 2023 -0400 |
committer | Michael Bestas <mkbestas@lineageos.org> | Wed Jul 12 14:27:42 2023 +0300 |
tree | 7104827c5c9bc8a8fd27985744a95d37c4cf87a6 | |
parent | 173b6d86934f9f6cd7fa6e806994e9991c30551a [diff] |
Do not use transactions when reading settings There is no need to use database transactions to simply read settings. We also were not setting the transaction as successful, which was causing the outer transaction for the whole onUpgrade operation to be rolled back, meaning that some devices would be stuck at old db versions and perform repeated migration attempts on every boot. Issue: calyxos#1290 Change-Id: Icefe994379152f9a3aa6c0c5b447cc55d5c4cf46
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.