Opt-in Metalava w/ K2 UAST (R3)
Round3: @get:JvmName on primary ctor property
ULC missed to compute the correct name for property from primary ctor w/
JvmName annotation, resulting in incorrect APIs being tracked so far.
SLC handles that case properly, and thus generates more accurate/correct
property accessors names.
Relnote: N/A
Bug: 257444932
Bug: 271369023
Test: ./gradlew checkApi (after ignoreApiChange && updateApi)
Change-Id: I45cb971056888b27b507c33f25b6273ab31e9d5d
diff --git a/appactions/interaction/interaction-capabilities-core/api/current.txt b/appactions/interaction/interaction-capabilities-core/api/current.txt
index 01a7f11..14b98cf 100644
--- a/appactions/interaction/interaction-capabilities-core/api/current.txt
+++ b/appactions/interaction/interaction-capabilities-core/api/current.txt
@@ -60,9 +60,9 @@
ctor public Property(kotlin.jvm.functions.Function0<? extends java.util.List<? extends T>> possibleValueSupplier, optional boolean isRequiredForExecution);
ctor public Property(kotlin.jvm.functions.Function0<? extends java.util.List<? extends T>> possibleValueSupplier, optional boolean isRequiredForExecution, optional boolean shouldMatchPossibleValues);
method public java.util.List<T> getPossibleValues();
- method public boolean getShouldMatchPossibleValues();
method public boolean isRequiredForExecution();
method public boolean isSupported();
+ method public boolean shouldMatchPossibleValues();
method public static <T> androidx.appactions.interaction.capabilities.core.properties.Property<T> unsupported();
property public final boolean isRequiredForExecution;
property public final boolean isSupported;
diff --git a/appactions/interaction/interaction-capabilities-core/api/restricted_current.txt b/appactions/interaction/interaction-capabilities-core/api/restricted_current.txt
index 01a7f11..14b98cf 100644
--- a/appactions/interaction/interaction-capabilities-core/api/restricted_current.txt
+++ b/appactions/interaction/interaction-capabilities-core/api/restricted_current.txt
@@ -60,9 +60,9 @@
ctor public Property(kotlin.jvm.functions.Function0<? extends java.util.List<? extends T>> possibleValueSupplier, optional boolean isRequiredForExecution);
ctor public Property(kotlin.jvm.functions.Function0<? extends java.util.List<? extends T>> possibleValueSupplier, optional boolean isRequiredForExecution, optional boolean shouldMatchPossibleValues);
method public java.util.List<T> getPossibleValues();
- method public boolean getShouldMatchPossibleValues();
method public boolean isRequiredForExecution();
method public boolean isSupported();
+ method public boolean shouldMatchPossibleValues();
method public static <T> androidx.appactions.interaction.capabilities.core.properties.Property<T> unsupported();
property public final boolean isRequiredForExecution;
property public final boolean isSupported;
diff --git a/appactions/interaction/interaction-capabilities-core/build.gradle b/appactions/interaction/interaction-capabilities-core/build.gradle
index c0840a5..90d97c5b 100644
--- a/appactions/interaction/interaction-capabilities-core/build.gradle
+++ b/appactions/interaction/interaction-capabilities-core/build.gradle
@@ -68,4 +68,5 @@
type = LibraryType.PUBLISHED_LIBRARY
inceptionYear = "2023"
description = "App Interaction library core capabilities API and implementation."
+ metalavaK2UastEnabled = true
}
diff --git a/privacysandbox/ads/ads-adservices/api/1.1.0-beta01.txt b/privacysandbox/ads/ads-adservices/api/1.1.0-beta01.txt
index 7af040f..2cae282 100644
--- a/privacysandbox/ads/ads-adservices/api/1.1.0-beta01.txt
+++ b/privacysandbox/ads/ads-adservices/api/1.1.0-beta01.txt
@@ -324,7 +324,7 @@
public final class GetTopicsRequest {
ctor public GetTopicsRequest(optional String adsSdkName, optional boolean shouldRecordObservation);
method public String getAdsSdkName();
- method public boolean getShouldRecordObservation();
+ method public boolean shouldRecordObservation();
property public final String adsSdkName;
property public final boolean shouldRecordObservation;
}
diff --git a/privacysandbox/ads/ads-adservices/api/current.ignore b/privacysandbox/ads/ads-adservices/api/current.ignore
new file mode 100644
index 0000000..7d3e9cf
--- /dev/null
+++ b/privacysandbox/ads/ads-adservices/api/current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest#shouldRecordObservation():
+ Added method androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest.shouldRecordObservation()
+
+
+RemovedMethod: androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest#getShouldRecordObservation():
+ Removed method androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest.getShouldRecordObservation()
diff --git a/privacysandbox/ads/ads-adservices/api/current.txt b/privacysandbox/ads/ads-adservices/api/current.txt
index 7af040f..2cae282 100644
--- a/privacysandbox/ads/ads-adservices/api/current.txt
+++ b/privacysandbox/ads/ads-adservices/api/current.txt
@@ -324,7 +324,7 @@
public final class GetTopicsRequest {
ctor public GetTopicsRequest(optional String adsSdkName, optional boolean shouldRecordObservation);
method public String getAdsSdkName();
- method public boolean getShouldRecordObservation();
+ method public boolean shouldRecordObservation();
property public final String adsSdkName;
property public final boolean shouldRecordObservation;
}
diff --git a/privacysandbox/ads/ads-adservices/api/restricted_1.1.0-beta01.txt b/privacysandbox/ads/ads-adservices/api/restricted_1.1.0-beta01.txt
index 7af040f..2cae282 100644
--- a/privacysandbox/ads/ads-adservices/api/restricted_1.1.0-beta01.txt
+++ b/privacysandbox/ads/ads-adservices/api/restricted_1.1.0-beta01.txt
@@ -324,7 +324,7 @@
public final class GetTopicsRequest {
ctor public GetTopicsRequest(optional String adsSdkName, optional boolean shouldRecordObservation);
method public String getAdsSdkName();
- method public boolean getShouldRecordObservation();
+ method public boolean shouldRecordObservation();
property public final String adsSdkName;
property public final boolean shouldRecordObservation;
}
diff --git a/privacysandbox/ads/ads-adservices/api/restricted_current.ignore b/privacysandbox/ads/ads-adservices/api/restricted_current.ignore
new file mode 100644
index 0000000..7d3e9cf
--- /dev/null
+++ b/privacysandbox/ads/ads-adservices/api/restricted_current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest#shouldRecordObservation():
+ Added method androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest.shouldRecordObservation()
+
+
+RemovedMethod: androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest#getShouldRecordObservation():
+ Removed method androidx.privacysandbox.ads.adservices.topics.GetTopicsRequest.getShouldRecordObservation()
diff --git a/privacysandbox/ads/ads-adservices/api/restricted_current.txt b/privacysandbox/ads/ads-adservices/api/restricted_current.txt
index 7af040f..2cae282 100644
--- a/privacysandbox/ads/ads-adservices/api/restricted_current.txt
+++ b/privacysandbox/ads/ads-adservices/api/restricted_current.txt
@@ -324,7 +324,7 @@
public final class GetTopicsRequest {
ctor public GetTopicsRequest(optional String adsSdkName, optional boolean shouldRecordObservation);
method public String getAdsSdkName();
- method public boolean getShouldRecordObservation();
+ method public boolean shouldRecordObservation();
property public final String adsSdkName;
property public final boolean shouldRecordObservation;
}
diff --git a/privacysandbox/ads/ads-adservices/build.gradle b/privacysandbox/ads/ads-adservices/build.gradle
index a954990..866cc02 100644
--- a/privacysandbox/ads/ads-adservices/build.gradle
+++ b/privacysandbox/ads/ads-adservices/build.gradle
@@ -53,4 +53,5 @@
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2022"
description = "This library enables integration with Privacy Preserving APIs, which are part of Privacy Sandbox on Android."
+ metalavaK2UastEnabled = true
}
diff --git a/wear/watchface/watchface-client/api/1.2.0-beta01.txt b/wear/watchface/watchface-client/api/1.2.0-beta01.txt
index 9e3a9b6..0de2460 100644
--- a/wear/watchface/watchface-client/api/1.2.0-beta01.txt
+++ b/wear/watchface/watchface-client/api/1.2.0-beta01.txt
@@ -64,8 +64,8 @@
ctor public DeviceConfig(boolean hasLowBitAmbient, boolean hasBurnInProtection, long analogPreviewReferenceTimeMillis, long digitalPreviewReferenceTimeMillis);
method public long getAnalogPreviewReferenceTimeMillis();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
property public final long analogPreviewReferenceTimeMillis;
property public final long digitalPreviewReferenceTimeMillis;
property public final boolean hasBurnInProtection;
@@ -91,9 +91,9 @@
public final class EditorState {
method public java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> getPreviewComplicationsData();
method public android.graphics.Bitmap? getPreviewImage();
- method public boolean getShouldCommitChanges();
method public androidx.wear.watchface.style.UserStyleData getUserStyle();
method public androidx.wear.watchface.client.WatchFaceId getWatchFaceId();
+ method public boolean shouldCommitChanges();
property public final java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> previewComplicationsData;
property public final android.graphics.Bitmap? previewImage;
property public final boolean shouldCommitChanges;
@@ -259,8 +259,8 @@
public final class WatchUiState {
ctor public WatchUiState(boolean inAmbientMode, int interruptionFilter);
- method public boolean getInAmbientMode();
method public int getInterruptionFilter();
+ method public boolean inAmbientMode();
property public final boolean inAmbientMode;
property public final int interruptionFilter;
}
diff --git a/wear/watchface/watchface-client/api/current.ignore b/wear/watchface/watchface-client/api/current.ignore
new file mode 100644
index 0000000..dcb0c59
--- /dev/null
+++ b/wear/watchface/watchface-client/api/current.ignore
@@ -0,0 +1,19 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.client.DeviceConfig#hasBurnInProtection():
+ Added method androidx.wear.watchface.client.DeviceConfig.hasBurnInProtection()
+AddedMethod: androidx.wear.watchface.client.DeviceConfig#hasLowBitAmbient():
+ Added method androidx.wear.watchface.client.DeviceConfig.hasLowBitAmbient()
+AddedMethod: androidx.wear.watchface.client.EditorState#shouldCommitChanges():
+ Added method androidx.wear.watchface.client.EditorState.shouldCommitChanges()
+AddedMethod: androidx.wear.watchface.client.WatchUiState#inAmbientMode():
+ Added method androidx.wear.watchface.client.WatchUiState.inAmbientMode()
+
+
+RemovedMethod: androidx.wear.watchface.client.DeviceConfig#getHasBurnInProtection():
+ Removed method androidx.wear.watchface.client.DeviceConfig.getHasBurnInProtection()
+RemovedMethod: androidx.wear.watchface.client.DeviceConfig#getHasLowBitAmbient():
+ Removed method androidx.wear.watchface.client.DeviceConfig.getHasLowBitAmbient()
+RemovedMethod: androidx.wear.watchface.client.EditorState#getShouldCommitChanges():
+ Removed method androidx.wear.watchface.client.EditorState.getShouldCommitChanges()
+RemovedMethod: androidx.wear.watchface.client.WatchUiState#getInAmbientMode():
+ Removed method androidx.wear.watchface.client.WatchUiState.getInAmbientMode()
diff --git a/wear/watchface/watchface-client/api/current.txt b/wear/watchface/watchface-client/api/current.txt
index 9e3a9b6..0de2460 100644
--- a/wear/watchface/watchface-client/api/current.txt
+++ b/wear/watchface/watchface-client/api/current.txt
@@ -64,8 +64,8 @@
ctor public DeviceConfig(boolean hasLowBitAmbient, boolean hasBurnInProtection, long analogPreviewReferenceTimeMillis, long digitalPreviewReferenceTimeMillis);
method public long getAnalogPreviewReferenceTimeMillis();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
property public final long analogPreviewReferenceTimeMillis;
property public final long digitalPreviewReferenceTimeMillis;
property public final boolean hasBurnInProtection;
@@ -91,9 +91,9 @@
public final class EditorState {
method public java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> getPreviewComplicationsData();
method public android.graphics.Bitmap? getPreviewImage();
- method public boolean getShouldCommitChanges();
method public androidx.wear.watchface.style.UserStyleData getUserStyle();
method public androidx.wear.watchface.client.WatchFaceId getWatchFaceId();
+ method public boolean shouldCommitChanges();
property public final java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> previewComplicationsData;
property public final android.graphics.Bitmap? previewImage;
property public final boolean shouldCommitChanges;
@@ -259,8 +259,8 @@
public final class WatchUiState {
ctor public WatchUiState(boolean inAmbientMode, int interruptionFilter);
- method public boolean getInAmbientMode();
method public int getInterruptionFilter();
+ method public boolean inAmbientMode();
property public final boolean inAmbientMode;
property public final int interruptionFilter;
}
diff --git a/wear/watchface/watchface-client/api/restricted_1.2.0-beta01.txt b/wear/watchface/watchface-client/api/restricted_1.2.0-beta01.txt
index 9e3a9b6..0de2460 100644
--- a/wear/watchface/watchface-client/api/restricted_1.2.0-beta01.txt
+++ b/wear/watchface/watchface-client/api/restricted_1.2.0-beta01.txt
@@ -64,8 +64,8 @@
ctor public DeviceConfig(boolean hasLowBitAmbient, boolean hasBurnInProtection, long analogPreviewReferenceTimeMillis, long digitalPreviewReferenceTimeMillis);
method public long getAnalogPreviewReferenceTimeMillis();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
property public final long analogPreviewReferenceTimeMillis;
property public final long digitalPreviewReferenceTimeMillis;
property public final boolean hasBurnInProtection;
@@ -91,9 +91,9 @@
public final class EditorState {
method public java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> getPreviewComplicationsData();
method public android.graphics.Bitmap? getPreviewImage();
- method public boolean getShouldCommitChanges();
method public androidx.wear.watchface.style.UserStyleData getUserStyle();
method public androidx.wear.watchface.client.WatchFaceId getWatchFaceId();
+ method public boolean shouldCommitChanges();
property public final java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> previewComplicationsData;
property public final android.graphics.Bitmap? previewImage;
property public final boolean shouldCommitChanges;
@@ -259,8 +259,8 @@
public final class WatchUiState {
ctor public WatchUiState(boolean inAmbientMode, int interruptionFilter);
- method public boolean getInAmbientMode();
method public int getInterruptionFilter();
+ method public boolean inAmbientMode();
property public final boolean inAmbientMode;
property public final int interruptionFilter;
}
diff --git a/wear/watchface/watchface-client/api/restricted_current.ignore b/wear/watchface/watchface-client/api/restricted_current.ignore
new file mode 100644
index 0000000..dcb0c59
--- /dev/null
+++ b/wear/watchface/watchface-client/api/restricted_current.ignore
@@ -0,0 +1,19 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.client.DeviceConfig#hasBurnInProtection():
+ Added method androidx.wear.watchface.client.DeviceConfig.hasBurnInProtection()
+AddedMethod: androidx.wear.watchface.client.DeviceConfig#hasLowBitAmbient():
+ Added method androidx.wear.watchface.client.DeviceConfig.hasLowBitAmbient()
+AddedMethod: androidx.wear.watchface.client.EditorState#shouldCommitChanges():
+ Added method androidx.wear.watchface.client.EditorState.shouldCommitChanges()
+AddedMethod: androidx.wear.watchface.client.WatchUiState#inAmbientMode():
+ Added method androidx.wear.watchface.client.WatchUiState.inAmbientMode()
+
+
+RemovedMethod: androidx.wear.watchface.client.DeviceConfig#getHasBurnInProtection():
+ Removed method androidx.wear.watchface.client.DeviceConfig.getHasBurnInProtection()
+RemovedMethod: androidx.wear.watchface.client.DeviceConfig#getHasLowBitAmbient():
+ Removed method androidx.wear.watchface.client.DeviceConfig.getHasLowBitAmbient()
+RemovedMethod: androidx.wear.watchface.client.EditorState#getShouldCommitChanges():
+ Removed method androidx.wear.watchface.client.EditorState.getShouldCommitChanges()
+RemovedMethod: androidx.wear.watchface.client.WatchUiState#getInAmbientMode():
+ Removed method androidx.wear.watchface.client.WatchUiState.getInAmbientMode()
diff --git a/wear/watchface/watchface-client/api/restricted_current.txt b/wear/watchface/watchface-client/api/restricted_current.txt
index 9e3a9b6..0de2460 100644
--- a/wear/watchface/watchface-client/api/restricted_current.txt
+++ b/wear/watchface/watchface-client/api/restricted_current.txt
@@ -64,8 +64,8 @@
ctor public DeviceConfig(boolean hasLowBitAmbient, boolean hasBurnInProtection, long analogPreviewReferenceTimeMillis, long digitalPreviewReferenceTimeMillis);
method public long getAnalogPreviewReferenceTimeMillis();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
property public final long analogPreviewReferenceTimeMillis;
property public final long digitalPreviewReferenceTimeMillis;
property public final boolean hasBurnInProtection;
@@ -91,9 +91,9 @@
public final class EditorState {
method public java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> getPreviewComplicationsData();
method public android.graphics.Bitmap? getPreviewImage();
- method public boolean getShouldCommitChanges();
method public androidx.wear.watchface.style.UserStyleData getUserStyle();
method public androidx.wear.watchface.client.WatchFaceId getWatchFaceId();
+ method public boolean shouldCommitChanges();
property public final java.util.Map<java.lang.Integer,androidx.wear.watchface.complications.data.ComplicationData> previewComplicationsData;
property public final android.graphics.Bitmap? previewImage;
property public final boolean shouldCommitChanges;
@@ -259,8 +259,8 @@
public final class WatchUiState {
ctor public WatchUiState(boolean inAmbientMode, int interruptionFilter);
- method public boolean getInAmbientMode();
method public int getInterruptionFilter();
+ method public boolean inAmbientMode();
property public final boolean inAmbientMode;
property public final int interruptionFilter;
}
diff --git a/wear/watchface/watchface-client/build.gradle b/wear/watchface/watchface-client/build.gradle
index 0b2af5a..a268b00 100644
--- a/wear/watchface/watchface-client/build.gradle
+++ b/wear/watchface/watchface-client/build.gradle
@@ -69,4 +69,5 @@
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2020"
description = "Client library for controlling androidx watchfaces"
+ metalavaK2UastEnabled = true
}
diff --git a/wear/watchface/watchface-complications-data/api/1.2.0-beta01.txt b/wear/watchface/watchface-complications-data/api/1.2.0-beta01.txt
index 80af828..647242a 100644
--- a/wear/watchface/watchface-complications-data/api/1.2.0-beta01.txt
+++ b/wear/watchface/watchface-complications-data/api/1.2.0-beta01.txt
@@ -4,7 +4,7 @@
public final class ColorRamp {
ctor public ColorRamp(@ColorInt int[] colors, boolean interpolated);
method public int[] getColors();
- method public boolean getInterpolated();
+ method public boolean isInterpolated();
property public final int[] colors;
property public final boolean interpolated;
}
diff --git a/wear/watchface/watchface-complications-data/api/current.ignore b/wear/watchface/watchface-complications-data/api/current.ignore
new file mode 100644
index 0000000..046473b
--- /dev/null
+++ b/wear/watchface/watchface-complications-data/api/current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.complications.data.ColorRamp#isInterpolated():
+ Added method androidx.wear.watchface.complications.data.ColorRamp.isInterpolated()
+
+
+RemovedMethod: androidx.wear.watchface.complications.data.ColorRamp#getInterpolated():
+ Removed method androidx.wear.watchface.complications.data.ColorRamp.getInterpolated()
diff --git a/wear/watchface/watchface-complications-data/api/current.txt b/wear/watchface/watchface-complications-data/api/current.txt
index 80af828..647242a 100644
--- a/wear/watchface/watchface-complications-data/api/current.txt
+++ b/wear/watchface/watchface-complications-data/api/current.txt
@@ -4,7 +4,7 @@
public final class ColorRamp {
ctor public ColorRamp(@ColorInt int[] colors, boolean interpolated);
method public int[] getColors();
- method public boolean getInterpolated();
+ method public boolean isInterpolated();
property public final int[] colors;
property public final boolean interpolated;
}
diff --git a/wear/watchface/watchface-complications-data/api/restricted_1.2.0-beta01.txt b/wear/watchface/watchface-complications-data/api/restricted_1.2.0-beta01.txt
index 80af828..647242a 100644
--- a/wear/watchface/watchface-complications-data/api/restricted_1.2.0-beta01.txt
+++ b/wear/watchface/watchface-complications-data/api/restricted_1.2.0-beta01.txt
@@ -4,7 +4,7 @@
public final class ColorRamp {
ctor public ColorRamp(@ColorInt int[] colors, boolean interpolated);
method public int[] getColors();
- method public boolean getInterpolated();
+ method public boolean isInterpolated();
property public final int[] colors;
property public final boolean interpolated;
}
diff --git a/wear/watchface/watchface-complications-data/api/restricted_current.ignore b/wear/watchface/watchface-complications-data/api/restricted_current.ignore
new file mode 100644
index 0000000..046473b
--- /dev/null
+++ b/wear/watchface/watchface-complications-data/api/restricted_current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.complications.data.ColorRamp#isInterpolated():
+ Added method androidx.wear.watchface.complications.data.ColorRamp.isInterpolated()
+
+
+RemovedMethod: androidx.wear.watchface.complications.data.ColorRamp#getInterpolated():
+ Removed method androidx.wear.watchface.complications.data.ColorRamp.getInterpolated()
diff --git a/wear/watchface/watchface-complications-data/api/restricted_current.txt b/wear/watchface/watchface-complications-data/api/restricted_current.txt
index 80af828..647242a 100644
--- a/wear/watchface/watchface-complications-data/api/restricted_current.txt
+++ b/wear/watchface/watchface-complications-data/api/restricted_current.txt
@@ -4,7 +4,7 @@
public final class ColorRamp {
ctor public ColorRamp(@ColorInt int[] colors, boolean interpolated);
method public int[] getColors();
- method public boolean getInterpolated();
+ method public boolean isInterpolated();
property public final int[] colors;
property public final boolean interpolated;
}
diff --git a/wear/watchface/watchface-complications-data/build.gradle b/wear/watchface/watchface-complications-data/build.gradle
index b8293ff..a47e9e6 100644
--- a/wear/watchface/watchface-complications-data/build.gradle
+++ b/wear/watchface/watchface-complications-data/build.gradle
@@ -73,4 +73,5 @@
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2020"
description = "Android Wear Complications Data"
+ metalavaK2UastEnabled = true
}
diff --git a/wear/watchface/watchface-style/api/1.2.0-beta01.txt b/wear/watchface/watchface-style/api/1.2.0-beta01.txt
index c4004533..030379a 100644
--- a/wear/watchface/watchface-style/api/1.2.0-beta01.txt
+++ b/wear/watchface/watchface-style/api/1.2.0-beta01.txt
@@ -143,9 +143,9 @@
method public Integer? getAccessibilityTraversalIndex();
method public androidx.wear.watchface.complications.ComplicationSlotBounds? getComplicationSlotBounds();
method public int getComplicationSlotId();
- method public Boolean? getEnabled();
method public Integer? getNameResourceId();
method public Integer? getScreenReaderNameResourceId();
+ method public Boolean? isEnabled();
property public final Integer? accessibilityTraversalIndex;
property public final androidx.wear.watchface.complications.ComplicationSlotBounds? complicationSlotBounds;
property public final int complicationSlotId;
diff --git a/wear/watchface/watchface-style/api/current.ignore b/wear/watchface/watchface-style/api/current.ignore
new file mode 100644
index 0000000..116179c
--- /dev/null
+++ b/wear/watchface/watchface-style/api/current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay#isEnabled():
+ Added method androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay.isEnabled()
+
+
+RemovedMethod: androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay#getEnabled():
+ Removed method androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay.getEnabled()
diff --git a/wear/watchface/watchface-style/api/current.txt b/wear/watchface/watchface-style/api/current.txt
index c4004533..030379a 100644
--- a/wear/watchface/watchface-style/api/current.txt
+++ b/wear/watchface/watchface-style/api/current.txt
@@ -143,9 +143,9 @@
method public Integer? getAccessibilityTraversalIndex();
method public androidx.wear.watchface.complications.ComplicationSlotBounds? getComplicationSlotBounds();
method public int getComplicationSlotId();
- method public Boolean? getEnabled();
method public Integer? getNameResourceId();
method public Integer? getScreenReaderNameResourceId();
+ method public Boolean? isEnabled();
property public final Integer? accessibilityTraversalIndex;
property public final androidx.wear.watchface.complications.ComplicationSlotBounds? complicationSlotBounds;
property public final int complicationSlotId;
diff --git a/wear/watchface/watchface-style/api/restricted_1.2.0-beta01.txt b/wear/watchface/watchface-style/api/restricted_1.2.0-beta01.txt
index c4004533..030379a 100644
--- a/wear/watchface/watchface-style/api/restricted_1.2.0-beta01.txt
+++ b/wear/watchface/watchface-style/api/restricted_1.2.0-beta01.txt
@@ -143,9 +143,9 @@
method public Integer? getAccessibilityTraversalIndex();
method public androidx.wear.watchface.complications.ComplicationSlotBounds? getComplicationSlotBounds();
method public int getComplicationSlotId();
- method public Boolean? getEnabled();
method public Integer? getNameResourceId();
method public Integer? getScreenReaderNameResourceId();
+ method public Boolean? isEnabled();
property public final Integer? accessibilityTraversalIndex;
property public final androidx.wear.watchface.complications.ComplicationSlotBounds? complicationSlotBounds;
property public final int complicationSlotId;
diff --git a/wear/watchface/watchface-style/api/restricted_current.ignore b/wear/watchface/watchface-style/api/restricted_current.ignore
new file mode 100644
index 0000000..116179c
--- /dev/null
+++ b/wear/watchface/watchface-style/api/restricted_current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay#isEnabled():
+ Added method androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay.isEnabled()
+
+
+RemovedMethod: androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay#getEnabled():
+ Removed method androidx.wear.watchface.style.UserStyleSetting.ComplicationSlotsUserStyleSetting.ComplicationSlotOverlay.getEnabled()
diff --git a/wear/watchface/watchface-style/api/restricted_current.txt b/wear/watchface/watchface-style/api/restricted_current.txt
index c4004533..030379a 100644
--- a/wear/watchface/watchface-style/api/restricted_current.txt
+++ b/wear/watchface/watchface-style/api/restricted_current.txt
@@ -143,9 +143,9 @@
method public Integer? getAccessibilityTraversalIndex();
method public androidx.wear.watchface.complications.ComplicationSlotBounds? getComplicationSlotBounds();
method public int getComplicationSlotId();
- method public Boolean? getEnabled();
method public Integer? getNameResourceId();
method public Integer? getScreenReaderNameResourceId();
+ method public Boolean? isEnabled();
property public final Integer? accessibilityTraversalIndex;
property public final androidx.wear.watchface.complications.ComplicationSlotBounds? complicationSlotBounds;
property public final int complicationSlotId;
diff --git a/wear/watchface/watchface-style/build.gradle b/wear/watchface/watchface-style/build.gradle
index 126e2f9..7ab745c 100644
--- a/wear/watchface/watchface-style/build.gradle
+++ b/wear/watchface/watchface-style/build.gradle
@@ -99,4 +99,5 @@
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2020"
description = "Android Wear Watchface Style"
+ metalavaK2UastEnabled = true
}
diff --git a/wear/watchface/watchface/api/1.2.0-beta01.txt b/wear/watchface/watchface/api/1.2.0-beta01.txt
index ba61967..ea32072 100644
--- a/wear/watchface/watchface/api/1.2.0-beta01.txt
+++ b/wear/watchface/watchface/api/1.2.0-beta01.txt
@@ -55,9 +55,7 @@
method public android.os.Bundle getConfigExtras();
method @UiThread public androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy getDefaultDataSourcePolicy();
method @Deprecated @UiThread public androidx.wear.watchface.complications.data.ComplicationType getDefaultDataSourceType();
- method public boolean getFixedComplicationDataSource();
method public int getId();
- method public boolean getInitiallyEnabled();
method @UiThread public Integer? getNameResourceId();
method public androidx.wear.watchface.CanvasComplication getRenderer();
method @UiThread public Integer? getScreenReaderNameResourceId();
@@ -65,6 +63,8 @@
method public androidx.wear.watchface.ComplicationTapFilter getTapFilter();
method public boolean isActiveAt(java.time.Instant instant);
method @UiThread public boolean isEnabled();
+ method public boolean isFixedComplicationDataSource();
+ method public boolean isInitiallyEnabled();
method @UiThread public void render(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method @UiThread public void renderHighlightLayer(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method public void setConfigExtras(android.os.Bundle);
@@ -360,8 +360,8 @@
ctor public WatchFace.LegacyWatchFaceOverlayStyle(int viewProtectionMode, int statusBarGravity, boolean tapEventsAccepted, optional @ColorInt int accentColor);
method public int getAccentColor();
method public int getStatusBarGravity();
- method public boolean getTapEventsAccepted();
method public int getViewProtectionMode();
+ method public boolean isTapEventsAccepted();
property public final int accentColor;
property public final int statusBarGravity;
property public final boolean tapEventsAccepted;
@@ -436,10 +436,10 @@
method public long getAnalogPreviewReferenceTimeMillis();
method @Px public int getChinHeight();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Integer> getInterruptionFilter();
method public kotlinx.coroutines.flow.StateFlow<java.lang.String> getWatchFaceInstanceId();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isBatteryLowAndNotCharging();
method public boolean isHeadless();
diff --git a/wear/watchface/watchface/api/current.ignore b/wear/watchface/watchface/api/current.ignore
new file mode 100644
index 0000000..79a4c016
--- /dev/null
+++ b/wear/watchface/watchface/api/current.ignore
@@ -0,0 +1,23 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.ComplicationSlot#isFixedComplicationDataSource():
+ Added method androidx.wear.watchface.ComplicationSlot.isFixedComplicationDataSource()
+AddedMethod: androidx.wear.watchface.ComplicationSlot#isInitiallyEnabled():
+ Added method androidx.wear.watchface.ComplicationSlot.isInitiallyEnabled()
+AddedMethod: androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle#isTapEventsAccepted():
+ Added method androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle.isTapEventsAccepted()
+AddedMethod: androidx.wear.watchface.WatchState#hasBurnInProtection():
+ Added method androidx.wear.watchface.WatchState.hasBurnInProtection()
+AddedMethod: androidx.wear.watchface.WatchState#hasLowBitAmbient():
+ Added method androidx.wear.watchface.WatchState.hasLowBitAmbient()
+
+
+RemovedMethod: androidx.wear.watchface.ComplicationSlot#getFixedComplicationDataSource():
+ Removed method androidx.wear.watchface.ComplicationSlot.getFixedComplicationDataSource()
+RemovedMethod: androidx.wear.watchface.ComplicationSlot#getInitiallyEnabled():
+ Removed method androidx.wear.watchface.ComplicationSlot.getInitiallyEnabled()
+RemovedMethod: androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle#getTapEventsAccepted():
+ Removed method androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle.getTapEventsAccepted()
+RemovedMethod: androidx.wear.watchface.WatchState#getHasBurnInProtection():
+ Removed method androidx.wear.watchface.WatchState.getHasBurnInProtection()
+RemovedMethod: androidx.wear.watchface.WatchState#getHasLowBitAmbient():
+ Removed method androidx.wear.watchface.WatchState.getHasLowBitAmbient()
diff --git a/wear/watchface/watchface/api/current.txt b/wear/watchface/watchface/api/current.txt
index ba61967..ea32072 100644
--- a/wear/watchface/watchface/api/current.txt
+++ b/wear/watchface/watchface/api/current.txt
@@ -55,9 +55,7 @@
method public android.os.Bundle getConfigExtras();
method @UiThread public androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy getDefaultDataSourcePolicy();
method @Deprecated @UiThread public androidx.wear.watchface.complications.data.ComplicationType getDefaultDataSourceType();
- method public boolean getFixedComplicationDataSource();
method public int getId();
- method public boolean getInitiallyEnabled();
method @UiThread public Integer? getNameResourceId();
method public androidx.wear.watchface.CanvasComplication getRenderer();
method @UiThread public Integer? getScreenReaderNameResourceId();
@@ -65,6 +63,8 @@
method public androidx.wear.watchface.ComplicationTapFilter getTapFilter();
method public boolean isActiveAt(java.time.Instant instant);
method @UiThread public boolean isEnabled();
+ method public boolean isFixedComplicationDataSource();
+ method public boolean isInitiallyEnabled();
method @UiThread public void render(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method @UiThread public void renderHighlightLayer(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method public void setConfigExtras(android.os.Bundle);
@@ -360,8 +360,8 @@
ctor public WatchFace.LegacyWatchFaceOverlayStyle(int viewProtectionMode, int statusBarGravity, boolean tapEventsAccepted, optional @ColorInt int accentColor);
method public int getAccentColor();
method public int getStatusBarGravity();
- method public boolean getTapEventsAccepted();
method public int getViewProtectionMode();
+ method public boolean isTapEventsAccepted();
property public final int accentColor;
property public final int statusBarGravity;
property public final boolean tapEventsAccepted;
@@ -436,10 +436,10 @@
method public long getAnalogPreviewReferenceTimeMillis();
method @Px public int getChinHeight();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Integer> getInterruptionFilter();
method public kotlinx.coroutines.flow.StateFlow<java.lang.String> getWatchFaceInstanceId();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isBatteryLowAndNotCharging();
method public boolean isHeadless();
diff --git a/wear/watchface/watchface/api/restricted_1.2.0-beta01.txt b/wear/watchface/watchface/api/restricted_1.2.0-beta01.txt
index ba61967..ea32072 100644
--- a/wear/watchface/watchface/api/restricted_1.2.0-beta01.txt
+++ b/wear/watchface/watchface/api/restricted_1.2.0-beta01.txt
@@ -55,9 +55,7 @@
method public android.os.Bundle getConfigExtras();
method @UiThread public androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy getDefaultDataSourcePolicy();
method @Deprecated @UiThread public androidx.wear.watchface.complications.data.ComplicationType getDefaultDataSourceType();
- method public boolean getFixedComplicationDataSource();
method public int getId();
- method public boolean getInitiallyEnabled();
method @UiThread public Integer? getNameResourceId();
method public androidx.wear.watchface.CanvasComplication getRenderer();
method @UiThread public Integer? getScreenReaderNameResourceId();
@@ -65,6 +63,8 @@
method public androidx.wear.watchface.ComplicationTapFilter getTapFilter();
method public boolean isActiveAt(java.time.Instant instant);
method @UiThread public boolean isEnabled();
+ method public boolean isFixedComplicationDataSource();
+ method public boolean isInitiallyEnabled();
method @UiThread public void render(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method @UiThread public void renderHighlightLayer(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method public void setConfigExtras(android.os.Bundle);
@@ -360,8 +360,8 @@
ctor public WatchFace.LegacyWatchFaceOverlayStyle(int viewProtectionMode, int statusBarGravity, boolean tapEventsAccepted, optional @ColorInt int accentColor);
method public int getAccentColor();
method public int getStatusBarGravity();
- method public boolean getTapEventsAccepted();
method public int getViewProtectionMode();
+ method public boolean isTapEventsAccepted();
property public final int accentColor;
property public final int statusBarGravity;
property public final boolean tapEventsAccepted;
@@ -436,10 +436,10 @@
method public long getAnalogPreviewReferenceTimeMillis();
method @Px public int getChinHeight();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Integer> getInterruptionFilter();
method public kotlinx.coroutines.flow.StateFlow<java.lang.String> getWatchFaceInstanceId();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isBatteryLowAndNotCharging();
method public boolean isHeadless();
diff --git a/wear/watchface/watchface/api/restricted_current.ignore b/wear/watchface/watchface/api/restricted_current.ignore
new file mode 100644
index 0000000..79a4c016
--- /dev/null
+++ b/wear/watchface/watchface/api/restricted_current.ignore
@@ -0,0 +1,23 @@
+// Baseline format: 1.0
+AddedMethod: androidx.wear.watchface.ComplicationSlot#isFixedComplicationDataSource():
+ Added method androidx.wear.watchface.ComplicationSlot.isFixedComplicationDataSource()
+AddedMethod: androidx.wear.watchface.ComplicationSlot#isInitiallyEnabled():
+ Added method androidx.wear.watchface.ComplicationSlot.isInitiallyEnabled()
+AddedMethod: androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle#isTapEventsAccepted():
+ Added method androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle.isTapEventsAccepted()
+AddedMethod: androidx.wear.watchface.WatchState#hasBurnInProtection():
+ Added method androidx.wear.watchface.WatchState.hasBurnInProtection()
+AddedMethod: androidx.wear.watchface.WatchState#hasLowBitAmbient():
+ Added method androidx.wear.watchface.WatchState.hasLowBitAmbient()
+
+
+RemovedMethod: androidx.wear.watchface.ComplicationSlot#getFixedComplicationDataSource():
+ Removed method androidx.wear.watchface.ComplicationSlot.getFixedComplicationDataSource()
+RemovedMethod: androidx.wear.watchface.ComplicationSlot#getInitiallyEnabled():
+ Removed method androidx.wear.watchface.ComplicationSlot.getInitiallyEnabled()
+RemovedMethod: androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle#getTapEventsAccepted():
+ Removed method androidx.wear.watchface.WatchFace.LegacyWatchFaceOverlayStyle.getTapEventsAccepted()
+RemovedMethod: androidx.wear.watchface.WatchState#getHasBurnInProtection():
+ Removed method androidx.wear.watchface.WatchState.getHasBurnInProtection()
+RemovedMethod: androidx.wear.watchface.WatchState#getHasLowBitAmbient():
+ Removed method androidx.wear.watchface.WatchState.getHasLowBitAmbient()
diff --git a/wear/watchface/watchface/api/restricted_current.txt b/wear/watchface/watchface/api/restricted_current.txt
index ba61967..ea32072 100644
--- a/wear/watchface/watchface/api/restricted_current.txt
+++ b/wear/watchface/watchface/api/restricted_current.txt
@@ -55,9 +55,7 @@
method public android.os.Bundle getConfigExtras();
method @UiThread public androidx.wear.watchface.complications.DefaultComplicationDataSourcePolicy getDefaultDataSourcePolicy();
method @Deprecated @UiThread public androidx.wear.watchface.complications.data.ComplicationType getDefaultDataSourceType();
- method public boolean getFixedComplicationDataSource();
method public int getId();
- method public boolean getInitiallyEnabled();
method @UiThread public Integer? getNameResourceId();
method public androidx.wear.watchface.CanvasComplication getRenderer();
method @UiThread public Integer? getScreenReaderNameResourceId();
@@ -65,6 +63,8 @@
method public androidx.wear.watchface.ComplicationTapFilter getTapFilter();
method public boolean isActiveAt(java.time.Instant instant);
method @UiThread public boolean isEnabled();
+ method public boolean isFixedComplicationDataSource();
+ method public boolean isInitiallyEnabled();
method @UiThread public void render(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method @UiThread public void renderHighlightLayer(android.graphics.Canvas canvas, java.time.ZonedDateTime zonedDateTime, androidx.wear.watchface.RenderParameters renderParameters);
method public void setConfigExtras(android.os.Bundle);
@@ -360,8 +360,8 @@
ctor public WatchFace.LegacyWatchFaceOverlayStyle(int viewProtectionMode, int statusBarGravity, boolean tapEventsAccepted, optional @ColorInt int accentColor);
method public int getAccentColor();
method public int getStatusBarGravity();
- method public boolean getTapEventsAccepted();
method public int getViewProtectionMode();
+ method public boolean isTapEventsAccepted();
property public final int accentColor;
property public final int statusBarGravity;
property public final boolean tapEventsAccepted;
@@ -436,10 +436,10 @@
method public long getAnalogPreviewReferenceTimeMillis();
method @Px public int getChinHeight();
method public long getDigitalPreviewReferenceTimeMillis();
- method public boolean getHasBurnInProtection();
- method public boolean getHasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Integer> getInterruptionFilter();
method public kotlinx.coroutines.flow.StateFlow<java.lang.String> getWatchFaceInstanceId();
+ method public boolean hasBurnInProtection();
+ method public boolean hasLowBitAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isAmbient();
method public kotlinx.coroutines.flow.StateFlow<java.lang.Boolean> isBatteryLowAndNotCharging();
method public boolean isHeadless();
diff --git a/wear/watchface/watchface/build.gradle b/wear/watchface/watchface/build.gradle
index 97122f9..0b9261d 100644
--- a/wear/watchface/watchface/build.gradle
+++ b/wear/watchface/watchface/build.gradle
@@ -78,4 +78,5 @@
publish = Publish.SNAPSHOT_AND_RELEASE
inceptionYear = "2020"
description = "Android Wear Watchface"
+ metalavaK2UastEnabled = true
}
diff --git a/window/window/api/1.2.0-beta03.txt b/window/window/api/1.2.0-beta03.txt
index 6ff2519..1930a35 100644
--- a/window/window/api/1.2.0-beta03.txt
+++ b/window/window/api/1.2.0-beta03.txt
@@ -230,7 +230,7 @@
}
public final class SplitAttributesCalculatorParams {
- method public boolean getAreDefaultConstraintsSatisfied();
+ method public boolean areDefaultConstraintsSatisfied();
method public androidx.window.embedding.SplitAttributes getDefaultSplitAttributes();
method public android.content.res.Configuration getParentConfiguration();
method public androidx.window.layout.WindowLayoutInfo getParentWindowLayoutInfo();
diff --git a/window/window/api/current.ignore b/window/window/api/current.ignore
new file mode 100644
index 0000000..2b9500cb
--- /dev/null
+++ b/window/window/api/current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.window.embedding.SplitAttributesCalculatorParams#areDefaultConstraintsSatisfied():
+ Added method androidx.window.embedding.SplitAttributesCalculatorParams.areDefaultConstraintsSatisfied()
+
+
+RemovedMethod: androidx.window.embedding.SplitAttributesCalculatorParams#getAreDefaultConstraintsSatisfied():
+ Removed method androidx.window.embedding.SplitAttributesCalculatorParams.getAreDefaultConstraintsSatisfied()
diff --git a/window/window/api/current.txt b/window/window/api/current.txt
index 6ff2519..1930a35 100644
--- a/window/window/api/current.txt
+++ b/window/window/api/current.txt
@@ -230,7 +230,7 @@
}
public final class SplitAttributesCalculatorParams {
- method public boolean getAreDefaultConstraintsSatisfied();
+ method public boolean areDefaultConstraintsSatisfied();
method public androidx.window.embedding.SplitAttributes getDefaultSplitAttributes();
method public android.content.res.Configuration getParentConfiguration();
method public androidx.window.layout.WindowLayoutInfo getParentWindowLayoutInfo();
diff --git a/window/window/api/restricted_1.2.0-beta03.txt b/window/window/api/restricted_1.2.0-beta03.txt
index 6ff2519..1930a35 100644
--- a/window/window/api/restricted_1.2.0-beta03.txt
+++ b/window/window/api/restricted_1.2.0-beta03.txt
@@ -230,7 +230,7 @@
}
public final class SplitAttributesCalculatorParams {
- method public boolean getAreDefaultConstraintsSatisfied();
+ method public boolean areDefaultConstraintsSatisfied();
method public androidx.window.embedding.SplitAttributes getDefaultSplitAttributes();
method public android.content.res.Configuration getParentConfiguration();
method public androidx.window.layout.WindowLayoutInfo getParentWindowLayoutInfo();
diff --git a/window/window/api/restricted_current.ignore b/window/window/api/restricted_current.ignore
new file mode 100644
index 0000000..2b9500cb
--- /dev/null
+++ b/window/window/api/restricted_current.ignore
@@ -0,0 +1,7 @@
+// Baseline format: 1.0
+AddedMethod: androidx.window.embedding.SplitAttributesCalculatorParams#areDefaultConstraintsSatisfied():
+ Added method androidx.window.embedding.SplitAttributesCalculatorParams.areDefaultConstraintsSatisfied()
+
+
+RemovedMethod: androidx.window.embedding.SplitAttributesCalculatorParams#getAreDefaultConstraintsSatisfied():
+ Removed method androidx.window.embedding.SplitAttributesCalculatorParams.getAreDefaultConstraintsSatisfied()
diff --git a/window/window/api/restricted_current.txt b/window/window/api/restricted_current.txt
index 6ff2519..1930a35 100644
--- a/window/window/api/restricted_current.txt
+++ b/window/window/api/restricted_current.txt
@@ -230,7 +230,7 @@
}
public final class SplitAttributesCalculatorParams {
- method public boolean getAreDefaultConstraintsSatisfied();
+ method public boolean areDefaultConstraintsSatisfied();
method public androidx.window.embedding.SplitAttributes getDefaultSplitAttributes();
method public android.content.res.Configuration getParentConfiguration();
method public androidx.window.layout.WindowLayoutInfo getParentWindowLayoutInfo();
diff --git a/window/window/build.gradle b/window/window/build.gradle
index e917b2e..c6052ae 100644
--- a/window/window/build.gradle
+++ b/window/window/build.gradle
@@ -90,6 +90,7 @@
inceptionYear = "2020"
description = "WindowManager Jetpack library. Currently only provides additional " +
"functionality on foldable devices."
+ metalavaK2UastEnabled = true
// Suppressing deprecation warnings, since there is a need to maintain compatibility with old
// Sidecar interface.
failOnDeprecationWarnings = false