commit | 944cb718fb874ce533f200602c3d73aa0569db5b | [log] [tgz] |
---|---|---|
author | Bruno Martins <bgcngm@gmail.com> | Mon Oct 02 10:04:21 2023 +0100 |
committer | Bruno Martins <bgcngm@gmail.com> | Mon Oct 02 14:49:58 2023 +0000 |
tree | d80cadecb6c014d37b18b5f6632e001b573eeecc | |
parent | 944e76f7c73e03c606da05bb9e45509616225fac [diff] |
sdk: Allow to hide and set a default for status bar DT2S gesture There might be edge cases of devices that have no power button and no way to control externally connected displays. In such cases, if display has touch support, DT2S shouldn't be allowed at all. Change-Id: I3976f138d02f0b6ddf8ce239cb8c3a19ab737b67
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.