Skip to content

Commit b48d4dd

Browse files
authored
Merge branch 'LawnchairLauncher:15-dev' into trunk
2 parents f337f0b + 9607dcb commit b48d4dd

File tree

108 files changed

+2494
-503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+2494
-503
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ allprojects {
7878

7979
ext {
8080
FRAMEWORK_PREBUILTS_DIR = "$rootDir/prebuilts/libs"
81-
daggerVersion = '2.53'
81+
daggerVersion = '2.53.1'
8282

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

351-
implementation platform("androidx.compose:compose-bom:2024.11.00")
351+
implementation platform("androidx.compose:compose-bom:2024.12.01")
352352
implementation "androidx.compose.ui:ui"
353353
implementation "androidx.compose.ui:ui-util"
354354
debugImplementation "androidx.compose.ui:ui-tooling"
@@ -366,7 +366,7 @@ dependencies {
366366
implementation "androidx.constraintlayout:constraintlayout:2.2.0"
367367
implementation "androidx.palette:palette-ktx:1.0.0"
368368
implementation "androidx.slice:slice-core:1.1.0-alpha02"
369-
def accompanistVersion = '0.36.0'
369+
def accompanistVersion = '0.37.0'
370370
implementation "com.google.accompanist:accompanist-adaptive:$accompanistVersion"
371371
implementation "com.google.accompanist:accompanist-drawablepainter:$accompanistVersion"
372372
implementation "com.google.accompanist:accompanist-permissions:$accompanistVersion"
@@ -397,7 +397,7 @@ dependencies {
397397
implementation 'com.airbnb.android:lottie:6.6.1'
398398

399399
// Compose drag and drop library
400-
implementation 'sh.calvin.reorderable:reorderable:2.4.0'
400+
implementation 'sh.calvin.reorderable:reorderable:2.4.2'
401401

402402
// Smartspacer
403403
implementation('com.kieronquinn.smartspacer:sdk-client:1.0.11') {
@@ -423,7 +423,7 @@ spotless {
423423
kotlin {
424424
target("lawnchair/src/**/*.kt")
425425
ktlint().customRuleSets([
426-
"io.nlopez.compose.rules:ktlint:0.4.19",
426+
"io.nlopez.compose.rules:ktlint:0.4.22",
427427
]).editorConfigOverride([
428428
"ktlint_compose_compositionlocal-allowlist": "disabled",
429429
"ktlint_compose_lambda-param-event-trailing": "disabled",
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright (c) 2019, The Android Open Source Project
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package android.view;
18+
19+
import android.graphics.Region;
20+
21+
/**
22+
* Listener for changes to the system gesture exclusion region
23+
*
24+
* {@hide}
25+
*/
26+
oneway interface ISystemGestureExclusionListener {
27+
/**
28+
* Called when the system gesture exclusion for the given display changed.
29+
* @param displayId the display whose system gesture exclusion changed
30+
* @param systemGestureExclusion a {@code Region} where the app would like priority over the
31+
* system gestures, in display coordinates. Certain restrictions
32+
* might be applied such that apps don't get all the exclusions
33+
* they request.
34+
* @param systemGestureExclusionUnrestricted a {@code Region} where the app would like priority
35+
* over the system gestures, in display coordinates, without
36+
* any restrictions applied. Null if no restrictions have been
37+
* applied.
38+
*/
39+
void onSystemGestureExclusionChanged(int displayId, in Region systemGestureExclusion,
40+
in Region systemGestureExclusionUnrestricted);
41+
}

0 commit comments

Comments
 (0)