Skip to content

Commit d27f379

Browse files
committed
[Mono.Android] Remove Transformation.TypeAlpha
Bumps to xamarin-android-api-compatibility/master/9cfa6cc9 When attempting to bump monodroid to use a recent xamarin-android, the API consistency checks failed: <h1>### API BREAK BETWEEN v4.3 and v4.4</h1> ... <h3>Type Changed: Android.Views.Animations.Transformation</h3> <p>Removed properties:</p> <pre> <span class='removed removed-property breaking' data-is-breaking>public static int TypeAlpha { get; set; }</span> <span class='removed removed-property breaking' data-is-breaking>public static int TypeBoth { get; set; }</span> <span class='removed removed-property breaking' data-is-breaking>public static int TypeIdentity { get; set; }</span> <span class='removed removed-property breaking' data-is-breaking>public static int TypeMatrix { get; set; }</span> </pre> This breakage was introduced by commit 9a73c4c/PR #1045, which unfortunately wasn't caught at the time. Specifically, commit a301764: diff --git a/src/Mono.Android/map.csv b/src/Mono.Android/map.csv index 74319bc..dc707d0 100644 --- a/src/Mono.Android/map.csv +++ b/src/Mono.Android/map.csv ... -1,Android.Views.Animations.TransformationTypes,Alpha,android/view/animation/Transformation.TYPE_ALPHA,1 ... +19,Android.Views.Animations.TransformationTypes,Alpha,android/view/animation/Transformation.TYPE_ALPHA,1 Update `src/Mono.Android/map.csv` so that `Transformation.TYPE_ALPHA` and related enum values are changed in API-18+, not API-19+. This fixes the inter-API-level compatibility issue.
1 parent 34a3774 commit d27f379

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Mono.Android/map.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,10 +2907,10 @@
29072907
10,Android.Views.Animations.DelayOrder,Normal,android/view/animation/LayoutAnimationController.ORDER_NORMAL,0
29082908
10,Android.Views.Animations.DelayOrder,Random,android/view/animation/LayoutAnimationController.ORDER_RANDOM,2
29092909
10,Android.Views.Animations.DelayOrder,Reverse,android/view/animation/LayoutAnimationController.ORDER_REVERSE,1
2910-
19,Android.Views.Animations.TransformationTypes,Alpha,android/view/animation/Transformation.TYPE_ALPHA,1
2911-
19,Android.Views.Animations.TransformationTypes,Both,android/view/animation/Transformation.TYPE_BOTH,3
2912-
19,Android.Views.Animations.TransformationTypes,Identity,android/view/animation/Transformation.TYPE_IDENTITY,0
2913-
19,Android.Views.Animations.TransformationTypes,Matrix,android/view/animation/Transformation.TYPE_MATRIX,2
2910+
18,Android.Views.Animations.TransformationTypes,Alpha,android/view/animation/Transformation.TYPE_ALPHA,1
2911+
18,Android.Views.Animations.TransformationTypes,Both,android/view/animation/Transformation.TYPE_BOTH,3
2912+
18,Android.Views.Animations.TransformationTypes,Identity,android/view/animation/Transformation.TYPE_IDENTITY,0
2913+
18,Android.Views.Animations.TransformationTypes,Matrix,android/view/animation/Transformation.TYPE_MATRIX,2
29142914
10,Android.Views.InputMethods.ImeAction,ImeMaskAction,android/view/inputmethod/EditorInfo.IME_MASK_ACTION,255
29152915
10,Android.Views.InputMethods.ImeAction,ImeNull,android/view/inputmethod/EditorInfo.IME_NULL,0
29162916
10,Android.Views.InputMethods.ImeAction,Done,android/view/inputmethod/EditorInfo.IME_ACTION_DONE,6

0 commit comments

Comments
 (0)