Skip to content

Commit

Permalink
Merge branch 'LawnchairLauncher:15-dev' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Dec 13, 2024
2 parents f337f0b + 9607dcb commit b48d4dd
Show file tree
Hide file tree
Showing 108 changed files with 2,494 additions and 503 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ allprojects {

ext {
FRAMEWORK_PREBUILTS_DIR = "$rootDir/prebuilts/libs"
daggerVersion = '2.53'
daggerVersion = '2.53.1'

addFrameworkJar = { String name ->
def frameworkJar = new File(FRAMEWORK_PREBUILTS_DIR, name)
Expand Down Expand Up @@ -348,7 +348,7 @@ dependencies {
implementation 'com.github.ChickenHook:RestrictionBypass:2.2'
implementation 'dev.rikka.tools.refine:runtime:4.4.0'

implementation platform("androidx.compose:compose-bom:2024.11.00")
implementation platform("androidx.compose:compose-bom:2024.12.01")
implementation "androidx.compose.ui:ui"
implementation "androidx.compose.ui:ui-util"
debugImplementation "androidx.compose.ui:ui-tooling"
Expand All @@ -366,7 +366,7 @@ dependencies {
implementation "androidx.constraintlayout:constraintlayout:2.2.0"
implementation "androidx.palette:palette-ktx:1.0.0"
implementation "androidx.slice:slice-core:1.1.0-alpha02"
def accompanistVersion = '0.36.0'
def accompanistVersion = '0.37.0'
implementation "com.google.accompanist:accompanist-adaptive:$accompanistVersion"
implementation "com.google.accompanist:accompanist-drawablepainter:$accompanistVersion"
implementation "com.google.accompanist:accompanist-permissions:$accompanistVersion"
Expand Down Expand Up @@ -397,7 +397,7 @@ dependencies {
implementation 'com.airbnb.android:lottie:6.6.1'

// Compose drag and drop library
implementation 'sh.calvin.reorderable:reorderable:2.4.0'
implementation 'sh.calvin.reorderable:reorderable:2.4.2'

// Smartspacer
implementation('com.kieronquinn.smartspacer:sdk-client:1.0.11') {
Expand All @@ -423,7 +423,7 @@ spotless {
kotlin {
target("lawnchair/src/**/*.kt")
ktlint().customRuleSets([
"io.nlopez.compose.rules:ktlint:0.4.19",
"io.nlopez.compose.rules:ktlint:0.4.22",
]).editorConfigOverride([
"ktlint_compose_compositionlocal-allowlist": "disabled",
"ktlint_compose_lambda-param-event-trailing": "disabled",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* Copyright (c) 2019, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package android.view;

import android.graphics.Region;

/**
* Listener for changes to the system gesture exclusion region
*
* {@hide}
*/
oneway interface ISystemGestureExclusionListener {
/**
* Called when the system gesture exclusion for the given display changed.
* @param displayId the display whose system gesture exclusion changed
* @param systemGestureExclusion a {@code Region} where the app would like priority over the
* system gestures, in display coordinates. Certain restrictions
* might be applied such that apps don't get all the exclusions
* they request.
* @param systemGestureExclusionUnrestricted a {@code Region} where the app would like priority
* over the system gestures, in display coordinates, without
* any restrictions applied. Null if no restrictions have been
* applied.
*/
void onSystemGestureExclusionChanged(int displayId, in Region systemGestureExclusion,
in Region systemGestureExclusionUnrestricted);
}
Loading

0 comments on commit b48d4dd

Please sign in to comment.