Skip to content

Commit 1417717

Browse files
committed
apiDump, fix warnings
1 parent db32f9a commit 1417717

File tree

27 files changed

+257
-71
lines changed

27 files changed

+257
-71
lines changed

workflow-ui/compose-tooling/src/main/java/com/squareup/workflow1/ui/compose/tooling/PreviewViewEnvironment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@file:Suppress("DEPRECATION")
12
@file:OptIn(WorkflowUiExperimentalApi::class)
23

34
package com.squareup.workflow1.ui.compose.tooling

workflow-ui/compose-tooling/src/main/java/com/squareup/workflow1/ui/compose/tooling/ViewFactories.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("DEPRECATION")
2+
13
package com.squareup.workflow1.ui.compose.tooling
24

35
import androidx.compose.foundation.layout.Arrangement.Absolute.spacedBy

workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/ComposeRendering.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("DEPRECATION")
2+
13
package com.squareup.workflow1.ui.compose
24

35
import androidx.compose.runtime.Composable

workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/ComposeViewFactory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// See https://youtrack.jetbrains.com/issue/KT-31734
2-
@file:Suppress("RemoveEmptyParenthesesFromAnnotationEntry")
2+
@file:Suppress("RemoveEmptyParenthesesFromAnnotationEntry", "DEPRECATION")
33

44
package com.squareup.workflow1.ui.compose
55

workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/CompositionRoot.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@file:Suppress("RemoveEmptyParenthesesFromAnnotationEntry")
1+
@file:Suppress("RemoveEmptyParenthesesFromAnnotationEntry", "DEPRECATION")
22

33
package com.squareup.workflow1.ui.compose
44

workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/WorkflowRendering.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("DEPRECATION")
2+
13
package com.squareup.workflow1.ui.compose
24

35
import android.view.View

workflow-ui/container-android/api/container-android.api

Lines changed: 2 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,6 @@
1-
public final class com/squareup/workflow1/ui/backstack/BackStackConfig : java/lang/Enum {
2-
public static final field Companion Lcom/squareup/workflow1/ui/backstack/BackStackConfig$Companion;
3-
public static final field First Lcom/squareup/workflow1/ui/backstack/BackStackConfig;
4-
public static final field None Lcom/squareup/workflow1/ui/backstack/BackStackConfig;
5-
public static final field Other Lcom/squareup/workflow1/ui/backstack/BackStackConfig;
6-
public static fun valueOf (Ljava/lang/String;)Lcom/squareup/workflow1/ui/backstack/BackStackConfig;
7-
public static fun values ()[Lcom/squareup/workflow1/ui/backstack/BackStackConfig;
8-
}
9-
10-
public final class com/squareup/workflow1/ui/backstack/BackStackConfig$Companion : com/squareup/workflow1/ui/ViewEnvironmentKey {
11-
public fun getDefault ()Lcom/squareup/workflow1/ui/backstack/BackStackConfig;
12-
public synthetic fun getDefault ()Ljava/lang/Object;
13-
}
14-
15-
public class com/squareup/workflow1/ui/backstack/BackStackContainer : android/widget/FrameLayout {
1+
public final class com/squareup/workflow1/ui/backstack/BackStackContainer {
162
public static final field Companion Lcom/squareup/workflow1/ui/backstack/BackStackContainer$Companion;
17-
public fun <init> (Landroid/content/Context;)V
18-
public fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;)V
19-
public fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;I)V
20-
public fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;II)V
21-
public synthetic fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;IIILkotlin/jvm/internal/DefaultConstructorMarker;)V
22-
protected fun onAttachedToWindow ()V
23-
protected fun onDetachedFromWindow ()V
24-
protected fun onRestoreInstanceState (Landroid/os/Parcelable;)V
25-
protected fun onSaveInstanceState ()Landroid/os/Parcelable;
26-
protected fun performTransition (Landroid/view/View;Landroid/view/View;Z)V
27-
protected final fun update (Lcom/squareup/workflow1/ui/backstack/BackStackScreen;Lcom/squareup/workflow1/ui/ViewEnvironment;)V
3+
public fun <init> ()V
284
}
295

306
public final class com/squareup/workflow1/ui/backstack/BackStackContainer$Companion : com/squareup/workflow1/ui/ViewFactory {
@@ -33,44 +9,6 @@ public final class com/squareup/workflow1/ui/backstack/BackStackContainer$Compan
339
public fun getType ()Lkotlin/reflect/KClass;
3410
}
3511

36-
public final class com/squareup/workflow1/ui/backstack/BackStackStateKeyKt {
37-
public static final fun withBackStackStateKeyPrefix (Lcom/squareup/workflow1/ui/ViewEnvironment;Ljava/lang/String;)Lcom/squareup/workflow1/ui/ViewEnvironment;
38-
}
39-
40-
public final class com/squareup/workflow1/ui/backstack/ViewStateCache : android/os/Parcelable {
41-
public static final field CREATOR Lcom/squareup/workflow1/ui/backstack/ViewStateCache$CREATOR;
42-
public fun <init> ()V
43-
public final fun attachToParentRegistry (Ljava/lang/String;Landroidx/savedstate/SavedStateRegistryOwner;)V
44-
public fun describeContents ()I
45-
public final fun detachFromParentRegistry ()V
46-
public final fun prune (Ljava/util/Collection;)V
47-
public final fun restore (Lcom/squareup/workflow1/ui/backstack/ViewStateCache;)V
48-
public final fun update (Ljava/util/Collection;Landroid/view/View;Landroid/view/View;)V
49-
public fun writeToParcel (Landroid/os/Parcel;I)V
50-
}
51-
52-
public final class com/squareup/workflow1/ui/backstack/ViewStateCache$CREATOR : android/os/Parcelable$Creator {
53-
public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/backstack/ViewStateCache;
54-
public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object;
55-
public fun newArray (I)[Lcom/squareup/workflow1/ui/backstack/ViewStateCache;
56-
public synthetic fun newArray (I)[Ljava/lang/Object;
57-
}
58-
59-
public final class com/squareup/workflow1/ui/backstack/ViewStateCache$SavedState : android/view/View$BaseSavedState {
60-
public static final field CREATOR Lcom/squareup/workflow1/ui/backstack/ViewStateCache$SavedState$CREATOR;
61-
public fun <init> (Landroid/os/Parcel;)V
62-
public fun <init> (Landroid/os/Parcelable;Lcom/squareup/workflow1/ui/backstack/ViewStateCache;)V
63-
public final fun getViewStateCache ()Lcom/squareup/workflow1/ui/backstack/ViewStateCache;
64-
public fun writeToParcel (Landroid/os/Parcel;I)V
65-
}
66-
67-
public final class com/squareup/workflow1/ui/backstack/ViewStateCache$SavedState$CREATOR : android/os/Parcelable$Creator {
68-
public fun createFromParcel (Landroid/os/Parcel;)Lcom/squareup/workflow1/ui/backstack/ViewStateCache$SavedState;
69-
public synthetic fun createFromParcel (Landroid/os/Parcel;)Ljava/lang/Object;
70-
public fun newArray (I)[Lcom/squareup/workflow1/ui/backstack/ViewStateCache$SavedState;
71-
public synthetic fun newArray (I)[Ljava/lang/Object;
72-
}
73-
7412
public final class com/squareup/workflow1/ui/modal/AlertContainer : com/squareup/workflow1/ui/modal/ModalContainer {
7513
public static final field Companion Lcom/squareup/workflow1/ui/modal/AlertContainer$Companion;
7614
public fun <init> (Landroid/content/Context;)V

workflow-ui/container-android/src/main/java/com/squareup/workflow1/ui/backstack/BackStackContainer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("DEPRECATION")
2+
13
package com.squareup.workflow1.ui.backstack
24

35
import com.squareup.workflow1.ui.DecorativeViewFactory

workflow-ui/container-android/src/main/java/com/squareup/workflow1/ui/modal/AlertContainer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("DEPRECATION")
2+
13
package com.squareup.workflow1.ui.modal
24

35
import android.content.Context

workflow-ui/container-android/src/main/java/com/squareup/workflow1/ui/modal/ModalContainer.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("DEPRECATION")
2+
13
package com.squareup.workflow1.ui.modal
24

35
import android.app.Dialog

0 commit comments

Comments
 (0)