Merge "Add additional owner to OWNERS files." into androidx-main
diff --git a/appactions/interaction/interaction-capabilities-communication/lint-baseline.xml b/appactions/interaction/interaction-capabilities-communication/lint-baseline.xml
index 7226911..ff29394 100644
--- a/appactions/interaction/interaction-capabilities-communication/lint-baseline.xml
+++ b/appactions/interaction/interaction-capabilities-communication/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
diff --git a/appactions/interaction/interaction-capabilities-core/lint-baseline.xml b/appactions/interaction/interaction-capabilities-core/lint-baseline.xml
index c939b1a..9a5974f 100644
--- a/appactions/interaction/interaction-capabilities-core/lint-baseline.xml
+++ b/appactions/interaction/interaction-capabilities-core/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.newBuilder can only be called from within the same library (:)"
errorLine1=" ): AppAction = AppAction.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(capabilityName)"
errorLine2=" ~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(identifier)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllParams can only be called from within the same library (:)"
errorLine1=" .addAllParams("
errorLine2=" ~~~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTaskInfo can only be called from within the same library (:)"
errorLine1=" .setTaskInfo("
errorLine2=" ~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSupportsPartialFulfillment can only be called from within the same library (:)"
errorLine1=" TaskInfo.newBuilder().setSupportsPartialFulfillment(supportsPartialFulfillment)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TaskInfo.newBuilder can only be called from within the same library (:)"
errorLine1=" TaskInfo.newBuilder().setSupportsPartialFulfillment(supportsPartialFulfillment)"
errorLine2=" ~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StructuredOutput.newBuilder can only be called from within the same library (:)"
errorLine1=" val outputBuilder = FulfillmentResponse.StructuredOutput.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addOutputValues can only be called from within the same library (:)"
errorLine1=" outputBuilder.addOutputValues("
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputValue.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentResponse.StructuredOutput.OutputValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(entry.key)"
errorLine2=" ~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllValues can only be called from within the same library (:)"
errorLine1=" .addAllValues(paramValues)"
errorLine2=" ~~~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getType can only be called from within the same library (:)"
errorLine1=" fulfillment.type == Fulfillment.Type.UNKNOWN_TYPE ||"
errorLine2=" ~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getType can only be called from within the same library (:)"
errorLine1=" fulfillment.type == Fulfillment.Type.UNKNOWN_TYPE ||"
errorLine2=" ~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Type.UNKNOWN_TYPE can only be accessed from within the same library (:)"
errorLine1=" fulfillment.type == Fulfillment.Type.UNKNOWN_TYPE ||"
errorLine2=" ~~~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getType can only be called from within the same library (:)"
errorLine1=" fulfillment.type == Fulfillment.Type.UNRECOGNIZED"
errorLine2=" ~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getType can only be called from within the same library (:)"
errorLine1=" fulfillment.type == Fulfillment.Type.UNRECOGNIZED"
errorLine2=" ~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Type.UNRECOGNIZED can only be accessed from within the same library (:)"
errorLine1=" fulfillment.type == Fulfillment.Type.UNRECOGNIZED"
errorLine2=" ~~~~~~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getSyncStatus can only be called from within the same library (:)"
errorLine1=" RequestMetadata(fulfillment.type, fulfillment.syncStatus)"
errorLine2=" ~~~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getSyncStatus can only be called from within the same library (:)"
errorLine1=" RequestMetadata(fulfillment.type, fulfillment.syncStatus)"
errorLine2=" ~~~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getType can only be called from within the same library (:)"
errorLine1=" RequestMetadata(fulfillment.type, fulfillment.syncStatus)"
errorLine2=" ~~~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getType can only be called from within the same library (:)"
errorLine1=" RequestMetadata(fulfillment.type, fulfillment.syncStatus)"
errorLine2=" ~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getParamsList can only be called from within the same library (:)"
errorLine1=" for (fp in fulfillment.paramsList) {"
errorLine2=" ~~~~~~~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getParamsList can only be called from within the same library (:)"
errorLine1=" for (fp in fulfillment.paramsList) {"
errorLine2=" ~~~~~~~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.getFulfillmentValuesList can only be called from within the same library (:)"
errorLine1=" result[fp.name] = fp.fulfillmentValuesList"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.getFulfillmentValuesList can only be called from within the same library (:)"
errorLine1=" result[fp.name] = fp.fulfillmentValuesList"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.getName can only be called from within the same library (:)"
errorLine1=" result[fp.name] = fp.fulfillmentValuesList"
errorLine2=" ~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.getName can only be called from within the same library (:)"
errorLine1=" result[fp.name] = fp.fulfillmentValuesList"
errorLine2=" ~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.newBuilder can only be called from within the same library (:)"
errorLine1=" val builder = IntentParameter.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(slotName)"
errorLine2=" ~~~~~~~">
@@ -272,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIsRequired can only be called from within the same library (:)"
errorLine1=" .setIsRequired(property.isRequiredForExecution)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -281,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEntityMatchRequired can only be called from within the same library (:)"
errorLine1=" .setEntityMatchRequired(property.shouldMatchPossibleValues)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -290,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIsProhibited can only be called from within the same library (:)"
errorLine1=" .setIsProhibited(!property.isSupported)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -299,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addPossibleEntities can only be called from within the same library (:)"
errorLine1=" builder.addPossibleEntities(it)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -308,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" typeSpec.getIdentifier(obj)?.let { builder.setIdentifier(it) }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -317,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" typeSpec.getIdentifier(obj)?.let { builder.setIdentifier(it) }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -326,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.newBuilder can only be called from within the same library (:)"
errorLine1=" val builder = Entity.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -335,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" value.hasStringValue() -> builder.stringValue = value.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -344,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" value.hasStringValue() -> builder.stringValue = value.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -353,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBoolValue can only be called from within the same library (:)"
errorLine1=" value.hasBoolValue() -> builder.boolValue = value.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -362,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBoolValue can only be called from within the same library (:)"
errorLine1=" value.hasBoolValue() -> builder.boolValue = value.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -371,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setNumberValue can only be called from within the same library (:)"
errorLine1=" value.hasNumberValue() -> builder.numberValue = value.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -380,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setNumberValue can only be called from within the same library (:)"
errorLine1=" value.hasNumberValue() -> builder.numberValue = value.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -389,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" value.hasStructValue() -> builder.structValue = value.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -398,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" value.hasStructValue() -> builder.structValue = value.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -407,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" converter.toSearchAction(request.request.searchAction)"
errorLine2=" ~~~~~~~">
@@ -416,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" converter.toSearchAction(request.request.searchAction)"
errorLine2=" ~~~~~~~">
@@ -425,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getSearchAction can only be called from within the same library (:)"
errorLine1=" converter.toSearchAction(request.request.searchAction)"
errorLine2=" ~~~~~~~~~~~~">
@@ -434,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getSearchAction can only be called from within the same library (:)"
errorLine1=" converter.toSearchAction(request.request.searchAction)"
errorLine2=" ~~~~~~~~~~~~">
@@ -443,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.INVALID_ENTITY_ARGUMENT can only be accessed from within the same library (:)"
errorLine1=" return createResponse(GroundingResponse.Status.INVALID_ENTITY_ARGUMENT)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -452,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" .setPageSize(request.request.pageSize)"
errorLine2=" ~~~~~~~">
@@ -461,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" .setPageSize(request.request.pageSize)"
errorLine2=" ~~~~~~~">
@@ -470,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getPageSize can only be called from within the same library (:)"
errorLine1=" .setPageSize(request.request.pageSize)"
errorLine2=" ~~~~~~~~">
@@ -479,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getPageSize can only be called from within the same library (:)"
errorLine1=" .setPageSize(request.request.pageSize)"
errorLine2=" ~~~~~~~~">
@@ -488,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" .setPageToken(request.request.pageToken)"
errorLine2=" ~~~~~~~">
@@ -497,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" .setPageToken(request.request.pageToken)"
errorLine2=" ~~~~~~~">
@@ -506,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getPageToken can only be called from within the same library (:)"
errorLine1=" .setPageToken(request.request.pageToken)"
errorLine2=" ~~~~~~~~~">
@@ -515,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getPageToken can only be called from within the same library (:)"
errorLine1=" .setPageToken(request.request.pageToken)"
errorLine2=" ~~~~~~~~~">
@@ -524,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingResponse.newBuilder can only be called from within the same library (:)"
errorLine1=" return GroundingResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -533,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResponse can only be called from within the same library (:)"
errorLine1=" .setResponse(GroundingResponse.Response.newBuilder().setStatus(status))"
errorLine2=" ~~~~~~~~~~~">
@@ -542,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" .setResponse(GroundingResponse.Response.newBuilder().setStatus(status))"
errorLine2=" ~~~~~~~~~">
@@ -551,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Response.newBuilder can only be called from within the same library (:)"
errorLine1=" .setResponse(GroundingResponse.Response.newBuilder().setStatus(status))"
errorLine2=" ~~~~~~~~~~">
@@ -560,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" GroundingResponse.Response.newBuilder().setStatus(GroundingResponse.Status.SUCCESS)"
errorLine2=" ~~~~~~~~~">
@@ -569,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Response.newBuilder can only be called from within the same library (:)"
errorLine1=" GroundingResponse.Response.newBuilder().setStatus(GroundingResponse.Status.SUCCESS)"
errorLine2=" ~~~~~~~~~~">
@@ -578,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.SUCCESS can only be accessed from within the same library (:)"
errorLine1=" GroundingResponse.Response.newBuilder().setStatus(GroundingResponse.Status.SUCCESS)"
errorLine2=" ~~~~~~~">
@@ -587,7 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addCandidates can only be called from within the same library (:)"
errorLine1=" builder.addCandidates("
errorLine2=" ~~~~~~~~~~~~~">
@@ -596,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Candidate.newBuilder can only be called from within the same library (:)"
errorLine1=" GroundingResponse.Candidate.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -605,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setGroundedEntity can only be called from within the same library (:)"
errorLine1=" .setGroundedEntity("
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -614,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResponse can only be called from within the same library (:)"
errorLine1=" return GroundingResponse.newBuilder().setResponse(builder.build()).build()"
errorLine2=" ~~~~~~~~~~~">
@@ -623,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingResponse.newBuilder can only be called from within the same library (:)"
errorLine1=" return GroundingResponse.newBuilder().setResponse(builder.build()).build()"
errorLine2=" ~~~~~~~~~~">
@@ -632,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.CANCELED can only be accessed from within the same library (:)"
errorLine1=" EntityLookupResponse.CANCELED -> GroundingResponse.Status.CANCELED"
errorLine2=" ~~~~~~~~">
@@ -641,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.INVALID_PAGE_TOKEN can only be accessed from within the same library (:)"
errorLine1=" EntityLookupResponse.INVALID_PAGE_TOKEN -> GroundingResponse.Status.INVALID_PAGE_TOKEN"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -650,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.TIMEOUT can only be accessed from within the same library (:)"
errorLine1=" EntityLookupResponse.TIMEOUT -> GroundingResponse.Status.TIMEOUT"
errorLine2=" ~~~~~~~">
@@ -659,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.DEFAULT_UNKNOWN can only be accessed from within the same library (:)"
errorLine1=" else -> GroundingResponse.Status.DEFAULT_UNKNOWN"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -668,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" typeSpec.getIdentifier(obj)?.let { builder.setIdentifier(it) }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -677,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" typeSpec.getIdentifier(obj)?.let { builder.setIdentifier(it) }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStringValue() -> builder.stringValue = paramValue.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStringValue() -> builder.stringValue = paramValue.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStringValue() -> builder.stringValue = paramValue.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStringValue() -> builder.stringValue = paramValue.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasStringValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStringValue() -> builder.stringValue = paramValue.stringValue"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasBoolValue() -> builder.boolValue = paramValue.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -740,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasBoolValue() -> builder.boolValue = paramValue.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -749,7 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasBoolValue() -> builder.boolValue = paramValue.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -758,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasBoolValue() -> builder.boolValue = paramValue.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -767,7 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasBoolValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasBoolValue() -> builder.boolValue = paramValue.boolValue"
errorLine2=" ~~~~~~~~~~~~">
@@ -776,7 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasNumberValue() -> builder.numberValue = paramValue.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -785,7 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasNumberValue() -> builder.numberValue = paramValue.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -794,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasNumberValue() -> builder.numberValue = paramValue.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -803,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasNumberValue() -> builder.numberValue = paramValue.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -812,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasNumberValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasNumberValue() -> builder.numberValue = paramValue.numberValue"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -821,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStructValue() -> builder.structValue = paramValue.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -830,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStructValue() -> builder.structValue = paramValue.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -839,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStructValue() -> builder.structValue = paramValue.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -848,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStructValue() -> builder.structValue = paramValue.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -857,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasStructValue can only be called from within the same library (:)"
errorLine1=" paramValue.hasStructValue() -> builder.structValue = paramValue.structValue"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -866,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" val builder = ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -875,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" value.hasStringValue() -> builder.stringValue = value.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -884,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" value.hasStringValue() -> builder.stringValue = value.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -893,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBoolValue can only be called from within the same library (:)"
errorLine1=" value.hasBoolValue() -> builder.boolValue = value.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -902,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBoolValue can only be called from within the same library (:)"
errorLine1=" value.hasBoolValue() -> builder.boolValue = value.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -911,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setNumberValue can only be called from within the same library (:)"
errorLine1=" value.hasNumberValue() -> builder.numberValue = value.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -920,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setNumberValue can only be called from within the same library (:)"
errorLine1=" value.hasNumberValue() -> builder.numberValue = value.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -929,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" value.hasStructValue() -> builder.structValue = value.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -938,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" value.hasStructValue() -> builder.structValue = value.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -947,7 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" argumentsWrapper.paramValues.mapValues { entry -> entry.value.mapNotNull { it.value } }"
errorLine2=" ~~~~~">
@@ -956,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" argumentsWrapper.paramValues.mapValues { entry -> entry.value.mapNotNull { it.value } }"
errorLine2=" ~~~~~">
@@ -965,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartDictation can only be called from within the same library (:)"
errorLine1=" FulfillmentResponse.newBuilder().setStartDictation(executionResult.shouldStartDictation)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -974,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentResponse.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentResponse.newBuilder().setStartDictation(executionResult.shouldStartDictation)"
errorLine2=" ~~~~~~~~~~">
@@ -983,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExecutionOutput can only be called from within the same library (:)"
errorLine1=" fulfillmentResponseBuilder.setExecutionOutput("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -992,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getIsRequired can only be called from within the same library (:)"
errorLine1=" ) = paramsList.filter { it.isRequired }.map { it.name }.all { finalArguments.containsKey(it) }"
errorLine2=" ~~~~~~~~~~">
@@ -1001,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getIsRequired can only be called from within the same library (:)"
errorLine1=" ) = paramsList.filter { it.isRequired }.map { it.name }.all { finalArguments.containsKey(it) }"
errorLine2=" ~~~~~~~~~~">
@@ -1010,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getName can only be called from within the same library (:)"
errorLine1=" ) = paramsList.filter { it.isRequired }.map { it.name }.all { finalArguments.containsKey(it) }"
errorLine2=" ~~~~">
@@ -1019,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getName can only be called from within the same library (:)"
errorLine1=" ) = paramsList.filter { it.isRequired }.map { it.name }.all { finalArguments.containsKey(it) }"
errorLine2=" ~~~~">
@@ -1028,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" FulfillmentRequest.Fulfillment.FulfillmentValue.newBuilder().setValue(it).build()"
errorLine2=" ~~~~~~~~">
@@ -1037,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentRequest.Fulfillment.FulfillmentValue.newBuilder().setValue(it).build()"
errorLine2=" ~~~~~~~~~~">
@@ -1046,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" CurrentValue.newBuilder().setValue(paramValue).setStatus(status).build()"
errorLine2=" ~~~~~~~~~">
@@ -1055,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" CurrentValue.newBuilder().setValue(paramValue).setStatus(status).build()"
errorLine2=" ~~~~~~~~">
@@ -1064,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" CurrentValue.newBuilder().setValue(paramValue).setStatus(status).build()"
errorLine2=" ~~~~~~~~~~">
@@ -1073,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" val result = CurrentValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1082,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.hasValue can only be called from within the same library (:)"
errorLine1=" if (fulfillmentValue.hasValue()) {"
errorLine2=" ~~~~~~~~">
@@ -1091,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" result.value = fulfillmentValue.value"
errorLine2=" ~~~~~">
@@ -1100,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" result.value = fulfillmentValue.value"
errorLine2=" ~~~~~">
@@ -1109,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" result.value = fulfillmentValue.value"
errorLine2=" ~~~~~">
@@ -1118,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" result.value = fulfillmentValue.value"
errorLine2=" ~~~~~">
@@ -1127,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" result.value = fulfillmentValue.value"
errorLine2=" ~~~~~">
@@ -1136,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" result.value = fulfillmentValue.value"
errorLine2=" ~~~~~">
@@ -1145,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.hasDisambigData can only be called from within the same library (:)"
errorLine1=" if (fulfillmentValue.hasDisambigData()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1154,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDisambiguationData can only be called from within the same library (:)"
errorLine1=" result.disambiguationData = fulfillmentValue.disambigData"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1163,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDisambiguationData can only be called from within the same library (:)"
errorLine1=" result.disambiguationData = fulfillmentValue.disambigData"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1172,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getDisambigData can only be called from within the same library (:)"
errorLine1=" result.disambiguationData = fulfillmentValue.disambigData"
errorLine2=" ~~~~~~~~~~~~">
@@ -1181,7 +1181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getDisambigData can only be called from within the same library (:)"
errorLine1=" result.disambiguationData = fulfillmentValue.disambigData"
errorLine2=" ~~~~~~~~~~~~">
@@ -1190,7 +1190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getDisambigData can only be called from within the same library (:)"
errorLine1=" result.disambiguationData = fulfillmentValue.disambigData"
errorLine2=" ~~~~~~~~~~~~">
@@ -1199,7 +1199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getDisambigData can only be called from within the same library (:)"
errorLine1=" result.disambiguationData = fulfillmentValue.disambigData"
errorLine2=" ~~~~~~~~~~~~">
@@ -1208,7 +1208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" return result.setStatus(status).build()"
errorLine2=" ~~~~~~~~~">
@@ -1217,7 +1217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.hasStructValue can only be called from within the same library (:)"
errorLine1=" if (groundedEntity.hasStructValue())"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1226,7 +1226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1235,7 +1235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(groundedEntity.identifier)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1244,7 +1244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(groundedEntity.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -1253,7 +1253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(groundedEntity.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -1262,7 +1262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue(groundedEntity.structValue)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1271,7 +1271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue(groundedEntity.structValue)"
errorLine2=" ~~~~~~~~~~~">
@@ -1280,7 +1280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue(groundedEntity.structValue)"
errorLine2=" ~~~~~~~~~~~">
@@ -1289,7 +1289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1298,7 +1298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(groundedEntity.identifier)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1307,7 +1307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(groundedEntity.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -1316,7 +1316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(groundedEntity.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -1325,7 +1325,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" .setStringValue(groundedEntity.name)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1334,7 +1334,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getName can only be called from within the same library (:)"
errorLine1=" .setStringValue(groundedEntity.name)"
errorLine2=" ~~~~">
@@ -1343,7 +1343,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getName can only be called from within the same library (:)"
errorLine1=" .setStringValue(groundedEntity.name)"
errorLine2=" ~~~~">
@@ -1352,7 +1352,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" CurrentValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1361,7 +1361,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" .setValue(paramValue)"
errorLine2=" ~~~~~~~~">
@@ -1370,7 +1370,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" .setStatus(CurrentValue.Status.DISAMBIG)"
errorLine2=" ~~~~~~~~~">
@@ -1379,7 +1379,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.DISAMBIG can only be accessed from within the same library (:)"
errorLine1=" .setStatus(CurrentValue.Status.DISAMBIG)"
errorLine2=" ~~~~~~~~">
@@ -1388,7 +1388,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDisambiguationData can only be called from within the same library (:)"
errorLine1=" .setDisambiguationData("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1397,7 +1397,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllEntities can only be called from within the same library (:)"
errorLine1=" DisambiguationData.newBuilder().addAllEntities(disambiguationEntities)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1406,7 +1406,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DisambiguationData.newBuilder can only be called from within the same library (:)"
errorLine1=" DisambiguationData.newBuilder().addAllEntities(disambiguationEntities)"
errorLine2=" ~~~~~~~~~~">
@@ -1415,7 +1415,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getValueCase can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~~~~">
@@ -1424,7 +1424,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getValueCase can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~~~~">
@@ -1433,7 +1433,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getValueCase can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~~~~">
@@ -1442,7 +1442,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getValueCase can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~~~~">
@@ -1451,7 +1451,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.getNumber can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~">
@@ -1460,7 +1460,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.getNumber can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~">
@@ -1469,7 +1469,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.getNumber can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~">
@@ -1478,7 +1478,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.getNumber can only be called from within the same library (:)"
errorLine1=" if (oldArg.valueCase.number != newArg.valueCase.number) {"
errorLine2=" ~~~~~~">
@@ -1487,7 +1487,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" return if (oldArg.identifier != newArg.identifier) {"
errorLine2=" ~~~~~~~~~~">
@@ -1496,7 +1496,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" return if (oldArg.identifier != newArg.identifier) {"
errorLine2=" ~~~~~~~~~~">
@@ -1505,7 +1505,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" return if (oldArg.identifier != newArg.identifier) {"
errorLine2=" ~~~~~~~~~~">
@@ -1514,7 +1514,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" return if (oldArg.identifier != newArg.identifier) {"
errorLine2=" ~~~~~~~~~~">
@@ -1523,7 +1523,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getValueCase can only be called from within the same library (:)"
errorLine1=" when (oldArg.valueCase) {"
errorLine2=" ~~~~~~~~~">
@@ -1532,7 +1532,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getValueCase can only be called from within the same library (:)"
errorLine1=" when (oldArg.valueCase) {"
errorLine2=" ~~~~~~~~~">
@@ -1541,7 +1541,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.VALUE_NOT_SET can only be accessed from within the same library (:)"
errorLine1=" ParamValue.ValueCase.VALUE_NOT_SET -> false"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1550,7 +1550,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.STRING_VALUE -> oldArg.stringValue != newArg.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1559,7 +1559,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.STRING_VALUE -> oldArg.stringValue != newArg.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1568,7 +1568,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.STRING_VALUE -> oldArg.stringValue != newArg.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1577,7 +1577,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStringValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.STRING_VALUE -> oldArg.stringValue != newArg.stringValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1586,7 +1586,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.STRING_VALUE can only be accessed from within the same library (:)"
errorLine1=" ParamValue.ValueCase.STRING_VALUE -> oldArg.stringValue != newArg.stringValue"
errorLine2=" ~~~~~~~~~~~~">
@@ -1595,7 +1595,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.BOOL_VALUE -> oldArg.boolValue != newArg.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -1604,7 +1604,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.BOOL_VALUE -> oldArg.boolValue != newArg.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -1613,7 +1613,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.BOOL_VALUE -> oldArg.boolValue != newArg.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -1622,7 +1622,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getBoolValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.BOOL_VALUE -> oldArg.boolValue != newArg.boolValue"
errorLine2=" ~~~~~~~~~">
@@ -1631,7 +1631,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.BOOL_VALUE can only be accessed from within the same library (:)"
errorLine1=" ParamValue.ValueCase.BOOL_VALUE -> oldArg.boolValue != newArg.boolValue"
errorLine2=" ~~~~~~~~~~">
@@ -1640,7 +1640,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.NUMBER_VALUE -> oldArg.numberValue != newArg.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1649,7 +1649,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.NUMBER_VALUE -> oldArg.numberValue != newArg.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1658,7 +1658,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.NUMBER_VALUE -> oldArg.numberValue != newArg.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1667,7 +1667,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getNumberValue can only be called from within the same library (:)"
errorLine1=" ParamValue.ValueCase.NUMBER_VALUE -> oldArg.numberValue != newArg.numberValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1676,7 +1676,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.NUMBER_VALUE can only be accessed from within the same library (:)"
errorLine1=" ParamValue.ValueCase.NUMBER_VALUE -> oldArg.numberValue != newArg.numberValue"
errorLine2=" ~~~~~~~~~~~~">
@@ -1685,7 +1685,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.STRUCT_VALUE can only be accessed from within the same library (:)"
errorLine1=" ParamValue.ValueCase.STRUCT_VALUE ->"
errorLine2=" ~~~~~~~~~~~~">
@@ -1694,7 +1694,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" oldArg.structValue.toByteArray(),"
errorLine2=" ~~~~~~~~~~~">
@@ -1703,7 +1703,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" oldArg.structValue.toByteArray(),"
errorLine2=" ~~~~~~~~~~~">
@@ -1712,7 +1712,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" newArg.structValue.toByteArray()"
errorLine2=" ~~~~~~~~~~~">
@@ -1721,7 +1721,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" newArg.structValue.toByteArray()"
errorLine2=" ~~~~~~~~~~~">
@@ -1730,7 +1730,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.all { it.status == CurrentValue.Status.ACCEPTED } &&"
errorLine2=" ~~~~~~">
@@ -1739,7 +1739,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.all { it.status == CurrentValue.Status.ACCEPTED } &&"
errorLine2=" ~~~~~~">
@@ -1748,7 +1748,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.ACCEPTED can only be accessed from within the same library (:)"
errorLine1=" currentValues.all { it.status == CurrentValue.Status.ACCEPTED } &&"
errorLine2=" ~~~~~~~~">
@@ -1757,7 +1757,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" !hasParamValueDiff(currentValues[it].value, fulfillmentValues[it].value)"
errorLine2=" ~~~~~">
@@ -1766,7 +1766,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" !hasParamValueDiff(currentValues[it].value, fulfillmentValues[it].value)"
errorLine2=" ~~~~~">
@@ -1775,7 +1775,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" !hasParamValueDiff(currentValues[it].value, fulfillmentValues[it].value)"
errorLine2=" ~~~~~">
@@ -1784,7 +1784,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" !hasParamValueDiff(currentValues[it].value, fulfillmentValues[it].value)"
errorLine2=" ~~~~~">
@@ -1793,7 +1793,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValue.status == CurrentValue.Status.ACCEPTED &&"
errorLine2=" ~~~~~~">
@@ -1802,7 +1802,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValue.status == CurrentValue.Status.ACCEPTED &&"
errorLine2=" ~~~~~~">
@@ -1811,7 +1811,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.ACCEPTED can only be accessed from within the same library (:)"
errorLine1=" currentValue.status == CurrentValue.Status.ACCEPTED &&"
errorLine2=" ~~~~~~~~">
@@ -1820,7 +1820,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" currentValue.value.hasStructValue()"
errorLine2=" ~~~~~">
@@ -1829,7 +1829,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" currentValue.value.hasStructValue()"
errorLine2=" ~~~~~">
@@ -1838,7 +1838,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasStructValue can only be called from within the same library (:)"
errorLine1=" currentValue.value.hasStructValue()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1847,7 +1847,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~">
@@ -1856,7 +1856,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~">
@@ -1865,7 +1865,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~">
@@ -1874,7 +1874,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~">
@@ -1883,7 +1883,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~~~~~~">
@@ -1892,7 +1892,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~~~~~~">
@@ -1901,7 +1901,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1910,7 +1910,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getStructValue can only be called from within the same library (:)"
errorLine1=" candidates[currentValue.value.identifier] = currentValue.value.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -1919,7 +1919,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" } else if (currentValue.status == CurrentValue.Status.DISAMBIG) {"
errorLine2=" ~~~~~~">
@@ -1928,7 +1928,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" } else if (currentValue.status == CurrentValue.Status.DISAMBIG) {"
errorLine2=" ~~~~~~">
@@ -1937,7 +1937,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.DISAMBIG can only be accessed from within the same library (:)"
errorLine1=" } else if (currentValue.status == CurrentValue.Status.DISAMBIG) {"
errorLine2=" ~~~~~~~~">
@@ -1946,7 +1946,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getDisambiguationData can only be called from within the same library (:)"
errorLine1=" for (entity in currentValue.disambiguationData.entitiesList) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1955,7 +1955,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getDisambiguationData can only be called from within the same library (:)"
errorLine1=" for (entity in currentValue.disambiguationData.entitiesList) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1964,7 +1964,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DisambiguationData.getEntitiesList can only be called from within the same library (:)"
errorLine1=" for (entity in currentValue.disambiguationData.entitiesList) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1973,7 +1973,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DisambiguationData.getEntitiesList can only be called from within the same library (:)"
errorLine1=" for (entity in currentValue.disambiguationData.entitiesList) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1982,7 +1982,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.hasStructValue can only be called from within the same library (:)"
errorLine1=" if (entity.hasStructValue()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1991,7 +1991,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" candidates[entity.identifier] = entity.structValue"
errorLine2=" ~~~~~~~~~~">
@@ -2000,7 +2000,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" candidates[entity.identifier] = entity.structValue"
errorLine2=" ~~~~~~~~~~">
@@ -2009,7 +2009,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getStructValue can only be called from within the same library (:)"
errorLine1=" candidates[entity.identifier] = entity.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -2018,7 +2018,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getStructValue can only be called from within the same library (:)"
errorLine1=" candidates[entity.identifier] = entity.structValue"
errorLine2=" ~~~~~~~~~~~">
@@ -2027,7 +2027,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" val paramValue = it.value"
errorLine2=" ~~~~~">
@@ -2036,7 +2036,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.getValue can only be called from within the same library (:)"
errorLine1=" val paramValue = it.value"
errorLine2=" ~~~~~">
@@ -2045,7 +2045,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasIdentifier can only be called from within the same library (:)"
errorLine1=" paramValue.hasIdentifier() &&"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2054,7 +2054,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasStructValue can only be called from within the same library (:)"
errorLine1=" !paramValue.hasStructValue() &&"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2063,7 +2063,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" candidates.containsKey(paramValue.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -2072,7 +2072,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" candidates.containsKey(paramValue.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -2081,7 +2081,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -2090,7 +2090,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" paramValue.toBuilder().setStructValue(candidates[paramValue.identifier])"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2099,7 +2099,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" paramValue.toBuilder().setStructValue(candidates[paramValue.identifier])"
errorLine2=" ~~~~~~~~~~">
@@ -2108,7 +2108,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" paramValue.toBuilder().setStructValue(candidates[paramValue.identifier])"
errorLine2=" ~~~~~~~~~~">
@@ -2117,7 +2117,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.hasIdentifier can only be called from within the same library (:)"
errorLine1=" val GROUND_IF_NO_IDENTIFIER = { paramValue: ParamValue -> !paramValue.hasIdentifier() }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2126,7 +2126,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.UNKNOWN_SYNC_STATUS can only be accessed from within the same library (:)"
errorLine1=" private var lastKnownSyncStatus = SyncStatus.UNKNOWN_SYNC_STATUS"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2135,7 +2135,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppDialogState.newBuilder can only be called from within the same library (:)"
errorLine1=" AppActionsContext.AppDialogState.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2144,7 +2144,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllParams can only be called from within the same library (:)"
errorLine1=" .addAllParams("
errorLine2=" ~~~~~~~~~~~~">
@@ -2153,7 +2153,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getParamsList can only be called from within the same library (:)"
errorLine1=" appAction.paramsList.map { intentParam ->"
errorLine2=" ~~~~~~~~~~">
@@ -2162,7 +2162,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getParamsList can only be called from within the same library (:)"
errorLine1=" appAction.paramsList.map { intentParam ->"
errorLine2=" ~~~~~~~~~~">
@@ -2171,7 +2171,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DialogParameter.newBuilder can only be called from within the same library (:)"
errorLine1=" AppActionsContext.DialogParameter.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2180,7 +2180,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(intentParam.name)"
errorLine2=" ~~~~~~~">
@@ -2189,7 +2189,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getName can only be called from within the same library (:)"
errorLine1=" .setName(intentParam.name)"
errorLine2=" ~~~~">
@@ -2198,7 +2198,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getName can only be called from within the same library (:)"
errorLine1=" .setName(intentParam.name)"
errorLine2=" ~~~~">
@@ -2207,7 +2207,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getName can only be called from within the same library (:)"
errorLine1=" currentValuesMap[intentParam.name]?.let {"
errorLine2=" ~~~~">
@@ -2216,7 +2216,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="IntentParameter.getName can only be called from within the same library (:)"
errorLine1=" currentValuesMap[intentParam.name]?.let {"
errorLine2=" ~~~~">
@@ -2225,7 +2225,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllCurrentValue can only be called from within the same library (:)"
errorLine1=" dialogParameterBuilder.addAllCurrentValue(it)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2234,7 +2234,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getIdentifier can only be called from within the same library (:)"
errorLine1=" .setFulfillmentIdentifier(appAction.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -2243,7 +2243,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getIdentifier can only be called from within the same library (:)"
errorLine1=" .setFulfillmentIdentifier(appAction.identifier)"
errorLine2=" ~~~~~~~~~~">
@@ -2252,7 +2252,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFulfillmentIdentifier can only be called from within the same library (:)"
errorLine1=" .setFulfillmentIdentifier(appAction.identifier)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2261,7 +2261,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Type.SYNC can only be accessed from within the same library (:)"
errorLine1=" FulfillmentRequest.Fulfillment.Type.SYNC ->"
errorLine2=" ~~~~">
@@ -2270,7 +2270,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Type.CANCEL can only be accessed from within the same library (:)"
errorLine1=" FulfillmentRequest.Fulfillment.Type.CANCEL -> {"
errorLine2=" ~~~~~~">
@@ -2279,7 +2279,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentResponse.getDefaultInstance can only be called from within the same library (:)"
errorLine1=" FulfillmentResult(FulfillmentResponse.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2288,7 +2288,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.ACCEPTED can only be accessed from within the same library (:)"
errorLine1=" TaskCapabilityUtils.toCurrentValue(it, CurrentValue.Status.ACCEPTED)"
errorLine2=" ~~~~~~~~">
@@ -2297,7 +2297,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.DISAMBIG can only be accessed from within the same library (:)"
errorLine1=" if (!anyParamsOfStatus(CurrentValue.Status.DISAMBIG)) {"
errorLine2=" ~~~~~~~~">
@@ -2306,7 +2306,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TouchEventMetadata.getDefaultInstance can only be called from within the same library (:)"
errorLine1=" TouchEventMetadata.getDefaultInstance(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2315,7 +2315,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.REJECTED can only be accessed from within the same library (:)"
errorLine1=" anyParamsOfStatus(CurrentValue.Status.REJECTED) ||"
errorLine2=" ~~~~~~~~">
@@ -2324,7 +2324,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getParamsList can only be called from within the same library (:)"
errorLine1=" !TaskCapabilityUtils.isSlotFillingComplete(finalArguments, appAction.paramsList) ||"
errorLine2=" ~~~~~~~~~~">
@@ -2333,7 +2333,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getParamsList can only be called from within the same library (:)"
errorLine1=" !TaskCapabilityUtils.isSlotFillingComplete(finalArguments, appAction.paramsList) ||"
errorLine2=" ~~~~~~~~~~">
@@ -2342,7 +2342,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.SLOTS_COMPLETE can only be accessed from within the same library (:)"
errorLine1=" lastKnownSyncStatus != SyncStatus.SLOTS_COMPLETE"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2351,7 +2351,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentResponse.getDefaultInstance can only be called from within the same library (:)"
errorLine1=" return FulfillmentResponse.getDefaultInstance()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2360,7 +2360,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.SLOTS_INCOMPLETE can only be accessed from within the same library (:)"
errorLine1=" SyncStatus.SLOTS_INCOMPLETE,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2369,7 +2369,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.SLOTS_COMPLETE can only be accessed from within the same library (:)"
errorLine1=" SyncStatus.SLOTS_COMPLETE,"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2378,7 +2378,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.INTENT_CONFIRMED can only be accessed from within the same library (:)"
errorLine1=" SyncStatus.INTENT_CONFIRMED"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2387,7 +2387,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.PENDING can only be accessed from within the same library (:)"
errorLine1=" CurrentValue.Status.PENDING,"
errorLine2=" ~~~~~~~">
@@ -2396,7 +2396,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.all { it.status == CurrentValue.Status.ACCEPTED }"
errorLine2=" ~~~~~~">
@@ -2405,7 +2405,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.all { it.status == CurrentValue.Status.ACCEPTED }"
errorLine2=" ~~~~~~">
@@ -2414,7 +2414,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.ACCEPTED can only be accessed from within the same library (:)"
errorLine1=" currentValues.all { it.status == CurrentValue.Status.ACCEPTED }"
errorLine2=" ~~~~~~~~">
@@ -2423,7 +2423,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" .mapValues { currentValue -> currentValue.value.map { it.value } }"
errorLine2=" ~~~~~">
@@ -2432,7 +2432,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" .mapValues { currentValue -> currentValue.value.map { it.value } }"
errorLine2=" ~~~~~">
@@ -2441,7 +2441,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.any { it.status == CurrentValue.Status.PENDING }"
errorLine2=" ~~~~~~">
@@ -2450,7 +2450,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.any { it.status == CurrentValue.Status.PENDING }"
errorLine2=" ~~~~~~">
@@ -2459,7 +2459,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.PENDING can only be accessed from within the same library (:)"
errorLine1=" currentValues.any { it.status == CurrentValue.Status.PENDING }"
errorLine2=" ~~~~~~~">
@@ -2468,7 +2468,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" .mapValues { currentValues -> currentValues.value.map { it.value } }"
errorLine2=" ~~~~~">
@@ -2477,7 +2477,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" .mapValues { currentValues -> currentValues.value.map { it.value } }"
errorLine2=" ~~~~~">
@@ -2486,7 +2486,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.any { it.status == status }"
errorLine2=" ~~~~~~">
@@ -2495,7 +2495,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getStatus can only be called from within the same library (:)"
errorLine1=" currentValues.any { it.status == status }"
errorLine2=" ~~~~~~">
@@ -2504,7 +2504,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentResponse.newBuilder can only be called from within the same library (:)"
errorLine1=" val fulfillmentResponse = FulfillmentResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2513,7 +2513,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setConfirmationData can only be called from within the same library (:)"
errorLine1=" convertToConfirmationOutput(result)?.let { fulfillmentResponse.confirmationData = it }"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2522,7 +2522,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setConfirmationData can only be called from within the same library (:)"
errorLine1=" convertToConfirmationOutput(result)?.let { fulfillmentResponse.confirmationData = it }"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2531,7 +2531,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartDictation can only be called from within the same library (:)"
errorLine1=" FulfillmentResponse.newBuilder().setStartDictation(result.shouldStartDictation)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2540,7 +2540,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentResponse.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentResponse.newBuilder().setStartDictation(result.shouldStartDictation)"
errorLine2=" ~~~~~~~~~~">
@@ -2549,7 +2549,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExecutionOutput can only be called from within the same library (:)"
errorLine1=" convertToExecutionOutput(result)?.let { fulfillmentResponse.executionOutput = it }"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2558,7 +2558,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExecutionOutput can only be called from within the same library (:)"
errorLine1=" convertToExecutionOutput(result)?.let { fulfillmentResponse.executionOutput = it }"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2567,7 +2567,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StructuredOutput.newBuilder can only be called from within the same library (:)"
errorLine1=" return FulfillmentResponse.StructuredOutput.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2576,7 +2576,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllOutputValues can only be called from within the same library (:)"
errorLine1=" .addAllOutputValues("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2585,7 +2585,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputValue.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentResponse.StructuredOutput.OutputValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2594,7 +2594,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(it.key)"
errorLine2=" ~~~~~~~">
@@ -2603,7 +2603,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllValues can only be called from within the same library (:)"
errorLine1=" .addAllValues(it.value.invoke(confirmation))"
errorLine2=" ~~~~~~~~~~~~">
@@ -2612,7 +2612,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" TaskCapabilityUtils.toCurrentValue(it.value, CurrentValue.Status.ACCEPTED)"
errorLine2=" ~~~~~">
@@ -2621,7 +2621,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" TaskCapabilityUtils.toCurrentValue(it.value, CurrentValue.Status.ACCEPTED)"
errorLine2=" ~~~~~">
@@ -2630,7 +2630,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.ACCEPTED can only be accessed from within the same library (:)"
errorLine1=" TaskCapabilityUtils.toCurrentValue(it.value, CurrentValue.Status.ACCEPTED)"
errorLine2=" ~~~~~~~~">
@@ -2639,7 +2639,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getDefaultInstance can only be called from within the same library (:)"
errorLine1=" var groundingResult = AppGroundingResult.ofSuccess(ParamValue.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2648,7 +2648,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.hasDisambiguationData can only be called from within the same library (:)"
errorLine1=" if (pendingValue.hasDisambiguationData()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2657,7 +2657,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" } else if (taskParamBinding.groundingPredicate.invoke(pendingValue.value)) {"
errorLine2=" ~~~~~">
@@ -2666,7 +2666,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" } else if (taskParamBinding.groundingPredicate.invoke(pendingValue.value)) {"
errorLine2=" ~~~~~">
@@ -2675,7 +2675,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" groundedValues.add(pendingValue.value)"
errorLine2=" ~~~~~">
@@ -2684,7 +2684,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" groundedValues.add(pendingValue.value)"
errorLine2=" ~~~~~">
@@ -2693,7 +2693,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getDisambiguationData can only be called from within the same library (:)"
errorLine1=" renderAssistantDisambigData(pendingValue.disambiguationData, taskParamBinding)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2702,7 +2702,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getDisambiguationData can only be called from within the same library (:)"
errorLine1=" renderAssistantDisambigData(pendingValue.disambiguationData, taskParamBinding)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2711,7 +2711,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" CurrentValue.newBuilder(pendingValue)"
errorLine2=" ~~~~~~~~~~">
@@ -2720,7 +2720,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" .setStatus(CurrentValue.Status.DISAMBIG)"
errorLine2=" ~~~~~~~~~">
@@ -2729,7 +2729,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.DISAMBIG can only be accessed from within the same library (:)"
errorLine1=" .setStatus(CurrentValue.Status.DISAMBIG)"
errorLine2=" ~~~~~~~~">
@@ -2738,7 +2738,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" AppGroundingResult.Kind.SUCCESS -> ground(pendingValue.value, taskParamBinding)"
errorLine2=" ~~~~~">
@@ -2747,7 +2747,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CurrentValue.getValue can only be called from within the same library (:)"
errorLine1=" AppGroundingResult.Kind.SUCCESS -> ground(pendingValue.value, taskParamBinding)"
errorLine2=" ~~~~~">
@@ -2756,7 +2756,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DisambiguationData.getEntitiesList can only be called from within the same library (:)"
errorLine1=" val entityIds = disambiguationData.entitiesList.map { it.identifier }"
errorLine2=" ~~~~~~~~~~~~">
@@ -2765,7 +2765,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DisambiguationData.getEntitiesList can only be called from within the same library (:)"
errorLine1=" val entityIds = disambiguationData.entitiesList.map { it.identifier }"
errorLine2=" ~~~~~~~~~~~~">
@@ -2774,7 +2774,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" val entityIds = disambiguationData.entitiesList.map { it.identifier }"
errorLine2=" ~~~~~~~~~~">
@@ -2783,7 +2783,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.getIdentifier can only be called from within the same library (:)"
errorLine1=" val entityIds = disambiguationData.entitiesList.map { it.identifier }"
errorLine2=" ~~~~~~~~~~">
@@ -2792,7 +2792,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.ACCEPTED can only be accessed from within the same library (:)"
errorLine1=" CurrentValue.Status.ACCEPTED,"
errorLine2=" ~~~~~~~~">
@@ -2801,7 +2801,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.REJECTED can only be accessed from within the same library (:)"
errorLine1=" CurrentValue.Status.REJECTED,"
errorLine2=" ~~~~~~~~">
@@ -2810,7 +2810,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.REJECTED can only be accessed from within the same library (:)"
errorLine1=" CurrentValue.Status.REJECTED,"
errorLine2=" ~~~~~~~~">
@@ -2819,7 +2819,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2828,7 +2828,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" .setStringValue(value.getTextValue())"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2837,7 +2837,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" String identifier = paramValue.getIdentifier();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2846,7 +2846,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.newBuilder can only be called from within the same library (:)"
errorLine1=" Entity.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2855,7 +2855,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" .setIdentifier(stringValue.getName())"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2864,7 +2864,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(stringValue.getName())"
errorLine2=" ~~~~~~~">
@@ -2873,7 +2873,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllAlternateNames can only be called from within the same library (:)"
errorLine1=" .addAllAlternateNames(stringValue.getAlternateNames())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2882,7 +2882,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" Entity.newBuilder().setIdentifier(callFormat.getTextValue()).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2891,7 +2891,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.newBuilder can only be called from within the same library (:)"
errorLine1=" Entity.newBuilder().setIdentifier(callFormat.getTextValue()).build();"
errorLine2=" ~~~~~~~~~~">
@@ -2900,7 +2900,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" if (supportedValue.toString().equals(paramValue.getIdentifier())) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2909,7 +2909,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.getIdentifier can only be called from within the same library (:)"
errorLine1=" + "Value because identifier " + paramValue.getIdentifier() + " is not ""
errorLine2=" ~~~~~~~~~~~~~">
@@ -2918,7 +2918,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setIdentifier(obj.toString()).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2927,7 +2927,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setIdentifier(obj.toString()).build();"
errorLine2=" ~~~~~~~~~~">
@@ -2936,7 +2936,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" return Entity.newBuilder().setIdentifier(obj.toString()).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2945,7 +2945,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Entity.newBuilder can only be called from within the same library (:)"
errorLine1=" return Entity.newBuilder().setIdentifier(obj.toString()).build();"
errorLine2=" ~~~~~~~~~~">
diff --git a/appactions/interaction/interaction-capabilities-productivity/lint-baseline.xml b/appactions/interaction/interaction-capabilities-productivity/lint-baseline.xml
index 1226f52..c799fa3 100644
--- a/appactions/interaction/interaction-capabilities-productivity/lint-baseline.xml
+++ b/appactions/interaction/interaction-capabilities-productivity/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
diff --git a/appactions/interaction/interaction-capabilities-safety/lint-baseline.xml b/appactions/interaction/interaction-capabilities-safety/lint-baseline.xml
index 624cdec..aece2ed 100644
--- a/appactions/interaction/interaction-capabilities-safety/lint-baseline.xml
+++ b/appactions/interaction/interaction-capabilities-safety/lint-baseline.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
diff --git a/appactions/interaction/interaction-capabilities-testing/lint-baseline.xml b/appactions/interaction/interaction-capabilities-testing/lint-baseline.xml
index 37a7a31..f0b1248 100644
--- a/appactions/interaction/interaction-capabilities-testing/lint-baseline.xml
+++ b/appactions/interaction/interaction-capabilities-testing/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.newBuilder can only be called from within the same library (:)"
errorLine1=" val builder = Fulfillment.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" val paramBuilder = FulfillmentParam.newBuilder().setName(key)"
errorLine2=" ~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.newBuilder can only be called from within the same library (:)"
errorLine1=" val paramBuilder = FulfillmentParam.newBuilder().setName(key)"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addParams can only be called from within the same library (:)"
errorLine1=" builder.addParams("
errorLine2=" ~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addFulfillmentValues can only be called from within the same library (:)"
errorLine1=" paramBuilder.addFulfillmentValues("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" FulfillmentValue.newBuilder().setValue(value).build()"
errorLine2=" ~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentValue.newBuilder().setValue(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setNumberValue can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setNumberValue(argVal.toDouble()).build()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setNumberValue(argVal.toDouble()).build()"
errorLine2=" ~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setNumberValue can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setNumberValue(argVal).build()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setNumberValue(argVal).build()"
errorLine2=" ~~~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringValue can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setStringValue(argVal).build()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setStringValue(argVal).build()"
errorLine2=" ~~~~~~~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setIdentifier(argVal.toString()).build()"
errorLine2=" ~~~~~~~~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder().setIdentifier(argVal.toString()).build()"
errorLine2=" ~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue can only be accessed from within the same library (:)"
errorLine1=" is ParamValue -> {"
errorLine2=" ~~~~~~~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParamValue.newBuilder can only be called from within the same library (:)"
errorLine1=" return ParamValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStructValue can only be called from within the same library (:)"
errorLine1=" .setStructValue("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.SLOTS_COMPLETE can only be accessed from within the same library (:)"
errorLine1=" return buildRequestArgs(type, Fulfillment.SyncStatus.SLOTS_COMPLETE, *args)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllParams can only be called from within the same library (:)"
errorLine1=" val builder = Fulfillment.newBuilder().addAllParams(buildFulfillmentParams(*args))"
errorLine2=" ~~~~~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.newBuilder can only be called from within the same library (:)"
errorLine1=" val builder = Fulfillment.newBuilder().addAllParams(buildFulfillmentParams(*args))"
errorLine2=" ~~~~~~~~~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Type.UNRECOGNIZED can only be accessed from within the same library (:)"
errorLine1=" if (type != Fulfillment.Type.UNRECOGNIZED) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setType can only be called from within the same library (:)"
errorLine1=" builder.type = type"
errorLine2=" ~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setType can only be called from within the same library (:)"
errorLine1=" builder.type = type"
errorLine2=" ~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Type.SYNC can only be accessed from within the same library (:)"
errorLine1=" if (type == Fulfillment.Type.SYNC &&"
errorLine2=" ~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SyncStatus.UNRECOGNIZED can only be accessed from within the same library (:)"
errorLine1=" syncStatus != Fulfillment.SyncStatus.UNRECOGNIZED) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSyncStatus can only be called from within the same library (:)"
errorLine1=" builder.syncStatus = syncStatus"
errorLine2=" ~~~~~~~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSyncStatus can only be called from within the same library (:)"
errorLine1=" builder.syncStatus = syncStatus"
errorLine2=" ~~~~~~~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" val paramBuilder = FulfillmentParam.newBuilder().setName(key)"
errorLine2=" ~~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.newBuilder can only be called from within the same library (:)"
errorLine1=" val paramBuilder = FulfillmentParam.newBuilder().setName(key)"
errorLine2=" ~~~~~~~~~~">
@@ -272,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addFulfillmentValues can only be called from within the same library (:)"
errorLine1=" paramBuilder.addFulfillmentValues("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -281,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" FulfillmentValue.newBuilder().setValue(value).build()"
errorLine2=" ~~~~~~~~">
@@ -290,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentValue.newBuilder().setValue(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -299,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentRequest.getFulfillments can only be called from within the same library (:)"
errorLine1=" val fulfillment = fulfillmentRequest.getFulfillments(0)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -308,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addFulfillments can only be called from within the same library (:)"
errorLine1=" FulfillmentRequest.newBuilder().addFulfillments("
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -317,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentRequest.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentRequest.newBuilder().addFulfillments("
errorLine2=" ~~~~~~~~~~">
@@ -326,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIdentifier can only be called from within the same library (:)"
errorLine1=" fulfillment.toBuilder().setIdentifier(capabilityIdentifier).build()"
errorLine2=" ~~~~~~~~~~~~~">
@@ -335,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllFulfillmentValues can only be called from within the same library (:)"
errorLine1=" FulfillmentParam.newBuilder().setName(slotName).addAllFulfillmentValues("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -344,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" FulfillmentParam.newBuilder().setName(slotName).addAllFulfillmentValues("
errorLine2=" ~~~~~~~">
@@ -353,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentParam.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentParam.newBuilder().setName(slotName).addAllFulfillmentValues("
errorLine2=" ~~~~~~~~~~">
@@ -362,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library (:)"
errorLine1=" paramValues.map { FulfillmentValue.newBuilder().setValue(it).build() }"
errorLine2=" ~~~~~~~~">
@@ -371,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentValue.newBuilder can only be called from within the same library (:)"
errorLine1=" paramValues.map { FulfillmentValue.newBuilder().setValue(it).build() }"
errorLine2=" ~~~~~~~~~~">
@@ -380,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addFulfillments can only be called from within the same library (:)"
errorLine1=" FulfillmentRequest.newBuilder().addFulfillments("
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -389,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentRequest.newBuilder can only be called from within the same library (:)"
errorLine1=" FulfillmentRequest.newBuilder().addFulfillments("
errorLine2=" ~~~~~~~~~~">
@@ -398,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.newBuilder can only be called from within the same library (:)"
errorLine1=" Fulfillment.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -407,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library (:)"
errorLine1=" .setName(actionSpec.capabilityName)"
errorLine2=" ~~~~~~~">
@@ -416,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllParams can only be called from within the same library (:)"
errorLine1=" .addAllParams(fulfillmentParams)"
errorLine2=" ~~~~~~~~~~~~">
diff --git a/appactions/interaction/interaction-service/lint-baseline.xml b/appactions/interaction/interaction-service/lint-baseline.xml
index e3a7e0c..8cb93a1 100644
--- a/appactions/interaction/interaction-service/lint-baseline.xml
+++ b/appactions/interaction/interaction-service/lint-baseline.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionMetadata.parseFrom can only be called from within the same library (:)"
errorLine1=" AppInteractionMetadata.parseFrom(serialized)"
errorLine2=" ~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.UNKNOWN_ERROR_STATUS can only be accessed from within the same library (:)"
errorLine1=" -> ErrorStatus.UNKNOWN_ERROR_STATUS"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.INTERNAL can only be accessed from within the same library (:)"
errorLine1=" ErrorStatusInternal.INTERNAL -> ErrorStatus.INTERNAL"
errorLine2=" ~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.CANCELED can only be accessed from within the same library (:)"
errorLine1=" ErrorStatusInternal.CANCELED -> ErrorStatus.CANCELED"
errorLine2=" ~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.TIMEOUT can only be accessed from within the same library (:)"
errorLine1=" ErrorStatusInternal.TIMEOUT -> ErrorStatus.TIMEOUT"
errorLine2=" ~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.INVALID_REQUEST can only be accessed from within the same library (:)"
errorLine1=" ErrorStatusInternal.INVALID_REQUEST -> ErrorStatus.INVALID_REQUEST"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.SESSION_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" -> ErrorStatus.SESSION_NOT_FOUND"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.EXTERNAL_EXCEPTION can only be accessed from within the same library (:)"
errorLine1=" ErrorStatusInternal.EXTERNAL_EXCEPTION -> ErrorStatus.EXTERNAL_EXCEPTION"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionMetadata.newBuilder can only be called from within the same library (:)"
errorLine1=" return AppInteractionMetadata.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setErrorStatus can only be called from within the same library (:)"
errorLine1=" .setErrorStatus(errorStatus)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionMetadata.newBuilder can only be called from within the same library (:)"
errorLine1=" AppInteractionMetadata.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setErrorStatus can only be called from within the same library (:)"
errorLine1=" .setErrorStatus(errorStatus)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceGrpc.SERVICE_NAME can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .servicePolicy(AppInteractionServiceGrpc.SERVICE_NAME, securityPolicy)"
errorLine2=" ~~~~~~~~~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceImplBase can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=") : AppInteractionServiceImplBase() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceImplBase.startUpSession can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" override fun startUpSession("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = request.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = request.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" registeredCapabilities.firstOrNull { request.identifier == it.id }"
errorLine2=" ~~~~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" registeredCapabilities.firstOrNull { request.identifier == it.id }"
errorLine2=" ~~~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.CAPABILITY_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.CAPABILITY_NOT_FOUND)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HostProperties.getHostViewHeightDp can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewHeightDp,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HostProperties.getHostViewHeightDp can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewHeightDp,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getHostProperties can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewHeightDp,"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getHostProperties can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewHeightDp,"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HostProperties.getHostViewWidthDp can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewWidthDp,"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HostProperties.getHostViewWidthDp can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewWidthDp,"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getHostProperties can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewWidthDp,"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionRequest.getHostProperties can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" request.hostProperties.hostViewWidthDp,"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StartSessionResponse.getDefaultInstance can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" startSessionResponseObserver.onNext(StartSessionResponse.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceImplBase.sendRequestFulfillment can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" override fun sendRequestFulfillment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -272,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentRequest.getFulfillmentsList can only be called from within the same library (:)"
errorLine1=" if (request.fulfillmentRequest.fulfillmentsList.isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -281,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentRequest.getFulfillmentsList can only be called from within the same library (:)"
errorLine1=" if (request.fulfillmentRequest.fulfillmentsList.isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -290,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getFulfillmentRequest can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" if (request.fulfillmentRequest.fulfillmentsList.isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -299,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getFulfillmentRequest can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" if (request.fulfillmentRequest.fulfillmentsList.isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -308,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.INVALID_REQUEST can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.INVALID_REQUEST)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -317,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FulfillmentRequest.getFulfillments can only be called from within the same library (:)"
errorLine1=" val selectedFulfillment = request.fulfillmentRequest.getFulfillments(0)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -326,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getFulfillmentRequest can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val selectedFulfillment = request.fulfillmentRequest.getFulfillments(0)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -335,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getFulfillmentRequest can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val selectedFulfillment = request.fulfillmentRequest.getFulfillments(0)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -344,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getIdentifier can only be called from within the same library (:)"
errorLine1=" registeredCapabilities.firstOrNull { selectedFulfillment.identifier == it.id }"
errorLine2=" ~~~~~~~~~~">
@@ -353,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fulfillment.getIdentifier can only be called from within the same library (:)"
errorLine1=" registeredCapabilities.firstOrNull { selectedFulfillment.identifier == it.id }"
errorLine2=" ~~~~~~~~~~">
@@ -362,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.CAPABILITY_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.CAPABILITY_NOT_FOUND)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -371,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = request.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -380,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = request.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -389,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.SESSION_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.SESSION_NOT_FOUND)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -398,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.SESSION_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.SESSION_NOT_FOUND)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -407,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUiUpdate can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.uiUpdate = UiUpdate.getDefaultInstance()"
errorLine2=" ~~~~~~~~">
@@ -416,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUiUpdate can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.uiUpdate = UiUpdate.getDefaultInstance()"
errorLine2=" ~~~~~~~~">
@@ -425,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UiUpdate.getDefaultInstance can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.uiUpdate = UiUpdate.getDefaultInstance()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -434,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UiUpdate.getDefaultInstance can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.uiUpdate = UiUpdate.getDefaultInstance()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -443,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCollectionUpdate can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.setCollectionUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -452,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionUpdate.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" AppInteractionServiceProto.CollectionUpdate.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -461,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllViewIds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .addAllViewIds("
errorLine2=" ~~~~~~~~~~~~~">
@@ -470,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.UNKNOWN_ERROR_STATUS can only be accessed from within the same library (:)"
errorLine1=" ErrorStatus.UNKNOWN_ERROR_STATUS)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -479,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceImplBase.requestUi can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" override fun requestUi("
errorLine2=" ~~~~~~~~~">
@@ -488,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UiRequest.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = req.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -497,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UiRequest.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = req.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -506,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.SESSION_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.SESSION_NOT_FOUND)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -515,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.NO_UI_ELEMENTS can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.NO_UI_ELEMENTS)),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -524,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.NO_UI_ELEMENTS can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.NO_UI_ELEMENTS)),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -533,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UiResponse.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val uiResponseBuilder = AppInteractionServiceProto.UiResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -542,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTileLayout can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" tileLayoutInternal?.let { uiResponseBuilder.tileLayout = it.toProto() }"
errorLine2=" ~~~~~~~~~~">
@@ -551,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTileLayout can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" tileLayoutInternal?.let { uiResponseBuilder.tileLayout = it.toProto() }"
errorLine2=" ~~~~~~~~~~">
@@ -560,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRemoteViewsInfo can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setRemoteViewsInfo("
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -569,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RemoteViewsInfo.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RemoteViewsInfo.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -578,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidthDp can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setWidthDp(remoteViewsInternal.size.width)"
errorLine2=" ~~~~~~~~~~">
@@ -587,7 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeightDp can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setHeightDp(remoteViewsInternal.size.height)"
errorLine2=" ~~~~~~~~~~~">
@@ -596,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceImplBase.requestCollection can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" override fun requestCollection("
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -605,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = req.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -614,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getSessionIdentifier can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val sessionId = req.sessionIdentifier!!"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -623,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.SESSION_NOT_FOUND can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.SESSION_NOT_FOUND)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -632,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.NO_UI_ELEMENTS can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.NO_UI_ELEMENTS)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -641,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getViewId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val factory = uiCache.cachedRemoteViewsInternal?.collectionViewFactories?.get(req.viewId)"
errorLine2=" ~~~~~~">
@@ -650,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getViewId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" val factory = uiCache.cachedRemoteViewsInternal?.collectionViewFactories?.get(req.viewId)"
errorLine2=" ~~~~~~">
@@ -659,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.UNKNOWN_ERROR_STATUS can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.UNKNOWN_ERROR_STATUS),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -668,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getRequestDataCase can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" when (req.requestDataCase) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -677,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getRequestDataCase can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" when (req.requestDataCase) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.ON_DESTROY can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.ON_DESTROY -> {"
errorLine2=" ~~~~~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.GET_COUNT can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.GET_COUNT -> {"
errorLine2=" ~~~~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.GET_VIEW_AT can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.GET_VIEW_AT -> {"
errorLine2=" ~~~~~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getGetViewAt can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getViewAt.position,"
errorLine2=" ~~~~~~~~~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getGetViewAt can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getViewAt.position,"
errorLine2=" ~~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetViewAt.getPosition can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getViewAt.position,"
errorLine2=" ~~~~~~~~">
@@ -740,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetViewAt.getPosition can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getViewAt.position,"
errorLine2=" ~~~~~~~~">
@@ -749,7 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.GET_LOADING_VIEW can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.GET_LOADING_VIEW -> {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -758,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.GET_VIEW_TYPE_COUNT can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.GET_VIEW_TYPE_COUNT -> {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -767,7 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.GET_ITEM_ID can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.GET_ITEM_ID -> {"
errorLine2=" ~~~~~~~~~~~">
@@ -776,7 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getGetItemId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getItemId.position,"
errorLine2=" ~~~~~~~~~">
@@ -785,7 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionRequest.getGetItemId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getItemId.position,"
errorLine2=" ~~~~~~~~~">
@@ -794,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetItemId.getPosition can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getItemId.position,"
errorLine2=" ~~~~~~~~">
@@ -803,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetItemId.getPosition can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" req.getItemId.position,"
errorLine2=" ~~~~~~~~">
@@ -812,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestDataCase.HAS_STABLE_IDS can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" RequestDataCase.HAS_STABLE_IDS -> {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -821,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppInteractionServiceImplBase.requestGrounding can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" override fun requestGrounding("
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -830,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" it.id == request.request.entityProviderId"
errorLine2=" ~~~~~~~">
@@ -839,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingRequest.getRequest can only be called from within the same library (:)"
errorLine1=" it.id == request.request.entityProviderId"
errorLine2=" ~~~~~~~">
@@ -848,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getEntityProviderId can only be called from within the same library (:)"
errorLine1=" it.id == request.request.entityProviderId"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -857,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Request.getEntityProviderId can only be called from within the same library (:)"
errorLine1=" it.id == request.request.entityProviderId"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -866,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GroundingResponse.newBuilder can only be called from within the same library (:)"
errorLine1=" GroundingResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -875,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResponse can only be called from within the same library (:)"
errorLine1=" .setResponse("
errorLine2=" ~~~~~~~~~~~">
@@ -884,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatus can only be called from within the same library (:)"
errorLine1=" GroundingResponse.Response.newBuilder().setStatus("
errorLine2=" ~~~~~~~~~">
@@ -893,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Response.newBuilder can only be called from within the same library (:)"
errorLine1=" GroundingResponse.Response.newBuilder().setStatus("
errorLine2=" ~~~~~~~~~~">
@@ -902,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.INVALID_ENTITY_PROVIDER can only be accessed from within the same library (:)"
errorLine1=" GroundingResponse.Status.INVALID_ENTITY_PROVIDER,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -911,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.UNKNOWN_ERROR_STATUS can only be accessed from within the same library (:)"
errorLine1=" AppInteractionGrpcMetadata.metadataOf(ErrorStatus.UNKNOWN_ERROR_STATUS)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -920,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.getDefaultInstance can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" respondAndComplete(CollectionResponse.getDefaultInstance(), observer)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -929,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -938,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setGetCount can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setGetCount("
errorLine2=" ~~~~~~~~~~~">
@@ -947,7 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetCount.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.GetCount.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -956,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCount can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setCount(factory.count),"
errorLine2=" ~~~~~~~~">
@@ -965,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.getDefaultInstance can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" respondAndComplete(CollectionResponse.getDefaultInstance(), observer)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -974,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.getDefaultInstance can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" respondAndComplete(CollectionResponse.getDefaultInstance(), observer)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -983,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -992,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setGetViewTypeCount can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setGetViewTypeCount("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1001,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetViewTypeCount.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.GetViewTypeCount.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1010,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setViewTypeCount can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setViewTypeCount(factory.viewTypeCount),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1019,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1028,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setGetItemId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setGetItemId("
errorLine2=" ~~~~~~~~~~~~">
@@ -1037,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetItemId.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.GetItemId.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1046,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setItemId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setItemId(factory.getItemId(position)),"
errorLine2=" ~~~~~~~~~">
@@ -1055,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CollectionResponse.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1064,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHasStableIds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setHasStableIds("
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1073,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HasStableIds.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" CollectionResponse.HasStableIds.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1082,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHasStableIds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setHasStableIds(factory.hasStableIds()),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1091,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Version.newBuilder can only be called from within the same library (:)"
errorLine1=" val builder = Version.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1100,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMajor can only be called from within the same library (:)"
errorLine1=" .setMajor(libInfoVersion.major.toLong())"
errorLine2=" ~~~~~~~~">
@@ -1109,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMinor can only be called from within the same library (:)"
errorLine1=" .setMinor(libInfoVersion.minor.toLong())"
errorLine2=" ~~~~~~~~">
@@ -1118,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPatch can only be called from within the same library (:)"
errorLine1=" .setPatch(libInfoVersion.patch.toLong())"
errorLine2=" ~~~~~~~~">
@@ -1127,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPrereleaseId can only be called from within the same library (:)"
errorLine1=" libInfoVersion.preReleaseId?.let(builder::setPrereleaseId)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1136,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getTaskInfo can only be called from within the same library (:)"
errorLine1=" val isDialogSession = appAction.taskInfo.supportsPartialFulfillment"
errorLine2=" ~~~~~~~~">
@@ -1145,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppAction.getTaskInfo can only be called from within the same library (:)"
errorLine1=" val isDialogSession = appAction.taskInfo.supportsPartialFulfillment"
errorLine2=" ~~~~~~~~">
@@ -1154,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TaskInfo.getSupportsPartialFulfillment can only be called from within the same library (:)"
errorLine1=" val isDialogSession = appAction.taskInfo.supportsPartialFulfillment"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1163,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TaskInfo.getSupportsPartialFulfillment can only be called from within the same library (:)"
errorLine1=" val isDialogSession = appAction.taskInfo.supportsPartialFulfillment"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1172,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AppActionsContext.newBuilder can only be called from within the same library (:)"
errorLine1=" val appActionsContextBuilder = AppActionsContext.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1181,7 +1181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addActions can only be called from within the same library (:)"
errorLine1=" .addActions(appAction)"
errorLine2=" ~~~~~~~~~~">
@@ -1190,7 +1190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVersion can only be called from within the same library (:)"
errorLine1=" .setVersion(version)"
errorLine2=" ~~~~~~~~~~">
@@ -1199,7 +1199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addDialogStates can only be called from within the same library (:)"
errorLine1=" currentSession.state?.let(appActionsContextBuilder::addDialogStates)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1208,7 +1208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Response.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" Response.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1217,7 +1217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFulfillmentResponse can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setFulfillmentResponse(fulfillmentResponse)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -1226,7 +1226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAppActionsContext can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setAppActionsContext(appActionsContextBuilder.build())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1235,7 +1235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndingStatus can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.endingStatus = AppInteractionServiceProto.Status.newBuilder()"
errorLine2=" ~~~~~~~~~~~~">
@@ -1244,7 +1244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndingStatus can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.endingStatus = AppInteractionServiceProto.Status.newBuilder()"
errorLine2=" ~~~~~~~~~~~~">
@@ -1253,7 +1253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.endingStatus = AppInteractionServiceProto.Status.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1262,7 +1262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Status.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" responseBuilder.endingStatus = AppInteractionServiceProto.Status.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1271,7 +1271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatusCode can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setStatusCode(Code.COMPLETE)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1280,7 +1280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStatusCode can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setStatusCode(Code.COMPLETE)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1289,7 +1289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Code.COMPLETE can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setStatusCode(Code.COMPLETE)"
errorLine2=" ~~~~~~~~">
@@ -1298,7 +1298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Code.COMPLETE can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setStatusCode(Code.COMPLETE)"
errorLine2=" ~~~~~~~~">
@@ -1307,7 +1307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TileLayout.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" return AppInteractionServiceProto.TileLayout.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1316,7 +1316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLayout can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.appactions.interaction`)"
errorLine1=" .setLayout(ByteString.copyFrom(byteArray))"
errorLine2=" ~~~~~~~~~">
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt b/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt
index 8380456..a56b608 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/LintConfiguration.kt
@@ -363,7 +363,9 @@
// Explicitly disable StopShip check (see b/244617216)
disable.add("StopShip")
- fatal.add("RestrictedApi")
+ // Swap the built-in RestrictedApi check for our "fixed" version (see b/297047524)
+ disable.add("RestrictedApi")
+ fatal.add("RestrictedApiAndroidX")
// Disable until ag/19949626 goes in (b/261918265)
disable.add("MissingQuantity")
diff --git a/camera/camera-core/lint-baseline.xml b/camera/camera-core/lint-baseline.xml
index 771996c..70dac88 100644
--- a/camera/camera-core/lint-baseline.xml
+++ b/camera/camera-core/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExifInterface.TAG_THUMBNAIL_ORIENTATION can only be accessed from within the same library (androidx.exifinterface:exifinterface)"
errorLine1=" ExifInterface.TAG_THUMBNAIL_ORIENTATION);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExifInterface.TAG_THUMBNAIL_ORIENTATION can only be accessed from within the same library (androidx.exifinterface:exifinterface)"
errorLine1=" ExifInterface.TAG_THUMBNAIL_ORIENTATION,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
diff --git a/camera/integration-tests/avsynctestapp/lint-baseline.xml b/camera/integration-tests/avsynctestapp/lint-baseline.xml
index f784698..2f3251e 100644
--- a/camera/integration-tests/avsynctestapp/lint-baseline.xml
+++ b/camera/integration-tests/avsynctestapp/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not start audio generation, since AudioGenerator is disabled.")"
errorLine2=" ~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not start audio generation, since AudioGenerator is disabled.")"
errorLine2=" ~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not start audio generation, since AudioGenerator is disabled.")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "start audio generation")"
errorLine2=" ~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "start audio generation")"
errorLine2=" ~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "start audio generation")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not stop audio generation, since AudioGenerator is disabled.")"
errorLine2=" ~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not stop audio generation, since AudioGenerator is disabled.")"
errorLine2=" ~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not stop audio generation, since AudioGenerator is disabled.")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "stop audio generation")"
errorLine2=" ~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "stop audio generation")"
errorLine2=" ~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "stop audio generation")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "playState before stopped: ${audioTrack!!.playState}")"
errorLine2=" ~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "playState before stopped: ${audioTrack!!.playState}")"
errorLine2=" ~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "playState before stopped: ${audioTrack!!.playState}")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "playbackHeadPosition before stopped: ${audioTrack!!.playbackHeadPosition}")"
errorLine2=" ~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "playbackHeadPosition before stopped: ${audioTrack!!.playbackHeadPosition}")"
errorLine2=" ~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "playbackHeadPosition before stopped: ${audioTrack!!.playbackHeadPosition}")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -164,43 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkArgumentNonnegative can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" checkArgumentNonnegative(frequency, "The input frequency should not be negative.")"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/model/AudioGenerator.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkArgumentNonnegative can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" checkArgumentNonnegative(frequency, "The input frequency should not be negative.")"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/model/AudioGenerator.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" checkArgument(beepLengthInSec >= 0, "The beep length should not be negative.")"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/model/AudioGenerator.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" checkArgument(beepLengthInSec >= 0, "The beep length should not be negative.")"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/model/AudioGenerator.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not initial audio track, since AudioGenerator is disabled.")"
errorLine2=" ~">
@@ -209,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not initial audio track, since AudioGenerator is disabled.")"
errorLine2=" ~~~">
@@ -218,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "Will not initial audio track, since AudioGenerator is disabled.")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -227,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with sample rate: $sampleRate")"
errorLine2=" ~">
@@ -236,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with sample rate: $sampleRate")"
errorLine2=" ~~~">
@@ -245,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with sample rate: $sampleRate")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -254,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with beep frequency: $frequency")"
errorLine2=" ~">
@@ -263,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with beep frequency: $frequency")"
errorLine2=" ~~~">
@@ -272,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with beep frequency: $frequency")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -281,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with buffer size: $bufferSize")"
errorLine2=" ~">
@@ -290,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with buffer size: $bufferSize")"
errorLine2=" ~~~">
@@ -299,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.i can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.i(TAG, "initAudioTrack with buffer size: $bufferSize")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -308,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Camera binding failed", exception)"
errorLine2=" ~">
@@ -317,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Camera binding failed", exception)"
errorLine2=" ~~~">
@@ -326,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Camera binding failed", exception)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -335,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Camera binding failed", exception)"
errorLine2=" ~~~~~~~~~">
@@ -344,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceQuirks.get can only be called from within the same library (androidx.camera:camera-video)"
errorLine1=" return DeviceQuirks.get(MediaStoreVideoCannotWrite::class.java) == null"
errorLine2=" ~~~">
@@ -353,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceQuirks.get can only be called from within the same library (androidx.camera:camera-video)"
errorLine1=" return DeviceQuirks.get(MediaStoreVideoCannotWrite::class.java) == null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -362,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to create directory: $videoFolder")"
errorLine2=" ~">
@@ -371,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to create directory: $videoFolder")"
errorLine2=" ~~~">
@@ -380,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to create directory: $videoFolder")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -389,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Video saved to: $uri")"
errorLine2=" ~">
@@ -398,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Video saved to: $uri")"
errorLine2=" ~~~">
@@ -407,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Video saved to: $uri")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -416,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to save video: $msg")"
errorLine2=" ~">
@@ -425,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to save video: $msg")"
errorLine2=" ~~~">
@@ -434,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to save video: $msg")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -443,25 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkArgument(brightness in MIN_SCREEN_BRIGHTNESS..MAX_SCREEN_BRIGHTNESS)"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/MainActivity.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkArgument(percentage in 0.0..1.0)"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Start signal generation.")"
errorLine2=" ~">
@@ -470,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Start signal generation.")"
errorLine2=" ~~~">
@@ -479,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Start signal generation.")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -488,16 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(isGeneratorReady)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Stop signal generation.")"
errorLine2=" ~">
@@ -506,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Stop signal generation.")"
errorLine2=" ~~~">
@@ -515,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Stop signal generation.")"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -524,16 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(isGeneratorReady)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Start recording.")"
errorLine2=" ~">
@@ -542,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Start recording.")"
errorLine2=" ~~~">
@@ -551,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Start recording.")"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -560,16 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(isRecorderReady)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Stop recording.")"
errorLine2=" ~">
@@ -578,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Stop recording.")"
errorLine2=" ~~~">
@@ -587,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Stop recording.")"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -596,16 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(isRecorderReady)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Pause recording.")"
errorLine2=" ~">
@@ -614,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Pause recording.")"
errorLine2=" ~~~">
@@ -623,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Pause recording.")"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -632,16 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(isRecorderReady)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Resume recording.")"
errorLine2=" ~">
@@ -650,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Resume recording.")"
errorLine2=" ~~~">
@@ -659,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, "Resume recording.")"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -667,13 +568,4 @@
file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
</issue>
- <issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(isRecorderReady)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/avsync/SignalGeneratorViewModel.kt"/>
- </issue>
-
</issues>
diff --git a/camera/integration-tests/camerapipetestapp/lint-baseline.xml b/camera/integration-tests/camerapipetestapp/lint-baseline.xml
index bb49d47..80b96ac 100644
--- a/camera/integration-tests/camerapipetestapp/lint-baseline.xml
+++ b/camera/integration-tests/camerapipetestapp/lint-baseline.xml
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getNORMAL can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" private var operatingMode: CameraGraph.OperatingMode = CameraGraph.OperatingMode.NORMAL"
errorLine2=" ~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.cameras can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraDevices = cameraPipe.cameras()"
errorLine2=" ~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraIds-SeavPBo can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraIdGroups = cameraDevices.awaitCameraIds()!!.map { listOf(it) } +"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitConcurrentCameraIds-SeavPBo can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraDevices.awaitConcurrentCameraIds()!!.filter { it.size <= 2 }.map { it.toList() }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getNORMAL can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (lastCameraIdGroup.size == 1 && operatingMode == CameraGraph.OperatingMode.NORMAL) {"
errorLine2=" ~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getHIGH_SPEED can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" operatingMode = CameraGraph.OperatingMode.HIGH_SPEED"
errorLine2=" ~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getNORMAL can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" operatingMode = CameraGraph.OperatingMode.NORMAL"
errorLine2=" ~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" result = CameraPipe(CameraPipe.Config(appContext = this))"
errorLine2=" ~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" result = CameraPipe(CameraPipe.Config(appContext = this))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Config can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" result = CameraPipe(CameraPipe.Config(appContext = this))"
errorLine2=" ~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Config can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" result = CameraPipe(CameraPipe.Config(appContext = this))"
errorLine2=" ~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getNORMAL can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" operatingMode: CameraGraph.OperatingMode? = CameraGraph.OperatingMode.NORMAL"
errorLine2=" ~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getHIGH_SPEED can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (operatingMode == CameraGraph.OperatingMode.HIGH_SPEED) {"
errorLine2=" ~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraMetadata-FpsL5FU can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraMetadata-FpsL5FU can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.cameras can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraMetadata.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraMetadata[CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP]!!"
errorLine2=" ~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraMetadata.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraMetadata[CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraMetadata.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraMetadata[CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP]!!"
errorLine2=" ~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraMetadata.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraMetadata[CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStreamConfig = Config.create("
errorLine2=" ~~~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" yuvSize,"
errorLine2=" ~~~~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getUNKNOWN-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" StreamFormat.UNKNOWN,"
errorLine2=" ~~~~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getSURFACE_VIEW can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW"
errorLine2=" ~~~~~~~~~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val privateStreamConfig = Config.create("
errorLine2=" ~~~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutputSize,"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getPRIVATE-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" StreamFormat.PRIVATE,"
errorLine2=" ~~~~~~~">
@@ -272,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -281,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getSURFACE_VIEW can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW,"
errorLine2=" ~~~~~~~~~~~~">
@@ -290,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streamUseCase = OutputStream.StreamUseCase.PREVIEW"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -299,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getPREVIEW-vrKr8v8 can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streamUseCase = OutputStream.StreamUseCase.PREVIEW"
errorLine2=" ~~~~~~~">
@@ -308,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getHIGH_SPEED can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" sessionMode = CameraGraph.OperatingMode.HIGH_SPEED,"
errorLine2=" ~~~~~~~~~~">
@@ -317,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.create can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraGraph = cameraPipe.create(config)"
errorLine2=" ~~~~~~">
@@ -326,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.create can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraGraph = cameraPipe.create(config)"
errorLine2=" ~~~~~~">
@@ -335,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.getStreams can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStream = cameraGraph.streams[privateStreamConfig]!!"
errorLine2=" ~~~~~~~">
@@ -344,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStream = cameraGraph.streams[privateStreamConfig]!!"
errorLine2=" ~">
@@ -353,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStream = cameraGraph.streams[privateStreamConfig]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -362,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.outputs can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderOutput = viewfinderStream.outputs.single()"
errorLine2=" ~~~~~~~">
@@ -371,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" viewfinderOutput.size,"
errorLine2=" ~~~~">
@@ -380,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(viewfinderStream.id, surface)"
errorLine2=" ~~~~~~~~~~">
@@ -389,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(viewfinderStream.id, surface)"
errorLine2=" ~~~~~~~">
@@ -398,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(viewfinderStream.id, surface)"
errorLine2=" ~~">
@@ -407,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.getStreams can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val privateStream = cameraGraph.streams[privateStreamConfig]!!"
errorLine2=" ~~~~~~~">
@@ -416,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val privateStream = cameraGraph.streams[privateStreamConfig]!!"
errorLine2=" ~">
@@ -425,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val privateStream = cameraGraph.streams[privateStreamConfig]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -434,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.outputs can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val privateOutput = privateStream.outputs.single()"
errorLine2=" ~~~~~~~">
@@ -443,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutput.size.width,"
errorLine2=" ~~~~">
@@ -452,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutput.size.height,"
errorLine2=" ~~~~">
@@ -461,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getFormat-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutput.format.value,"
errorLine2=" ~~~~~~">
@@ -470,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutput.size.width,"
errorLine2=" ~~~~">
@@ -479,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutput.size.height,"
errorLine2=" ~~~~">
@@ -488,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getFormat-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" privateOutput.format.value,"
errorLine2=" ~~~~~~">
@@ -497,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(privateStream.id, imageReader.surface)"
errorLine2=" ~~~~~~~~~~">
@@ -506,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(privateStream.id, imageReader.surface)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -515,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(privateStream.id, imageReader.surface)"
errorLine2=" ~~">
@@ -524,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.acquireSessionOrNull can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.acquireSessionOrNull()!!.use {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -533,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Session.startRepeating can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" it.startRepeating("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -542,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Session.startRepeating can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Request("
errorLine2=" ~~~~~~~">
@@ -551,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streams = listOf(viewfinderStream.id, privateStream.id)"
errorLine2=" ~~">
@@ -560,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streams = listOf(viewfinderStream.id, privateStream.id)"
errorLine2=" ~~">
@@ -569,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraMetadata-FpsL5FU can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -578,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraMetadata-FpsL5FU can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~~">
@@ -587,7 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.cameras can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~">
@@ -596,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraMetadata.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraMetadata[CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP]!!"
errorLine2=" ~">
@@ -605,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraMetadata.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraMetadata[CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -614,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStreamConfig = Config.create("
errorLine2=" ~~~~~~">
@@ -623,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" yuvSize,"
errorLine2=" ~~~~~~~">
@@ -632,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getUNKNOWN-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" StreamFormat.UNKNOWN,"
errorLine2=" ~~~~~~~">
@@ -641,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -650,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getSURFACE_VIEW can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW"
errorLine2=" ~~~~~~~~~~~~">
@@ -659,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val yuvStreamConfig = Config.create("
errorLine2=" ~~~~~~">
@@ -668,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" yuvSize,"
errorLine2=" ~~~~~~~">
@@ -677,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getYUV_420_888-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" StreamFormat.YUV_420_888"
errorLine2=" ~~~~~~~~~~~">
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.create can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraGraph = cameraPipe.create(config)"
errorLine2=" ~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.create can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraGraph = cameraPipe.create(config)"
errorLine2=" ~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.getStreams can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStream = cameraGraph.streams[viewfinderStreamConfig]!!"
errorLine2=" ~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStream = cameraGraph.streams[viewfinderStreamConfig]!!"
errorLine2=" ~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderStream = cameraGraph.streams[viewfinderStreamConfig]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.outputs can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderOutput = viewfinderStream.outputs.single()"
errorLine2=" ~~~~~~~">
@@ -740,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" viewfinderOutput.size,"
errorLine2=" ~~~~">
@@ -749,7 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(viewfinderStream.id, surface)"
errorLine2=" ~~~~~~~~~~">
@@ -758,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(viewfinderStream.id, surface)"
errorLine2=" ~~~~~~~">
@@ -767,7 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(viewfinderStream.id, surface)"
errorLine2=" ~~">
@@ -776,7 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.getStreams can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val yuvStream = cameraGraph.streams[yuvStreamConfig]!!"
errorLine2=" ~~~~~~~">
@@ -785,7 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val yuvStream = cameraGraph.streams[yuvStreamConfig]!!"
errorLine2=" ~">
@@ -794,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val yuvStream = cameraGraph.streams[yuvStreamConfig]!!"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -803,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.outputs can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val yuvOutput = yuvStream.outputs.single()"
errorLine2=" ~~~~~~~">
@@ -812,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" yuvOutput.size.width,"
errorLine2=" ~~~~">
@@ -821,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" yuvOutput.size.height,"
errorLine2=" ~~~~">
@@ -830,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getFormat-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" yuvOutput.format.value,"
errorLine2=" ~~~~~~">
@@ -839,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(yuvStream.id, imageReader.surface)"
errorLine2=" ~~~~~~~~~~">
@@ -848,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(yuvStream.id, imageReader.surface)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -857,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.setSurface(yuvStream.id, imageReader.surface)"
errorLine2=" ~~">
@@ -866,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.acquireSessionOrNull can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.acquireSessionOrNull()!!.use {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -875,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Session.startRepeating can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" it.startRepeating("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -884,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Session.startRepeating can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Request("
errorLine2=" ~~~~~~~">
@@ -893,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streams = listOf(viewfinderStream.id, yuvStream.id)"
errorLine2=" ~~">
@@ -902,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streams = listOf(viewfinderStream.id, yuvStream.id)"
errorLine2=" ~~">
@@ -911,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraMetadata-FpsL5FU can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -920,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraDevices.awaitCameraMetadata-FpsL5FU can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~~">
@@ -929,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.cameras can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraMetadata = cameraPipe.cameras().awaitCameraMetadata(cameraId)"
errorLine2=" ~~~~~~~">
@@ -938,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Config.create("
errorLine2=" ~~~~~~">
@@ -947,7 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" size,"
errorLine2=" ~~~~">
@@ -956,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getPRIVATE-8FPWQzE can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" StreamFormat.PRIVATE,"
errorLine2=" ~~~~~~~">
@@ -965,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.create-bSQo6-Q can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -974,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Companion.getSURFACE_VIEW can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" outputType = OutputStream.OutputType.SURFACE_VIEW,"
errorLine2=" ~~~~~~~~~~~~">
@@ -983,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.createCameraGraphs can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraGraphs = cameraPipe.createCameraGraphs(configs)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -992,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraPipe.createCameraGraphs can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val cameraGraphs = cameraPipe.createCameraGraphs(configs)"
errorLine2=" ~~~~~~~">
@@ -1001,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.getStreams can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.streams[viewfinderStreamConfig]!!"
errorLine2=" ~~~~~~~">
@@ -1010,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.streams[viewfinderStreamConfig]!!"
errorLine2=" ~">
@@ -1019,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StreamGraph.get can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.streams[viewfinderStreamConfig]!!"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -1028,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.outputs can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val viewfinderOutputs = viewfinderStreams.map { it.outputs.single() }"
errorLine2=" ~~~~~~~">
@@ -1037,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputStream.getSize can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" viewfinderOutputs[i].size,"
errorLine2=" ~~~~">
@@ -1046,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraphs[i].setSurface(viewfinderStreams[i].id, surface)"
errorLine2=" ~~~~~~~~~~">
@@ -1055,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setSurface-NYG5g8E can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraphs[i].setSurface(viewfinderStreams[i].id, surface)"
errorLine2=" ~~~~~~~">
@@ -1064,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraphs[i].setSurface(viewfinderStreams[i].id, surface)"
errorLine2=" ~~">
@@ -1073,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.acquireSessionOrNull can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.acquireSessionOrNull()!!.use {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1082,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Session.startRepeating can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" it.startRepeating("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1091,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Session.startRepeating can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Request("
errorLine2=" ~~~~~~~">
@@ -1100,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraStream.id can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" streams = listOf(viewfinderStream.id)"
errorLine2=" ~~">
@@ -1109,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.start can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.start()"
errorLine2=" ~~~~~">
@@ -1118,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setForeground can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.isForeground = true"
errorLine2=" ~~~~~~~~~~~~">
@@ -1127,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.setForeground can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.isForeground = false"
errorLine2=" ~~~~~~~~~~~~">
@@ -1136,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraGraph.stop can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraGraph.stop()"
errorLine2=" ~~~~">
@@ -1145,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Debug.formatCameraGraphProperties can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Debug.formatCameraGraphProperties(cameraMetadata, cameraConfig, cameraGraph)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1154,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Debug.formatCameraGraphProperties can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Debug.formatCameraGraphProperties(cameraMetadata, cameraConfig, cameraGraph)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1163,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Debug.formatCameraGraphProperties can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Debug.formatCameraGraphProperties(cameraMetadata, cameraConfig, cameraGraph)"
errorLine2=" ~~~~~~~~~~~~">
@@ -1172,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Debug.formatCameraGraphProperties can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Debug.formatCameraGraphProperties(cameraMetadata, cameraConfig, cameraGraph)"
errorLine2=" ~~~~~~~~~~~">
diff --git a/camera/integration-tests/coretestapp/lint-baseline.xml b/camera/integration-tests/coretestapp/lint-baseline.xml
index b1ee614..4cbca68 100644
--- a/camera/integration-tests/coretestapp/lint-baseline.xml
+++ b/camera/integration-tests/coretestapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="BanThreadSleep"
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraInfoInternal can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (cameraInfo instanceof CameraInfoInternal) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceQuirks.getAll can only be called from within the same library (androidx.camera:camera-video)"
errorLine1=" Quirks deviceQuirks = DeviceQuirks.getAll();"
errorLine2=" ~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraInfoInternal can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Quirks cameraQuirks = ((CameraInfoInternal) cameraInfo).getCameraQuirks();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraInfoInternal.getCameraQuirks can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Quirks cameraQuirks = ((CameraInfoInternal) cameraInfo).getCameraQuirks();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Quirks.contains can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (deviceQuirks.contains(CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.class)"
errorLine2=" ~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Quirks.contains can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (deviceQuirks.contains(CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.class)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Quirks.contains can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" || cameraQuirks.contains(ImageCaptureFailWithAutoFlashQuirk.class)"
errorLine2=" ~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Quirks.contains can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" || cameraQuirks.contains(ImageCaptureFailWithAutoFlashQuirk.class)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Quirks.contains can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" || cameraQuirks.contains(ImageCaptureFlashNotFireQuirk.class)) {"
errorLine2=" ~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Quirks.contains can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" || cameraQuirks.contains(ImageCaptureFlashNotFireQuirk.class)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceQuirks.get can only be called from within the same library (androidx.camera:camera-video)"
errorLine1=" if (DeviceQuirks.get(MediaStoreVideoCannotWrite.class) != null) {"
errorLine2=" ~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceQuirks.get can only be called from within the same library (androidx.camera:camera-video)"
errorLine1=" if (DeviceQuirks.get(MediaStoreVideoCannotWrite.class) != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Camera.isUseCasesCombinationSupported can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return targetCamera.isUseCasesCombinationSupported(useCases.toArray(new UseCase[0]));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.directExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" }, CameraXExecutors.directExecutor());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AspectRatioUtil.ASPECT_RATIO_16_9 can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" ? AspectRatioUtil.ASPECT_RATIO_16_9 : AspectRatioUtil.ASPECT_RATIO_4_3;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AspectRatioUtil.ASPECT_RATIO_4_3 can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" ? AspectRatioUtil.ASPECT_RATIO_16_9 : AspectRatioUtil.ASPECT_RATIO_4_3;"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Camera.isUseCasesCombinationSupported can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return mCamera.isUseCasesCombinationSupported(buildUseCases().toArray(new UseCase[0]));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TransformationInfo.hasCameraTransform can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" mHasCameraTransform = transformationInfo.hasCameraTransform();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TransformUtils.within360 can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return within360((180 - mTextureRotationDegrees) + mSurfaceRotationDegrees);"
errorLine2=" ~~~~~~~~~">
@@ -209,115 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mPreviewView, "Cannot get the preview view.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mPreviewView, "Cannot get the preview view.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mPreviewView, "Cannot get the preview view.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mDurationText, "Cannot get the duration text view.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mDurationText, "Cannot get the duration text view.");"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mDurationText, "Cannot get the duration text view.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mSwitchTimeText, "Cannot get the switch time text view.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mSwitchTimeText, "Cannot get the switch time text view.");"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mSwitchTimeText, "Cannot get the switch time text view.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mStartButton, "Cannot get the start button view.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mStartButton, "Cannot get the start button view.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mStartButton, "Cannot get the start button view.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, msg);"
errorLine2=" ~">
@@ -326,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, msg);"
errorLine2=" ~~~">
@@ -335,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, msg);"
errorLine2=" ~~~">
@@ -344,142 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mCamera, "The camera instance should not be null.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mCamera, "The camera instance should not be null.");"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mCamera, "The camera instance should not be null.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mCameraProvider, "The camera provider should not be null");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mCameraProvider, "The camera provider should not be null");"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mCameraProvider, "The camera provider should not be null");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mPreview, "The preview use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mPreview, "The preview use case should not be null.");"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mPreview, "The preview use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mVideoCapture, "The video capture use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mVideoCapture, "The video capture use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mVideoCapture, "The video capture use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mVideoCapture, "The video capture use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mVideoCapture, "The video capture use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mVideoCapture, "The video capture use case should not be null.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, msg);"
errorLine2=" ~">
@@ -488,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, msg);"
errorLine2=" ~~~">
@@ -497,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.d(TAG, msg);"
errorLine2=" ~~~">
@@ -506,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.canDeviceWriteToMediaStore can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (E2ETestUtil.canDeviceWriteToMediaStore()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -515,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoMediaStoreOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.generateVideoMediaStoreOptions(this.getContentResolver(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -524,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoMediaStoreOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.generateVideoMediaStoreOptions(this.getContentResolver(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -533,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoMediaStoreOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" videoFileName));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -542,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoFileOutputOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.generateVideoFileOutputOptions(videoFileName, "mp4"));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -551,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoFileOutputOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.generateVideoFileOutputOptions(videoFileName, "mp4"));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -560,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoFileOutputOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.generateVideoFileOutputOptions(videoFileName, "mp4"));"
errorLine2=" ~~~~~">
@@ -569,34 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mRecording, "The in-progress ""
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mRecording, "The in-progress ""
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkNotNull(mRecording, "The in-progress ""
- errorLine2=" ^">
- <location
- file="src/main/java/androidx/camera/integration/core/VideoCameraSwitchingActivity.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.writeTextToExternalFile(information,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -605,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" E2ETestUtil.writeTextToExternalFile(information,"
errorLine2=" ~~~~~~~~~~~">
@@ -614,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" generateFileName(INFO_FILE_PREFIX, false), "txt");"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -623,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" generateFileName(INFO_FILE_PREFIX, false), "txt");"
errorLine2=" ~~~~~">
@@ -632,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.isFileNameValid can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (!isUnique && !E2ETestUtil.isFileNameValid(prefix)) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -641,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.isFileNameValid can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (!isUnique && !E2ETestUtil.isFileNameValid(prefix)) {"
errorLine2=" ~~~~~~">
@@ -650,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.isFileNameValid can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (E2ETestUtil.isFileNameValid(prefix)) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -659,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.isFileNameValid can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (E2ETestUtil.isFileNameValid(prefix)) {"
errorLine2=" ~~~~~~">
diff --git a/camera/integration-tests/diagnosetestapp/lint-baseline.xml b/camera/integration-tests/diagnosetestapp/lint-baseline.xml
index d2c54a0..efaec07 100644
--- a/camera/integration-tests/diagnosetestapp/lint-baseline.xml
+++ b/camera/integration-tests/diagnosetestapp/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Threads.checkMainThread can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Threads.checkMainThread()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -10,22 +10,4 @@
file="src/main/java/androidx/camera/integration/diagnose/ImageCaptureTask.kt"/>
</issue>
- <issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState(calibrationThreadId == Thread.currentThread().id,"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/diagnose/MainActivity.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" "Not working on Calibration Thread")"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/diagnose/MainActivity.kt"/>
- </issue>
-
</issues>
diff --git a/camera/integration-tests/extensionstestapp/lint-baseline.xml b/camera/integration-tests/extensionstestapp/lint-baseline.xml
index 6085300..f411714 100644
--- a/camera/integration-tests/extensionstestapp/lint-baseline.xml
+++ b/camera/integration-tests/extensionstestapp/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Futures.immediateFuture can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" private var imageSaveTerminationFuture: ListenableFuture<Any?> = Futures.immediateFuture(null)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Futures.immediateFuture can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" private var imageSaveTerminationFuture: ListenableFuture<Any?> = Futures.immediateFuture(null)"
errorLine2=" ~~~~">
@@ -20,25 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" Preconditions.checkState("
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/extensions/Camera2ExtensionsActivity.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" "take picture button is only enabled when session is configured successfully""
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/extensions/Camera2ExtensionsActivity.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.directExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" mPreviewView.setFrameUpdateListener(CameraXExecutors.directExecutor(), (timestamp) -> {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -47,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="PreviewView.setFrameUpdateListener can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" mPreviewView.setFrameUpdateListener(CameraXExecutors.directExecutor(), (timestamp) -> {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -56,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.ioExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" imageAnalysis.setAnalyzer(CameraXExecutors.ioExecutor(), img -> {"
errorLine2=" ~~~~~~~~~~">
@@ -65,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.createFromFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val exif = Exif.createFromFile(tempFile)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -74,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.createFromFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val exif = Exif.createFromFile(tempFile)"
errorLine2=" ~~~~~~~~">
@@ -83,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.rotate can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" exif.rotate(rotationDegrees)"
errorLine2=" ~~~~~~">
@@ -92,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.save can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" exif.save()"
errorLine2=" ~~~~">
@@ -101,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -110,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -119,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
diff --git a/camera/integration-tests/timingtestapp/lint-baseline.xml b/camera/integration-tests/timingtestapp/lint-baseline.xml
index 1cd635d..70291d7 100644
--- a/camera/integration-tests/timingtestapp/lint-baseline.xml
+++ b/camera/integration-tests/timingtestapp/lint-baseline.xml
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.directExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" surface, CameraXExecutors.directExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
diff --git a/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml b/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
index d33c7ad..e080df6 100644
--- a/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
+++ b/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -38,7 +38,25 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
+ message="UseCase.getAttachedSurfaceResolution can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" val resolution = mImageCapture.attachedSurfaceResolution"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/uiwidgets/rotations/CameraActivity.kt"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="UseCase.getAttachedSurfaceResolution can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" val resolution = mImageCapture.attachedSurfaceResolution"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/uiwidgets/rotations/CameraActivity.kt"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
message="Exif.createFromFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" private val exif = Exif.createFromFile(file)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -47,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.createFromFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" private val exif = Exif.createFromFile(file)"
errorLine2=" ~~~~">
@@ -56,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getHeight can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~~">
@@ -65,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getHeight can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~~">
@@ -74,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getWidth can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~">
@@ -83,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getWidth can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~">
@@ -92,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getRotation can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getRotation() = exif.rotation"
errorLine2=" ~~~~~~~~">
@@ -101,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getRotation can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getRotation() = exif.rotation"
errorLine2=" ~~~~~~~~">
@@ -110,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.createFromInputStream can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" exif = Exif.createFromInputStream(inputStream!!)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -119,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.createFromInputStream can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" exif = Exif.createFromInputStream(inputStream!!)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -128,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getHeight can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~~">
@@ -137,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getHeight can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~~">
@@ -146,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getWidth can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~">
@@ -155,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getWidth can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getResolution() = Size(exif.width, exif.height)"
errorLine2=" ~~~~~">
@@ -164,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getRotation can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getRotation() = exif.rotation"
errorLine2=" ~~~~~~~~">
@@ -173,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Exif.getRotation can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun getRotation() = exif.rotation"
errorLine2=" ~~~~~~~~">
@@ -182,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputTransform.getMatrix can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" mlKitAnalyzer.updateTransform(outputTransform.matrix)"
errorLine2=" ~~~~~~">
@@ -191,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OutputTransform.getMatrix can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" mlKitAnalyzer.updateTransform(outputTransform.matrix)"
errorLine2=" ~~~~~~">
diff --git a/camera/integration-tests/viewfindertestapp/lint-baseline.xml b/camera/integration-tests/viewfindertestapp/lint-baseline.xml
index ce49f94..15b245a 100644
--- a/camera/integration-tests/viewfindertestapp/lint-baseline.xml
+++ b/camera/integration-tests/viewfindertestapp/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CompareSizesByArea can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" /* comp = */ CompareSizesByArea()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
diff --git a/camera/integration-tests/viewtestapp/lint-baseline.xml b/camera/integration-tests/viewtestapp/lint-baseline.xml
index 4bf28c2..acea7110 100644
--- a/camera/integration-tests/viewtestapp/lint-baseline.xml
+++ b/camera/integration-tests/viewtestapp/lint-baseline.xml
@@ -2,7 +2,151 @@
<issues format="6" by="lint 8.2.0-beta01" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-beta01)" variant="all" version="8.2.0-beta01">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
+ message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" mainThreadExecutor(), mRotationListener);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.e(TAG, "The device cannot detect rotation with motion sensor.");"
+ errorLine2=" ~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.e(TAG, "The device cannot detect rotation with motion sensor.");"
+ errorLine2=" ~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.e(TAG, "The device cannot detect rotation with motion sensor.");"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Futures.addCallback can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Futures.addCallback(voidFuture, new FutureCallback<Void>() {"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Futures.addCallback can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Futures.addCallback(voidFuture, new FutureCallback<Void>() {"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Futures.addCallback can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Futures.addCallback(voidFuture, new FutureCallback<Void>() {"
+ errorLine2=" ^">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="FutureCallback.onSuccess can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" public void onSuccess(@Nullable Void result) {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="FutureCallback.onFailure can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" public void onFailure(@NonNull Throwable t) {"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" }, mainThreadExecutor());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Futures.addCallback can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" }, mainThreadExecutor());"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="CameraSelector.getLensFacing can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" final Integer lensFacing = mCameraController.getCameraSelector().getLensFacing();"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" mainThreadExecutor().execute(() -> {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="TransformUtils.getRectToRect can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Matrix croppingTransform = getRectToRect(new RectF(cropRect),"
+ errorLine2=" ~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="TransformUtils.getRectToRect can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Matrix croppingTransform = getRectToRect(new RectF(cropRect),"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="TransformUtils.getRectToRect can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" new RectF(0, 0, cropRect.width(), cropRect.height()), 0);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/CameraControllerFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.mainThreadExecutor().execute {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -11,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraSelector.getLensFacing can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (cameraController.cameraSelector.lensFacing == LENS_FACING_BACK) {"
errorLine2=" ~~~~~~~~~~">
@@ -20,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraSelector.getLensFacing can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" if (cameraController.cameraSelector.lensFacing == LENS_FACING_BACK) {"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.directExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" directExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -38,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.directExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" directExecutor()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -47,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" cameraController.setImageAnalysisAnalyzer(mainThreadExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -56,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" mainThreadExecutor()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -65,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to bind use cases.", exception)"
errorLine2=" ~">
@@ -74,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to bind use cases.", exception)"
errorLine2=" ~~~">
@@ -83,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to bind use cases.", exception)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -92,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" Logger.e(TAG, "Failed to bind use cases.", exception)"
errorLine2=" ~~~~~~~~~">
@@ -101,7 +245,16 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
+ message="Camera.isUseCasesCombinationSupportedByFramework can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" camera != null && camera!!.isUseCasesCombinationSupportedByFramework(*useCases)"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/StreamSharingActivity.kt"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.directExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" CameraXExecutors.directExecutor(),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -110,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.canDeviceWriteToMediaStore can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return if (canDeviceWriteToMediaStore()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -119,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoMediaStoreOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" generateVideoMediaStoreOptions(context.contentResolver, fileName)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -128,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoMediaStoreOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" generateVideoMediaStoreOptions(context.contentResolver, fileName)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -137,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoMediaStoreOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" generateVideoMediaStoreOptions(context.contentResolver, fileName)"
errorLine2=" ~~~~~~~~">
@@ -146,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoFileOutputOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" recorder.prepareRecording(context, generateVideoFileOutputOptions(fileName))"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -155,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.generateVideoFileOutputOptions can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" recorder.prepareRecording(context, generateVideoFileOutputOptions(fileName))"
errorLine2=" ~~~~~~~~">
@@ -164,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" writeTextToExternalFile(information, fileName)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -173,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" writeTextToExternalFile(information, fileName)"
errorLine2=" ~~~~~~~~~~~">
@@ -182,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="E2ETestUtil.writeTextToExternalFile can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" writeTextToExternalFile(information, fileName)"
errorLine2=" ~~~~~~~~">
@@ -191,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" VideoRecordEvent.Finalize.ERROR_SOURCE_INACTIVE -> Logger.d("
errorLine2=" ~">
@@ -200,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" TAG,"
errorLine2=" ~~~">
@@ -209,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" "Video saved to: $uri""
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -218,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" else -> Logger.e("
errorLine2=" ~">
@@ -227,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" TAG,"
errorLine2=" ~~~">
@@ -236,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Logger.e can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" "Failed to save video: uri $uri with code (${event.error})""
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -245,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.mainThreadExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" IMAGE_CAPTURE, mainThreadExecutor(), ToneMappingImageProcessor(), {}"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -254,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraEffect.getImageProcessor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return (imageProcessor as ToneMappingImageProcessor).processoed"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -263,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraEffect.getImageProcessor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return (imageProcessor as ToneMappingImageProcessor).processoed"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -272,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val inputImage = request.inputImage as RgbaImageProxy"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -281,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy.createBitmap can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" val bitmap = inputImage.createBitmap()"
errorLine2=" ~~~~~~~~~~~~">
@@ -290,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy.close can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" inputImage.close()"
errorLine2=" ~~~~~">
@@ -299,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" return RgbaImageProxy("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -308,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" newBitmap,"
errorLine2=" ~~~~~~~~~">
@@ -317,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" imageIn.cropRect,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -326,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RgbaImageProxy can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" imageIn.imageInfo.sensorToBufferTransformMatrix,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -335,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ShaderProvider can only be accessed from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" private val TONE_MAPPING_SHADER_PROVIDER = object : ShaderProvider {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -344,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ShaderProvider.createFragmentShader can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" override fun createFragmentShader(sampler: String, fragCoords: String): String {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -353,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" private val glRenderer: OpenGlRenderer = OpenGlRenderer()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -362,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.newHandlerExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" glExecutor = newHandlerExecutor(glHandler)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -371,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CameraXExecutors.newHandlerExecutor can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
errorLine1=" glExecutor = newHandlerExecutor(glHandler)"
errorLine2=" ~~~~~~~~~">
@@ -380,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.init can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.init(DynamicRange.SDR, TONE_MAPPING_SHADER_PROVIDER)"
errorLine2=" ~~~~">
@@ -389,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.init can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.init(DynamicRange.SDR, TONE_MAPPING_SHADER_PROVIDER)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -398,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.init can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.init(DynamicRange.SDR, TONE_MAPPING_SHADER_PROVIDER)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -407,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.getTextureName can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" val surfaceTexture = SurfaceTexture(glRenderer.textureName)"
errorLine2=" ~~~~~~~~~~~">
@@ -416,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.getTextureName can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" val surfaceTexture = SurfaceTexture(glRenderer.textureName)"
errorLine2=" ~~~~~~~~~~~">
@@ -425,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.unregisterOutputSurface can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.unregisterOutputSurface(removedSurface)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -434,7 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.unregisterOutputSurface can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.unregisterOutputSurface(removedSurface)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -443,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.registerOutputSurface can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.registerOutputSurface(surface)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -452,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.registerOutputSurface can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.registerOutputSurface(surface)"
errorLine2=" ~~~~~~~">
@@ -461,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.release can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.release()"
errorLine2=" ~~~~~~~">
@@ -470,16 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.camera.integration-tests`)"
- errorLine1=" checkState(GL_THREAD_NAME == Thread.currentThread().name)"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/view/ToneMappingSurfaceProcessor.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.render can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.render(surfaceTexture.timestamp, surfaceTransform, surface)"
errorLine2=" ~~~~~~">
@@ -488,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.render can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.render(surfaceTexture.timestamp, surfaceTransform, surface)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -497,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OpenGlRenderer.render can only be called from within the same library (androidx.camera:camera-core)"
errorLine1=" glRenderer.render(surfaceTexture.timestamp, surfaceTransform, surface)"
errorLine2=" ~~~~~~~">
@@ -506,6 +650,60 @@
</issue>
<issue
+ id="RestrictedApiAndroidX"
+ message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.d(TAG, "ImageAnalysis result not ready.");"
+ errorLine2=" ~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/TransformFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.d(TAG, "ImageAnalysis result not ready.");"
+ errorLine2=" ~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/TransformFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.d(TAG, "ImageAnalysis result not ready.");"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/TransformFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.d(TAG, "ImageAnalysis result not ready.");"
+ errorLine2=" ~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/TransformFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.d(TAG, "ImageAnalysis result not ready.");"
+ errorLine2=" ~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/TransformFragment.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Logger.d can only be called from within the same library group (referenced groupId=`androidx.camera` from groupId=`androidx.camera.integration-tests`)"
+ errorLine1=" Logger.d(TAG, "ImageAnalysis result not ready.");"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/camera/integration/view/TransformFragment.java"/>
+ </issue>
+
+ <issue
id="PermissionImpliesUnsupportedChromeOsHardware"
message="Permission exists without corresponding hardware `<uses-feature android:name="android.hardware.camera" required="false">` tag"
errorLine1=" <uses-permission android:name="android.permission.CAMERA" />"
diff --git a/car/app/app-automotive/lint-baseline.xml b/car/app/app-automotive/lint-baseline.xml
index 5859620..949fe8f 100644
--- a/car/app/app-automotive/lint-baseline.xml
+++ b/car/app/app-automotive/lint-baseline.xml
@@ -2,24 +2,6 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.car.app`)"
- errorLine1=" Preconditions.checkState((carPropertyResponse.getStatus() == CarValue.STATUS_SUCCESS"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/car/app/hardware/common/CarPropertyResponse.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.car.app`)"
- errorLine1=" "Invalid status and value combo: " + carPropertyResponse);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/car/app/hardware/common/CarPropertyResponse.java"/>
- </issue>
-
- <issue
id="UnsafeOptInUsageError"
message="This declaration is opt-in and its usage should be marked with `@androidx.car.app.annotations.ExperimentalCarApi` or `@OptIn(markerClass = androidx.car.app.annotations.ExperimentalCarApi.class)`"
errorLine1=" Collections.singleton(CarZone.CAR_ZONE_GLOBAL)))"
diff --git a/car/app/app/lint-baseline.xml b/car/app/app/lint-baseline.xml
index 060b93f..3cc8390d 100644
--- a/car/app/app/lint-baseline.xml
+++ b/car/app/app/lint-baseline.xml
@@ -380,24 +380,6 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.car.app`)"
- errorLine1=" checkState(!mMessages.isEmpty(), "Message list cannot be empty.");"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/car/app/messaging/model/ConversationItem.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.car.app`)"
- errorLine1=" checkState(!mMessages.isEmpty(), "Message list cannot be empty.");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/car/app/messaging/model/ConversationItem.java"/>
- </issue>
-
- <issue
id="UnsafeOptInUsageError"
message="This declaration is opt-in and its usage should be marked with `@androidx.car.app.annotations.ExperimentalCarApi` or `@OptIn(markerClass = androidx.car.app.annotations.ExperimentalCarApi.class)`"
errorLine1=" } else if (rowObj instanceof ConversationItem) {"
diff --git a/compose/animation/animation-core/lint-baseline.xml b/compose/animation/animation-core/lint-baseline.xml
index 8e853fd..6302da6 100644
--- a/compose/animation/animation-core/lint-baseline.xml
+++ b/compose/animation/animation-core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
<issue
id="BanSuppressTag"
@@ -83,87 +83,6 @@
</issue>
<issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _animations.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _transitions.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _animations.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _transitions.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _transitions.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _animations.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _animations.forEach { it.resetAnimation() }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return animations.fold("Transition animation values: ") { acc, anim -> "$acc$anim, " }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" _animations.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt"/>
- </issue>
-
- <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method animateFloatAsState has parameter 'finishedListener' with type Function1<? super Float, Unit>."
errorLine1=" finishedListener: ((Float) -> Unit)? = null"
diff --git a/compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt b/compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt
index cae02e2..963abe7 100644
--- a/compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt
+++ b/compose/animation/animation-core/src/commonMain/kotlin/androidx/compose/animation/core/Transition.kt
@@ -40,6 +40,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.IntOffset
import androidx.compose.ui.unit.IntSize
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastForEach
import kotlin.math.max
import kotlin.math.roundToLong
@@ -460,10 +462,10 @@
*/
val totalDurationNanos: Long by derivedStateOf {
var maxDurationNanos = 0L
- _animations.forEach {
+ _animations.fastForEach {
maxDurationNanos = max(maxDurationNanos, it.durationNanos)
}
- _transitions.forEach {
+ _transitions.fastForEach {
maxDurationNanos = max(
maxDurationNanos,
it.totalDurationNanos
@@ -483,7 +485,7 @@
playTimeNanos = frameTimeNanos - startTimeNanos
var allFinished = true
// Pulse new playtime
- _animations.forEach {
+ _animations.fastForEach {
if (!it.isFinished) {
it.onPlayTimeChanged(playTimeNanos, durationScale)
}
@@ -492,7 +494,7 @@
allFinished = false
}
}
- _transitions.forEach {
+ _transitions.fastForEach {
if (it.targetState != it.currentState) {
it.onFrame(playTimeNanos, durationScale)
}
@@ -563,7 +565,7 @@
segment = SegmentImpl(initialState, targetState)
}
- _transitions.forEach {
+ _transitions.fastForEach {
@Suppress("UNCHECKED_CAST")
(it as Transition<Any>).let {
if (it.isSeeking) {
@@ -576,7 +578,7 @@
}
}
- _animations.forEach {
+ _animations.fastForEach {
it.seekTo(playTimeNanos)
}
lastSeekedTimeNanos = playTimeNanos
@@ -621,7 +623,7 @@
// If target state is changed, reset all the animations to be re-created in the
// next frame w/ their new target value. Child animations target values are updated in
// the side effect that may not have happened when this function in invoked.
- _animations.forEach { it.resetAnimation() }
+ _animations.fastForEach { it.resetAnimation() }
}
}
}
@@ -655,7 +657,7 @@
}
override fun toString(): String {
- return animations.fold("Transition animation values: ") { acc, anim -> "$acc$anim, " }
+ return animations.fastFold("Transition animation values: ") { acc, anim -> "$acc$anim, " }
}
@OptIn(InternalAnimationApi::class)
@@ -664,7 +666,7 @@
if (isSeeking) {
// Update total duration
var maxDurationNanos = 0L
- _animations.forEach {
+ _animations.fastForEach {
maxDurationNanos = max(maxDurationNanos, it.durationNanos)
it.seekTo(lastSeekedTimeNanos)
}
diff --git a/compose/animation/animation-graphics/lint-baseline.xml b/compose/animation/animation-graphics/lint-baseline.xml
index 6f66ed4..59092e0 100644
--- a/compose/animation/animation-graphics/lint-baseline.xml
+++ b/compose/animation/animation-graphics/lint-baseline.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="PathParser.createPathFromPathData can only be called from within the same library (androidx.core:core)"
errorLine1=" PathInterpolator(PathParser.createPathFromPathData(pathData)).toEasing()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -10,58 +10,4 @@
file="src/androidMain/kotlin/androidx/compose/animation/graphics/vector/compat/XmlAnimatorParser.android.kt"/>
</issue>
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (target in animatedImageVector.targets) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/animation/graphics/res/AnimatedVectorPainterResources.android.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val spec = combined(timestamps.map { timestamp ->"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (keyframe in animatorKeyframes) {"
- errorLine2=" ~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (keyframe in animatorKeyframes) {"
- errorLine2=" ~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return start.zip(stop) { a, b -> lerp(a, b, fraction) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" specs.map { (timeMillis, spec) ->"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/graphics/vector/AnimatorAnimationSpecs.kt"/>
- </issue>
-
</issues>
diff --git a/compose/animation/animation-graphics/src/androidMain/kotlin/androidx/compose/animation/graphics/res/AnimatedVectorPainterResources.android.kt b/compose/animation/animation-graphics/src/androidMain/kotlin/androidx/compose/animation/graphics/res/AnimatedVectorPainterResources.android.kt
index 58544fd..0cd641d 100644
--- a/compose/animation/animation-graphics/src/androidMain/kotlin/androidx/compose/animation/graphics/res/AnimatedVectorPainterResources.android.kt
+++ b/compose/animation/animation-graphics/src/androidMain/kotlin/androidx/compose/animation/graphics/res/AnimatedVectorPainterResources.android.kt
@@ -28,6 +28,7 @@
import androidx.compose.ui.graphics.vector.VectorConfig
import androidx.compose.ui.graphics.vector.VectorGroup
import androidx.compose.ui.graphics.vector.rememberVectorPainter
+import androidx.compose.ui.util.fastForEach
/**
* Creates and remembers a [Painter] to render an [AnimatedImageVector]. It renders the image
@@ -69,7 +70,7 @@
) { _, _ ->
val transition = updateTransition(atEnd, label = animatedImageVector.imageVector.name)
val map = mutableMapOf<String, StateVectorConfig>()
- for (target in animatedImageVector.targets) {
+ animatedImageVector.targets.fastForEach { target ->
val config = target.animator.createVectorConfig(
transition,
animatedImageVector.totalDuration
diff --git a/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt b/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt
index 37fa401..d4ffb83 100644
--- a/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt
+++ b/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/Animator.kt
@@ -37,8 +37,10 @@
import androidx.compose.ui.graphics.vector.VectorConfig
import androidx.compose.ui.graphics.vector.VectorProperty
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.fastMaxBy
import androidx.compose.ui.util.fastSumBy
+import androidx.compose.ui.util.fastZip
import androidx.compose.ui.util.lerp
internal const val RepeatCountInfinite = -1
@@ -146,7 +148,7 @@
): @Composable Transition.Segment<Boolean>.() -> FiniteAnimationSpec<T> {
return {
@Suppress("UNCHECKED_CAST")
- val spec = combined(timestamps.map { timestamp ->
+ val spec = combined(timestamps.fastMap { timestamp ->
timestamp.timeMillis to timestamp.asAnimationSpec()
})
if (targetState) spec else spec.reversed(overallDuration)
@@ -381,7 +383,7 @@
fun asKeyframeSpec(duration: Int): KeyframesSpec<Float> {
return keyframes {
durationMillis = duration
- for (keyframe in animatorKeyframes) {
+ animatorKeyframes.fastForEach { keyframe ->
keyframe.value at (duration * keyframe.fraction).toInt() with keyframe.interpolator
}
}
@@ -401,7 +403,7 @@
fun asKeyframeSpec(duration: Int): KeyframesSpec<Color> {
return keyframes {
durationMillis = duration
- for (keyframe in animatorKeyframes) {
+ animatorKeyframes.fastForEach { keyframe ->
keyframe.value at (duration * keyframe.fraction).toInt() with keyframe.interpolator
}
}
@@ -507,7 +509,7 @@
}
private fun lerp(start: List<PathNode>, stop: List<PathNode>, fraction: Float): List<PathNode> {
- return start.zip(stop) { a, b -> lerp(a, b, fraction) }
+ return start.fastZip(stop) { a, b -> lerp(a, b, fraction) }
}
private const val DifferentStartAndStopPathNodes = "start and stop path nodes have different types"
diff --git a/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/AnimatorAnimationSpecs.kt b/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/AnimatorAnimationSpecs.kt
index 3709bbc..7d9ef65 100644
--- a/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/AnimatorAnimationSpecs.kt
+++ b/compose/animation/animation-graphics/src/commonMain/kotlin/androidx/compose/animation/graphics/vector/AnimatorAnimationSpecs.kt
@@ -24,6 +24,7 @@
import androidx.compose.animation.core.FiniteAnimationSpec
import androidx.compose.animation.core.TwoWayConverter
import androidx.compose.animation.core.VectorizedFiniteAnimationSpec
+import androidx.compose.ui.util.fastMap
private const val MillisToNanos = 1_000_000L
@@ -101,7 +102,7 @@
converter: TwoWayConverter<T, V>
): VectorizedFiniteAnimationSpec<V> {
return VectorizedCombinedSpec(
- specs.map { (timeMillis, spec) ->
+ specs.fastMap { (timeMillis, spec) ->
timeMillis * MillisToNanos to spec.vectorize(converter)
}
)
diff --git a/compose/animation/animation/lint-baseline.xml b/compose/animation/animation/lint-baseline.xml
index d6cc720..76c606a 100644
--- a/compose/animation/animation/lint-baseline.xml
+++ b/compose/animation/animation/lint-baseline.xml
@@ -1,95 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" currentlyVisible.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.minIntrinsicWidth(height) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.minIntrinsicHeight(width) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.maxIntrinsicWidth(height) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.maxIntrinsicHeight(width) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeables = measurables.map { it.measure(constraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.minIntrinsicWidth(height) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.minIntrinsicHeight(width) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.maxIntrinsicWidth(height) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = measurables.asSequence().map { it.maxIntrinsicHeight(width) }.maxOrNull() ?: 0"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt"/>
- </issue>
+<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
<issue
id="PrimitiveInLambda"
diff --git a/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt b/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt
index 94f9f66..b82c044 100644
--- a/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt
+++ b/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedContent.kt
@@ -79,6 +79,7 @@
import androidx.compose.ui.unit.toSize
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMaxOfOrNull
import kotlin.math.roundToInt
import kotlinx.coroutines.CoroutineScope
@@ -849,7 +850,7 @@
}
.then(sizeModifier),
content = {
- currentlyVisible.forEach {
+ currentlyVisible.fastForEach {
key(contentKey(it)) { contentMap[it]?.invoke() }
}
},
@@ -1044,22 +1045,22 @@
override fun IntrinsicMeasureScope.minIntrinsicWidth(
measurables: List<IntrinsicMeasurable>,
height: Int
- ) = measurables.asSequence().map { it.minIntrinsicWidth(height) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.minIntrinsicWidth(height) } ?: 0
override fun IntrinsicMeasureScope.minIntrinsicHeight(
measurables: List<IntrinsicMeasurable>,
width: Int
- ) = measurables.asSequence().map { it.minIntrinsicHeight(width) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.minIntrinsicHeight(width) } ?: 0
override fun IntrinsicMeasureScope.maxIntrinsicWidth(
measurables: List<IntrinsicMeasurable>,
height: Int
- ) = measurables.asSequence().map { it.maxIntrinsicWidth(height) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.maxIntrinsicWidth(height) } ?: 0
override fun IntrinsicMeasureScope.maxIntrinsicHeight(
measurables: List<IntrinsicMeasurable>,
width: Int
- ) = measurables.asSequence().map { it.maxIntrinsicHeight(width) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.maxIntrinsicHeight(width) } ?: 0
}
private class SizeModifierInLookaheadNode<S>(
diff --git a/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt b/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt
index 367c85b..c6459b7 100644
--- a/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt
+++ b/compose/animation/animation/src/commonMain/kotlin/androidx/compose/animation/AnimatedVisibility.kt
@@ -54,7 +54,9 @@
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.fastMaxBy
+import androidx.compose.ui.util.fastMaxOfOrNull
/**
* [AnimatedVisibility] composable animates the appearance and disappearance of its content, as
@@ -846,7 +848,7 @@
measurables: List<Measurable>,
constraints: Constraints
): MeasureResult {
- val placeables = measurables.map { it.measure(constraints) }
+ val placeables = measurables.fastMap { it.measure(constraints) }
val maxWidth: Int = placeables.fastMaxBy { it.width }?.width ?: 0
val maxHeight = placeables.fastMaxBy { it.height }?.height ?: 0
// Position the children.
@@ -861,22 +863,22 @@
override fun IntrinsicMeasureScope.minIntrinsicWidth(
measurables: List<IntrinsicMeasurable>,
height: Int
- ) = measurables.asSequence().map { it.minIntrinsicWidth(height) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.minIntrinsicWidth(height) } ?: 0
override fun IntrinsicMeasureScope.minIntrinsicHeight(
measurables: List<IntrinsicMeasurable>,
width: Int
- ) = measurables.asSequence().map { it.minIntrinsicHeight(width) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.minIntrinsicHeight(width) } ?: 0
override fun IntrinsicMeasureScope.maxIntrinsicWidth(
measurables: List<IntrinsicMeasurable>,
height: Int
- ) = measurables.asSequence().map { it.maxIntrinsicWidth(height) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.maxIntrinsicWidth(height) } ?: 0
override fun IntrinsicMeasureScope.maxIntrinsicHeight(
measurables: List<IntrinsicMeasurable>,
width: Int
- ) = measurables.asSequence().map { it.maxIntrinsicHeight(width) }.maxOrNull() ?: 0
+ ) = measurables.fastMaxOfOrNull { it.maxIntrinsicHeight(width) } ?: 0
}
// This converts Boolean visible to EnterExitState
diff --git a/compose/foundation/foundation/lint-baseline.xml b/compose/foundation/foundation/lint-baseline.xml
index 4fa6762..21f098b 100644
--- a/compose/foundation/foundation/lint-baseline.xml
+++ b/compose/foundation/foundation/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="NewApi"
@@ -1470,6 +1470,42 @@
<issue
id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method HorizontalPager has parameter 'key' with type Function1<? super Integer, ? extends Object>."
+ errorLine1=" key: ((index: Int) -> Any)? = null,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method HorizontalPager has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>."
+ errorLine1=" pageContent: @Composable PagerScope.(page: Int) -> Unit"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalPager has parameter 'key' with type Function1<? super Integer, ? extends Object>."
+ errorLine1=" key: ((index: Int) -> Any)? = null,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalPager has parameter 'pageContent' with type Function2<? super PagerScope, ? super Integer, Unit>."
+ errorLine1=" pageContent: @Composable PagerScope.(page: Int) -> Unit"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/foundation/pager/Pager.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method VerticalPager has parameter 'key' with type Function1<? super Integer, ? extends Object>."
errorLine1=" key: ((index: Int) -> Any)? = null,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
diff --git a/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/AndroidOverscroll.kt b/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/AndroidOverscroll.kt
index 2da447e..7c67818 100644
--- a/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/AndroidOverscroll.kt
+++ b/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/AndroidOverscroll.kt
@@ -55,6 +55,7 @@
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.toSize
import androidx.compose.ui.util.fastAny
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastFirstOrNull
import androidx.compose.ui.util.fastForEach
import kotlin.math.roundToInt
diff --git a/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/gestures/AndroidScrollable.android.kt b/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/gestures/AndroidScrollable.android.kt
index c047b0d..938d5f0 100644
--- a/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/gestures/AndroidScrollable.android.kt
+++ b/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/gestures/AndroidScrollable.android.kt
@@ -16,13 +16,13 @@
package androidx.compose.foundation.gestures
-import androidx.compose.foundation.fastFold
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.input.pointer.PointerEvent
import androidx.compose.ui.node.CompositionLocalConsumerModifierNode
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
internal actual fun CompositionLocalConsumerModifierNode.platformScrollConfig(): ScrollConfig =
AndroidConfig
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/TempListUtils.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/TempListUtils.kt
deleted file mode 100644
index 822e97a..0000000
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/TempListUtils.kt
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Copyright 2021 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 androidx.compose.foundation
-
-import androidx.compose.ui.util.fastForEach
-import androidx.compose.ui.util.fastForEachIndexed
-import kotlin.contracts.ExperimentalContracts
-import kotlin.contracts.contract
-
-// TODO: remove these when we can add new APIs to ui-util outside of beta cycle
-
-/**
- * Returns a list containing only elements matching the given [predicate].
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T> List<T>.fastFilter(predicate: (T) -> Boolean): List<T> {
- contract { callsInPlace(predicate) }
- val target = ArrayList<T>(size)
- fastForEach {
- if (predicate(it)) target += (it)
- }
- return target
-}
-
-/**
- * Accumulates value starting with [initial] value and applying [operation] from left to right
- * to current accumulator value and each element.
- *
- * Returns the specified [initial] value if the collection is empty.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- *
- * @param [operation] function that takes current accumulator value and an element, and calculates the next accumulator value.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R> List<T>.fastFold(initial: R, operation: (acc: R, T) -> R): R {
- contract { callsInPlace(operation) }
- var accumulator = initial
- fastForEach { e ->
- accumulator = operation(accumulator, e)
- }
- return accumulator
-}
-
-/**
- * Returns a list containing the results of applying the given [transform] function
- * to each element in the original collection.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@OptIn(ExperimentalContracts::class)
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-internal inline fun <T, R> List<T>.fastMapIndexedNotNull(
- transform: (index: Int, T) -> R?
-): List<R> {
- contract { callsInPlace(transform) }
- val target = ArrayList<R>(size)
- fastForEachIndexed { index, e ->
- transform(index, e)?.let { target += it }
- }
- return target
-}
-
-/**
- * Returns the largest value among all values produced by selector function applied to each element
- * in the collection or null if there are no elements.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R : Comparable<R>> List<T>.fastMaxOfOrNull(selector: (T) -> R): R? {
- contract { callsInPlace(selector) }
- if (isEmpty()) return null
- var maxValue = selector(get(0))
- for (i in 1..lastIndex) {
- val v = selector(get(i))
- if (v > maxValue) maxValue = v
- }
- return maxValue
-}
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/LazyGridSnapLayoutInfoProvider.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/LazyGridSnapLayoutInfoProvider.kt
index 995e2b7..236c03f 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/LazyGridSnapLayoutInfoProvider.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/gestures/snapping/LazyGridSnapLayoutInfoProvider.kt
@@ -20,12 +20,12 @@
import androidx.compose.animation.core.calculateTargetValue
import androidx.compose.animation.splineBasedDecay
import androidx.compose.foundation.ExperimentalFoundationApi
-import androidx.compose.foundation.fastFilter
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.lazy.grid.LazyGridItemInfo
import androidx.compose.foundation.lazy.grid.LazyGridLayoutInfo
import androidx.compose.foundation.lazy.grid.LazyGridState
import androidx.compose.ui.unit.Density
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastSumBy
import kotlin.math.absoluteValue
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt
index 6402fc2..0f08e81 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/LazyListMeasure.kt
@@ -17,7 +17,6 @@
package androidx.compose.foundation.lazy
import androidx.compose.foundation.ExperimentalFoundationApi
-import androidx.compose.foundation.fastFilter
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.ui.layout.MeasureResult
@@ -28,6 +27,7 @@
import androidx.compose.ui.unit.constrainHeight
import androidx.compose.ui.unit.constrainWidth
import androidx.compose.ui.util.fastAny
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastFirstOrNull
import androidx.compose.ui.util.fastForEach
import kotlin.math.abs
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt
index 07c9edb..997dcd6 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/LazyGridMeasure.kt
@@ -17,7 +17,6 @@
package androidx.compose.foundation.lazy.grid
import androidx.compose.foundation.ExperimentalFoundationApi
-import androidx.compose.foundation.fastFilter
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.ui.layout.MeasureResult
@@ -27,6 +26,7 @@
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.constrainHeight
import androidx.compose.ui.unit.constrainWidth
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastSumBy
import kotlin.math.abs
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt
index 5765b23..cacee1b 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/staggeredgrid/LazyStaggeredGridMeasure.kt
@@ -17,7 +17,6 @@
package androidx.compose.foundation.lazy.staggeredgrid
import androidx.compose.foundation.ExperimentalFoundationApi
-import androidx.compose.foundation.fastMaxOfOrNull
import androidx.compose.foundation.lazy.layout.LazyLayoutKeyIndexMap
import androidx.compose.foundation.lazy.layout.LazyLayoutMeasureScope
import androidx.compose.foundation.lazy.staggeredgrid.LazyStaggeredGridLaneInfo.Companion.FullSpan
@@ -31,6 +30,7 @@
import androidx.compose.ui.unit.constrainWidth
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMaxOfOrNull
import androidx.compose.ui.util.packInts
import androidx.compose.ui.util.unpackInt1
import androidx.compose.ui.util.unpackInt2
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt
index 4a89200..4838339 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PagerMeasure.kt
@@ -17,7 +17,6 @@
package androidx.compose.foundation.pager
import androidx.compose.foundation.ExperimentalFoundationApi
-import androidx.compose.foundation.fastFilter
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.layout.Arrangement.Absolute.spacedBy
import androidx.compose.foundation.lazy.layout.LazyLayoutMeasureScope
@@ -30,6 +29,7 @@
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.constrainHeight
import androidx.compose.ui.unit.constrainWidth
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastForEach
import kotlin.math.abs
import kotlin.math.roundToInt
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/BasicText.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/BasicText.kt
index 45409ef..95bc432 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/BasicText.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/BasicText.kt
@@ -16,7 +16,6 @@
package androidx.compose.foundation.text
-import androidx.compose.foundation.fastMapIndexedNotNull
import androidx.compose.foundation.text.modifiers.SelectableTextAnnotatedStringElement
import androidx.compose.foundation.text.modifiers.SelectionController
import androidx.compose.foundation.text.modifiers.TextAnnotatedStringElement
@@ -50,6 +49,7 @@
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.IntOffset
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMapIndexedNotNull
import kotlin.math.floor
import kotlin.math.roundToInt
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt
index 62e6c4b..2e1e17d 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SelectionManager.kt
@@ -16,7 +16,6 @@
package androidx.compose.foundation.text.selection
-import androidx.compose.foundation.fastFold
import androidx.compose.foundation.focusable
import androidx.compose.foundation.gestures.awaitEachGesture
import androidx.compose.foundation.gestures.waitForUpOrCancellation
@@ -49,6 +48,7 @@
import androidx.compose.ui.platform.TextToolbarStatus
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.unit.IntSize
+import androidx.compose.ui.util.fastFold
import androidx.compose.ui.util.fastForEach
import kotlin.math.absoluteValue
import kotlin.math.max
diff --git a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SimpleLayout.kt b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SimpleLayout.kt
index 5d19876..ba1865c 100644
--- a/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SimpleLayout.kt
+++ b/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/text/selection/SimpleLayout.kt
@@ -16,10 +16,10 @@
package androidx.compose.foundation.text.selection
-import androidx.compose.foundation.fastFold
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.Layout
+import androidx.compose.ui.util.fastFold
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastMap
import kotlin.math.max
diff --git a/compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/gestures/DesktopScrollable.desktop.kt b/compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/gestures/DesktopScrollable.desktop.kt
index ba28512..e57ca9b 100644
--- a/compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/gestures/DesktopScrollable.desktop.kt
+++ b/compose/foundation/foundation/src/desktopMain/kotlin/androidx/compose/foundation/gestures/DesktopScrollable.desktop.kt
@@ -17,7 +17,6 @@
package androidx.compose.foundation.gestures
import androidx.compose.foundation.DesktopPlatform
-import androidx.compose.foundation.fastFold
import androidx.compose.runtime.compositionLocalOf
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.input.pointer.PointerEvent
@@ -26,6 +25,7 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
import java.awt.event.MouseWheelEvent
import kotlin.math.sqrt
diff --git a/compose/foundation/foundation/src/desktopTest/kotlin/androidx/compose/foundation/ScrollbarTest.kt b/compose/foundation/foundation/src/desktopTest/kotlin/androidx/compose/foundation/ScrollbarTest.kt
index 0d918c1..8a0761c 100644
--- a/compose/foundation/foundation/src/desktopTest/kotlin/androidx/compose/foundation/ScrollbarTest.kt
+++ b/compose/foundation/foundation/src/desktopTest/kotlin/androidx/compose/foundation/ScrollbarTest.kt
@@ -53,6 +53,7 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
diff --git a/compose/material/material/lint-baseline.xml b/compose/material/material/lint-baseline.xml
index 564dcc8..c8e0bc4 100644
--- a/compose/material/material/lint-baseline.xml
+++ b/compose/material/material/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="BanThreadSleep"
@@ -137,654 +137,6 @@
</issue>
<issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val titlePlaceable = measurables.firstOrNull { it.layoutId == "title" }?.measure("
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val textPlaceable = measurables.firstOrNull { it.layoutId == "text" }?.measure("
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sequences.add(0, currentSequence.toList())"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (measurable in measurables) {"
- errorLine2=" ~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val badgePlaceable = measurables.first { it.layoutId == "badge" }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Badge.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val anchorPlaceable = measurables.first { it.layoutId == "anchor" }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Badge.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val iconPlaceable = measurables.first { it.layoutId == "icon" }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "label" }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.map { it.measure(looseConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { it.measure(looseConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.map { it.measure(bodyConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" subcompose(BottomSheetScaffoldLayoutSlot.Fab, fab).map { it.measure(looseConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { it.measure(looseConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeables = measurables.map { it.measure(childConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/ListItem.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val containerWidth = placeables.fold(0) { maxWidth, placeable ->"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/ListItem.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val iconPlaceable = measurables.first { it.layoutId == "icon" }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "label" }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingPlaceable = measurables.find {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingPlaceable = measurables.find { it.layoutId == TrailingId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == TextFieldId }.measure(textConstraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == PlaceholderId }?.measure(placeholderConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val borderPlaceable = measurables.first { it.layoutId == BorderId }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelWidth = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelHeight = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val snackbarPlaceables = subcompose(ScaffoldLayoutContent.Snackbar, snackbar).map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tickFractions.groupBy { it > positionFractionEnd || it < positionFractionStart }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" list.map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .minByOrNull { abs(lerp(minPx, maxPx, it) - current) }"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val buttonPlaceable = measurables.first { it.layoutId == actionTag }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Snackbar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val textPlaceable = measurables.first { it.layoutId == textTag }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Snackbar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val keys = state.items.map { it.key }.toMutableList()"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" keys.filterNotNull().mapTo(state.items) { key ->"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" keys.filterNotNull().mapTo(state.items) { key ->"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val animationDelay = if (isVisible && keys.filterNotNull().size != 1) delay else 0"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val b = anchors.filter { it >= offset - 0.001 }.minOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "text" }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Tab.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "icon" }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/Tab.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val tabPlaceables = tabMeasurables.map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val tabRowHeight = tabPlaceables.maxByOrNull { it.height }?.height ?: 0"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabPlaceables.forEachIndexed { index, placeable ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" subcompose(TabSlots.Divider, divider).forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { it.measure(tabConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" subcompose(TabSlots.Divider, divider).forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == LeadingId }?.measure(looseConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingPlaceable = measurables.find { it.layoutId == TrailingId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .first { it.layoutId == TextFieldId }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .find { it.layoutId == PlaceholderId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelWidth = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelHeight = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material/TextField.kt"/>
- </issue>
-
- <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AnchoredDraggableState has parameter 'positionalThreshold' with type Function1<? super Float, Float>."
errorLine1=" internal val positionalThreshold: (totalDistance: Float) -> Float,"
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt
index a469837..e131384 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/AlertDialog.kt
@@ -37,6 +37,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
+import androidx.compose.ui.util.fastFirstOrNull
+import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastForEachIndexed
import kotlin.math.max
@@ -111,10 +113,10 @@
) { measurables, constraints ->
// Measure with loose constraints for height as we don't want the text to take up more
// space than it needs
- val titlePlaceable = measurables.firstOrNull { it.layoutId == "title" }?.measure(
+ val titlePlaceable = measurables.fastFirstOrNull { it.layoutId == "title" }?.measure(
constraints.copy(minHeight = 0)
)
- val textPlaceable = measurables.firstOrNull { it.layoutId == "text" }?.measure(
+ val textPlaceable = measurables.fastFirstOrNull { it.layoutId == "text" }?.measure(
constraints.copy(minHeight = 0)
)
@@ -215,6 +217,7 @@
crossAxisSpace += crossAxisSpacing.roundToPx()
}
// Ensures that confirming actions appear above dismissive actions.
+ @Suppress("ListIterator")
sequences.add(0, currentSequence.toList())
crossAxisSizes += currentCrossAxisSize
crossAxisPositions += crossAxisSpace
@@ -227,7 +230,7 @@
currentCrossAxisSize = 0
}
- for (measurable in measurables) {
+ measurables.fastForEach { measurable ->
// Ask the child for its preferred size.
val placeable = measurable.measure(childConstraints)
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Badge.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Badge.kt
index 2e753d5..a8eb298 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Badge.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Badge.kt
@@ -37,6 +37,7 @@
import androidx.compose.ui.layout.layoutId
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
+import androidx.compose.ui.util.fastFirst
/**
* A BadgeBox is used to decorate [content] with a [badge] that can contain dynamic information,
@@ -76,13 +77,13 @@
modifier = modifier
) { measurables, constraints ->
- val badgePlaceable = measurables.first { it.layoutId == "badge" }.measure(
+ val badgePlaceable = measurables.fastFirst { it.layoutId == "badge" }.measure(
// Measure with loose constraints for height as we don't want the text to take up more
// space than it needs.
constraints.copy(minHeight = 0)
)
- val anchorPlaceable = measurables.first { it.layoutId == "anchor" }.measure(constraints)
+ val anchorPlaceable = measurables.fastFirst { it.layoutId == "anchor" }.measure(constraints)
val firstBaseline = anchorPlaceable[FirstBaseline]
val lastBaseline = anchorPlaceable[LastBaseline]
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt
index fb53a4d..c7cf7ba 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomNavigation.kt
@@ -57,6 +57,7 @@
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.max
import kotlin.math.roundToInt
@@ -329,10 +330,10 @@
}
}
) { measurables, constraints ->
- val iconPlaceable = measurables.first { it.layoutId == "icon" }.measure(constraints)
+ val iconPlaceable = measurables.fastFirst { it.layoutId == "icon" }.measure(constraints)
val labelPlaceable = label?.let {
- measurables.first { it.layoutId == "label" }.measure(
+ measurables.fastFirst { it.layoutId == "label" }.measure(
// Measure with loose constraints for height as we don't want the label to take up more
// space than it needs
constraints.copy(minHeight = 0)
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
index c579b53..c3d1131 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/BottomSheetScaffold.kt
@@ -52,6 +52,7 @@
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.dp
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.fastMaxBy
import kotlin.math.roundToInt
import kotlinx.coroutines.CancellationException
@@ -608,27 +609,29 @@
val sheetPlaceables = subcompose(BottomSheetScaffoldLayoutSlot.Sheet) {
bottomSheet(layoutHeight)
- }.map { it.measure(looseConstraints) }
+ }.fastMap { it.measure(looseConstraints) }
val topBarPlaceables = topBar?.let {
subcompose(BottomSheetScaffoldLayoutSlot.TopBar, topBar)
- .map { it.measure(looseConstraints) }
+ .fastMap { it.measure(looseConstraints) }
}
val topBarHeight = topBarPlaceables?.fastMaxBy { it.height }?.height ?: 0
val bodyConstraints = looseConstraints.copy(maxHeight = layoutHeight - topBarHeight)
val bodyPlaceables = subcompose(BottomSheetScaffoldLayoutSlot.Body) {
body(PaddingValues(bottom = sheetPeekHeight))
- }.map { it.measure(bodyConstraints) }
+ }.fastMap { it.measure(bodyConstraints) }
val fabPlaceable = floatingActionButton?.let { fab ->
- subcompose(BottomSheetScaffoldLayoutSlot.Fab, fab).map { it.measure(looseConstraints) }
+ subcompose(BottomSheetScaffoldLayoutSlot.Fab, fab).fastMap {
+ it.measure(looseConstraints)
+ }
}
val fabWidth = fabPlaceable?.fastMaxBy { it.width }?.width ?: 0
val fabHeight = fabPlaceable?.fastMaxBy { it.height }?.height ?: 0
val snackbarPlaceables = subcompose(BottomSheetScaffoldLayoutSlot.Snackbar, snackbarHost)
- .map { it.measure(looseConstraints) }
+ .fastMap { it.measure(looseConstraints) }
val snackbarWidth = snackbarPlaceables.fastMaxBy { it.width }?.width ?: 0
val snackbarHeight = snackbarPlaceables.fastMaxBy { it.height }?.height ?: 0
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/ListItem.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/ListItem.kt
index 4d8e6aa..2a24638 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/ListItem.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/ListItem.kt
@@ -37,7 +37,9 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
import kotlin.math.max
/**
@@ -353,9 +355,9 @@
) {
Layout(content, modifier) { measurables, constraints ->
val childConstraints = constraints.copy(minHeight = 0, maxHeight = Constraints.Infinity)
- val placeables = measurables.map { it.measure(childConstraints) }
+ val placeables = measurables.fastMap { it.measure(childConstraints) }
- val containerWidth = placeables.fold(0) { maxWidth, placeable ->
+ val containerWidth = placeables.fastFold(0) { maxWidth, placeable ->
max(maxWidth, placeable.width)
}
val y = Array(placeables.size) { 0 }
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt
index 49943de..bf876d0 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/NavigationRail.kt
@@ -58,6 +58,7 @@
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.max
import kotlin.math.roundToInt
@@ -339,10 +340,10 @@
}
}
) { measurables, constraints ->
- val iconPlaceable = measurables.first { it.layoutId == "icon" }.measure(constraints)
+ val iconPlaceable = measurables.fastFirst { it.layoutId == "icon" }.measure(constraints)
val labelPlaceable = label?.let {
- measurables.first { it.layoutId == "label" }.measure(
+ measurables.fastFirst { it.layoutId == "label" }.measure(
// Measure with loose constraints for height as we don't want the label to take up more
// space than it needs
constraints.copy(minHeight = 0)
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
index 51876ef..fb7fb64 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/OutlinedTextField.kt
@@ -61,6 +61,8 @@
import androidx.compose.ui.unit.coerceAtLeast
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.max
import kotlin.math.roundToInt
@@ -576,7 +578,7 @@
// measure leading icon
val relaxedConstraints = constraints.copy(minWidth = 0, minHeight = 0)
- val leadingPlaceable = measurables.find {
+ val leadingPlaceable = measurables.fastFirstOrNull {
it.layoutId == LeadingId
}?.measure(relaxedConstraints)
occupiedSpaceHorizontally += widthOrZero(
@@ -584,7 +586,7 @@
)
// measure trailing icon
- val trailingPlaceable = measurables.find { it.layoutId == TrailingId }
+ val trailingPlaceable = measurables.fastFirstOrNull { it.layoutId == TrailingId }
?.measure(relaxedConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(
trailingPlaceable
@@ -603,7 +605,7 @@
vertical = -bottomPadding
)
val labelPlaceable =
- measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)
+ measurables.fastFirstOrNull { it.layoutId == LabelId }?.measure(labelConstraints)
labelPlaceable?.let {
onLabelMeasured(Size(it.width.toFloat(), it.height.toFloat()))
}
@@ -620,12 +622,12 @@
vertical = -bottomPadding - topPadding
).copy(minHeight = 0)
val textFieldPlaceable =
- measurables.first { it.layoutId == TextFieldId }.measure(textConstraints)
+ measurables.fastFirst { it.layoutId == TextFieldId }.measure(textConstraints)
// measure placeholder
val placeholderConstraints = textConstraints.copy(minWidth = 0)
- val placeholderPlaceable =
- measurables.find { it.layoutId == PlaceholderId }?.measure(placeholderConstraints)
+ val placeholderPlaceable = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }
+ ?.measure(placeholderConstraints)
val width =
calculateWidth(
@@ -652,7 +654,7 @@
paddingValues = paddingValues,
)
- val borderPlaceable = measurables.first { it.layoutId == BorderId }.measure(
+ val borderPlaceable = measurables.fastFirst { it.layoutId == BorderId }.measure(
Constraints(
minWidth = if (width != Constraints.Infinity) width else 0,
maxWidth = width,
@@ -721,17 +723,17 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
val textFieldWidth =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)
- val labelWidth = measurables.find { it.layoutId == LabelId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, height)
+ val labelWidth = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingWidth = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingWidth = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {
+ val placeholderWidth = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
return calculateWidth(
@@ -753,22 +755,22 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
var remainingWidth = width
- val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingHeight = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingHeight = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val labelHeight = measurables.find { it.layoutId == LabelId }?.let {
+ val labelHeight = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, lerp(remainingWidth, width, animationProgress))
} ?: 0
val textFieldHeight =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)
- val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, remainingWidth)
+ val placeholderHeight = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, remainingWidth)
} ?: 0
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
index f5acb86..106f8ad 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Scaffold.kt
@@ -400,7 +400,7 @@
val topBarHeight = topBarPlaceables.fastMaxBy { it.height }?.height ?: 0
- val snackbarPlaceables = subcompose(ScaffoldLayoutContent.Snackbar, snackbar).map {
+ val snackbarPlaceables = subcompose(ScaffoldLayoutContent.Snackbar, snackbar).fastMap {
// respect only bottom and horizontal for snackbar and fab
val leftInset = contentWindowInsets
.getLeft(this@SubcomposeLayout, layoutDirection)
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Slider.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Slider.kt
index aa3bd62..31e5a89 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Slider.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Slider.kt
@@ -93,6 +93,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.abs
import kotlin.math.floor
@@ -773,10 +775,11 @@
trackStrokeWidth,
StrokeCap.Round
)
+ @Suppress("ListIterator")
tickFractions.groupBy { it > positionFractionEnd || it < positionFractionStart }
.forEach { (outsideFraction, list) ->
drawPoints(
- list.map {
+ list.fastMap {
Offset(lerp(sliderStart, sliderEnd, it).x, center.y)
},
PointMode.Points,
@@ -796,7 +799,7 @@
): Float {
// target is a closest anchor to the `current`, if exists
return tickFractions
- .minByOrNull { abs(lerp(minPx, maxPx, it) - current) }
+ .fastMinByOrNull { abs(lerp(minPx, maxPx, it) - current) }
?.run { lerp(minPx, maxPx, this) }
?: current
}
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Snackbar.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Snackbar.kt
index 04bb5c5..29673c2 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Snackbar.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Snackbar.kt
@@ -35,6 +35,7 @@
import androidx.compose.ui.layout.layoutId
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.max
/**
@@ -305,11 +306,12 @@
end = HorizontalSpacingButtonSide
)
) { measurables, constraints ->
- val buttonPlaceable = measurables.first { it.layoutId == actionTag }.measure(constraints)
+ val buttonPlaceable = measurables.fastFirst { it.layoutId == actionTag }
+ .measure(constraints)
val textMaxWidth =
(constraints.maxWidth - buttonPlaceable.width - TextEndExtraSpacing.roundToPx())
.coerceAtLeast(constraints.minWidth)
- val textPlaceable = measurables.first { it.layoutId == textTag }.measure(
+ val textPlaceable = measurables.fastFirst { it.layoutId == textTag }.measure(
constraints.copy(minHeight = 0, maxWidth = textMaxWidth)
)
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt
index e03647a..f6e201e 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/SnackbarHost.kt
@@ -41,7 +41,10 @@
import androidx.compose.ui.semantics.dismiss
import androidx.compose.ui.semantics.liveRegion
import androidx.compose.ui.semantics.semantics
+import androidx.compose.ui.util.fastFilterNotNull
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMapTo
import kotlin.coroutines.resume
import kotlinx.coroutines.CancellableContinuation
import kotlinx.coroutines.delay
@@ -262,17 +265,21 @@
val state = remember { FadeInFadeOutState<SnackbarData?>() }
if (current != state.current) {
state.current = current
- val keys = state.items.map { it.key }.toMutableList()
+ val keys = state.items.fastMap { it.key }.toMutableList()
if (!keys.contains(current)) {
keys.add(current)
}
state.items.clear()
- keys.filterNotNull().mapTo(state.items) { key ->
+ keys.fastFilterNotNull().fastMapTo(state.items) { key ->
FadeInFadeOutAnimationItem(key) { children ->
val isVisible = key == current
val duration = if (isVisible) SnackbarFadeInMillis else SnackbarFadeOutMillis
val delay = SnackbarFadeOutMillis + SnackbarInBetweenDelayMillis
- val animationDelay = if (isVisible && keys.filterNotNull().size != 1) delay else 0
+ val animationDelay = if (isVisible && keys.fastFilterNotNull().size != 1) {
+ delay
+ } else {
+ 0
+ }
val opacity = animatedOpacity(
animation = tween(
easing = LinearEasing,
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Swipeable.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Swipeable.kt
index fe11c44c..afacdfd 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Swipeable.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Swipeable.kt
@@ -54,6 +54,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastMaxBy
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.PI
import kotlin.math.abs
@@ -747,8 +749,8 @@
anchors: Set<Float>
): List<Float> {
// Find the anchors the target lies between with a little bit of rounding error.
- val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()
- val b = anchors.filter { it >= offset - 0.001 }.minOrNull()
+ val a = anchors.filter { it <= offset + 0.001 }.fastMaxBy { it }
+ val b = anchors.filter { it >= offset - 0.001 }.fastMinByOrNull { it }
return when {
a == null ->
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Tab.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Tab.kt
index db4e223..c41b10f 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Tab.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/Tab.kt
@@ -51,6 +51,7 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.max
/**
@@ -315,7 +316,7 @@
}
) { measurables, constraints ->
val textPlaceable = text?.let {
- measurables.first { it.layoutId == "text" }.measure(
+ measurables.fastFirst { it.layoutId == "text" }.measure(
// Measure with loose constraints for height as we don't want the text to take up more
// space than it needs
constraints.copy(minHeight = 0)
@@ -323,7 +324,7 @@
}
val iconPlaceable = icon?.let {
- measurables.first { it.layoutId == "icon" }.measure(constraints)
+ measurables.fastFirst { it.layoutId == "icon" }.measure(constraints)
}
val tabWidth = max(textPlaceable?.width ?: 0, iconPlaceable?.width ?: 0)
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TabRow.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TabRow.kt
index 78112ad2..8c83d9b 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TabRow.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TabRow.kt
@@ -49,6 +49,10 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMaxBy
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
@@ -153,29 +157,29 @@
val tabMeasurables = subcompose(TabSlots.Tabs, tabs)
val tabCount = tabMeasurables.size
val tabWidth = (tabRowWidth / tabCount)
- val tabPlaceables = tabMeasurables.map {
+ val tabPlaceables = tabMeasurables.fastMap {
it.measure(constraints.copy(minWidth = tabWidth, maxWidth = tabWidth))
}
- val tabRowHeight = tabPlaceables.maxByOrNull { it.height }?.height ?: 0
+ val tabRowHeight = tabPlaceables.fastMaxBy { it.height }?.height ?: 0
val tabPositions = List(tabCount) { index ->
TabPosition(tabWidth.toDp() * index, tabWidth.toDp())
}
layout(tabRowWidth, tabRowHeight) {
- tabPlaceables.forEachIndexed { index, placeable ->
+ tabPlaceables.fastForEachIndexed { index, placeable ->
placeable.placeRelative(index * tabWidth, 0)
}
- subcompose(TabSlots.Divider, divider).forEach {
+ subcompose(TabSlots.Divider, divider).fastForEach {
val placeable = it.measure(constraints.copy(minHeight = 0))
placeable.placeRelative(0, tabRowHeight - placeable.height)
}
subcompose(TabSlots.Indicator) {
indicator(tabPositions)
- }.forEach {
+ }.fastForEach {
it.measure(Constraints.fixed(tabRowWidth, tabRowHeight)).placeRelative(0, 0)
}
}
@@ -263,11 +267,11 @@
val tabConstraints = constraints.copy(minWidth = minTabWidth)
val tabPlaceables = subcompose(TabSlots.Tabs, tabs)
- .map { it.measure(tabConstraints) }
+ .fastMap { it.measure(tabConstraints) }
var layoutWidth = padding * 2
var layoutHeight = 0
- tabPlaceables.forEach {
+ tabPlaceables.fastForEach {
layoutWidth += it.width
layoutHeight = maxOf(layoutHeight, it.height)
}
@@ -277,7 +281,7 @@
// Place the tabs
val tabPositions = mutableListOf<TabPosition>()
var left = padding
- tabPlaceables.forEach {
+ tabPlaceables.fastForEach {
it.placeRelative(left, 0)
tabPositions.add(TabPosition(left = left.toDp(), width = it.width.toDp()))
left += it.width
@@ -285,7 +289,7 @@
// The divider is measured with its own height, and width equal to the total width
// of the tab row, and then placed on top of the tabs.
- subcompose(TabSlots.Divider, divider).forEach {
+ subcompose(TabSlots.Divider, divider).fastForEach {
val placeable = it.measure(
constraints.copy(
minHeight = 0,
@@ -300,7 +304,7 @@
// row, and then placed on top of the divider.
subcompose(TabSlots.Indicator) {
indicator(tabPositions)
- }.forEach {
+ }.fastForEach {
it.measure(Constraints.fixed(layoutWidth, layoutHeight)).placeRelative(0, 0)
}
diff --git a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
index 473442e..a650cde 100644
--- a/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
+++ b/compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextField.kt
@@ -62,6 +62,8 @@
import androidx.compose.ui.unit.coerceAtLeast
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import kotlin.math.max
import kotlin.math.roundToInt
@@ -559,13 +561,13 @@
// measure leading icon
val looseConstraints = constraints.copy(minWidth = 0, minHeight = 0)
val leadingPlaceable =
- measurables.find { it.layoutId == LeadingId }?.measure(looseConstraints)
+ measurables.fastFirstOrNull { it.layoutId == LeadingId }?.measure(looseConstraints)
occupiedSpaceHorizontally += widthOrZero(
leadingPlaceable
)
// measure trailing icon
- val trailingPlaceable = measurables.find { it.layoutId == TrailingId }
+ val trailingPlaceable = measurables.fastFirstOrNull { it.layoutId == TrailingId }
?.measure(looseConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(
trailingPlaceable
@@ -578,7 +580,7 @@
horizontal = -occupiedSpaceHorizontally
)
val labelPlaceable =
- measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)
+ measurables.fastFirstOrNull { it.layoutId == LabelId }?.measure(labelConstraints)
val lastBaseline = labelPlaceable?.get(LastBaseline)?.let {
if (it != AlignmentLine.Unspecified) it else labelPlaceable.height
} ?: 0
@@ -598,13 +600,13 @@
horizontal = -occupiedSpaceHorizontally
)
val textFieldPlaceable = measurables
- .first { it.layoutId == TextFieldId }
+ .fastFirst { it.layoutId == TextFieldId }
.measure(textFieldConstraints)
// measure placeholder
val placeholderConstraints = textFieldConstraints.copy(minWidth = 0)
val placeholderPlaceable = measurables
- .find { it.layoutId == PlaceholderId }
+ .fastFirstOrNull { it.layoutId == PlaceholderId }
?.measure(placeholderConstraints)
val width = calculateWidth(
@@ -703,17 +705,17 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
val textFieldWidth =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)
- val labelWidth = measurables.find { it.layoutId == LabelId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, height)
+ val labelWidth = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingWidth = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingWidth = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {
+ val placeholderWidth = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
return calculateWidth(
@@ -732,22 +734,22 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
var remainingWidth = width
- val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingHeight = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingHeight = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val labelHeight = measurables.find { it.layoutId == LabelId }?.let {
+ val labelHeight = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, remainingWidth)
} ?: 0
val textFieldHeight =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)
- val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, remainingWidth)
+ val placeholderHeight = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, remainingWidth)
} ?: 0
diff --git a/compose/material3/material3-adaptive/lint-baseline.xml b/compose/material3/material3-adaptive/lint-baseline.xml
deleted file mode 100644
index 5820cd6..0000000
--- a/compose/material3/material3-adaptive/lint-baseline.xml
+++ /dev/null
@@ -1,220 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" foldingFeatures.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/material3/adaptive/AndroidPosture.android.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val navigationPlaceables = navigationMeasurables.map { it.measure(constraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.filterNotNull()"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" if (alignments.all { alignments[0] != it }) {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val contentPlaceables = contentMeasurables.map { it.measure("
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" minHeight = layoutHeight - navigationPlaceables.maxOf { it.height },"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" maxHeight = layoutHeight - navigationPlaceables.maxOf { it.height }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" minWidth = layoutWidth - navigationPlaceables.maxOf { it.width },"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" maxWidth = layoutWidth - navigationPlaceables.maxOf { it.width }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" navigationPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" contentPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.placeRelative(navigationPlaceables.maxOf { it.width }, 0)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" navigationPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" layoutWidth - navigationPlaceables.maxOf { it.width },"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" contentPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" navigationPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" contentPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.placeRelative(0, navigationPlaceables.maxOf { it.height })"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" contentPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" navigationPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" layoutHeight - navigationPlaceables.maxOf { it.height })"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" paneMeasurables.forEachIndexed { index, paneMeasurable ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt"/>
- </issue>
-
-</issues>
diff --git a/compose/material3/material3-adaptive/src/androidMain/kotlin/androidx/compose/material3/adaptive/AndroidPosture.android.kt b/compose/material3/material3-adaptive/src/androidMain/kotlin/androidx/compose/material3/adaptive/AndroidPosture.android.kt
index 4a461e2..629d238 100644
--- a/compose/material3/material3-adaptive/src/androidMain/kotlin/androidx/compose/material3/adaptive/AndroidPosture.android.kt
+++ b/compose/material3/material3-adaptive/src/androidMain/kotlin/androidx/compose/material3/adaptive/AndroidPosture.android.kt
@@ -18,6 +18,7 @@
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.graphics.toComposeRect
+import androidx.compose.ui.util.fastForEach
import androidx.window.layout.FoldingFeature
/**
@@ -32,7 +33,7 @@
val separatingHingeBounds = mutableListOf<Rect>()
val occludingHingeBounds = mutableListOf<Rect>()
val allHingeBounds = mutableListOf<Rect>()
- foldingFeatures.forEach {
+ foldingFeatures.fastForEach {
if (it.orientation == FoldingFeature.Orientation.VERTICAL) {
hasVerticalHinge = true
}
diff --git a/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt b/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt
index 71a31c5..0629248 100644
--- a/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt
+++ b/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/NavigationSuiteScaffold.kt
@@ -59,7 +59,11 @@
import androidx.compose.ui.node.ParentDataModifierNode
import androidx.compose.ui.platform.InspectorInfo
import androidx.compose.ui.unit.Density
+import androidx.compose.ui.util.fastAll
+import androidx.compose.ui.util.fastFilterNotNull
+import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMaxOfOrNull
/**
* The Navigation Suite Scaffold wraps the provided content and places the adequate provided
@@ -113,28 +117,28 @@
Layout(
contents = listOf({ NavigationSuiteScaffoldScopeImpl.navigationSuite() }, content)
) { (navigationMeasurables, contentMeasurables), constraints ->
- val navigationPlaceables = navigationMeasurables.map { it.measure(constraints) }
+ val navigationPlaceables = navigationMeasurables.fastMap { it.measure(constraints) }
val alignments = navigationPlaceables.fastMap {
(it.parentData as NavigationSuiteParentData).alignment
- }.filterNotNull()
- if (alignments.all { alignments[0] != it }) {
+ }.fastFilterNotNull()
+ if (alignments.fastAll { alignments[0] != it }) {
throw IllegalArgumentException("There should be only one NavigationSuiteAlignment.")
}
val alignment = alignments.firstOrNull() ?: NavigationSuiteAlignment.StartVertical
val layoutHeight = constraints.maxHeight
val layoutWidth = constraints.maxWidth
- val contentPlaceables = contentMeasurables.map { it.measure(
+ val contentPlaceables = contentMeasurables.fastMap { it.measure(
if (alignment == NavigationSuiteAlignment.TopHorizontal ||
alignment == NavigationSuiteAlignment.BottomHorizontal
) {
constraints.copy(
- minHeight = layoutHeight - navigationPlaceables.maxOf { it.height },
- maxHeight = layoutHeight - navigationPlaceables.maxOf { it.height }
+ minHeight = layoutHeight - navigationPlaceables.fastMaxOfOrNull { it.height }!!,
+ maxHeight = layoutHeight - navigationPlaceables.fastMaxOfOrNull { it.height }!!
)
} else {
constraints.copy(
- minWidth = layoutWidth - navigationPlaceables.maxOf { it.width },
- maxWidth = layoutWidth - navigationPlaceables.maxOf { it.width }
+ minWidth = layoutWidth - navigationPlaceables.fastMaxOfOrNull { it.width }!!,
+ maxWidth = layoutWidth - navigationPlaceables.fastMaxOfOrNull { it.width }!!
)
}
) }
@@ -143,50 +147,50 @@
when (alignment) {
NavigationSuiteAlignment.StartVertical -> {
// Place the navigation component at the start of the screen.
- navigationPlaceables.forEach {
+ navigationPlaceables.fastForEach {
it.placeRelative(0, 0)
}
// Place content to the side of the navigation component.
- contentPlaceables.forEach {
- it.placeRelative(navigationPlaceables.maxOf { it.width }, 0)
+ contentPlaceables.fastForEach {
+ it.placeRelative(navigationPlaceables.fastMaxOfOrNull { it.width }!!, 0)
}
}
NavigationSuiteAlignment.EndVertical -> {
// Place the navigation component at the end of the screen.
- navigationPlaceables.forEach {
+ navigationPlaceables.fastForEach {
it.placeRelative(
- layoutWidth - navigationPlaceables.maxOf { it.width },
+ layoutWidth - navigationPlaceables.fastMaxOfOrNull { it.width }!!,
0
)
}
// Place content at the start of the screen.
- contentPlaceables.forEach {
+ contentPlaceables.fastForEach {
it.placeRelative(0, 0)
}
}
NavigationSuiteAlignment.TopHorizontal -> {
// Place the navigation component at the start of the screen.
- navigationPlaceables.forEach {
+ navigationPlaceables.fastForEach {
it.placeRelative(0, 0)
}
// Place content below the navigation component.
- contentPlaceables.forEach {
- it.placeRelative(0, navigationPlaceables.maxOf { it.height })
+ contentPlaceables.fastForEach {
+ it.placeRelative(0, navigationPlaceables.fastMaxOfOrNull { it.height }!!)
}
}
NavigationSuiteAlignment.BottomHorizontal -> {
// Place content above the navigation component.
- contentPlaceables.forEach {
+ contentPlaceables.fastForEach {
it.placeRelative(0, 0)
}
// Place the navigation component at the bottom of the screen.
- navigationPlaceables.forEach {
+ navigationPlaceables.fastForEach {
it.placeRelative(
0,
- layoutHeight - navigationPlaceables.maxOf { it.height })
+ layoutHeight - navigationPlaceables.fastMaxOfOrNull { it.height }!!)
}
}
}
diff --git a/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt b/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt
index a75073e..3dcc396 100644
--- a/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt
+++ b/compose/material3/material3-adaptive/src/commonMain/kotlin/androidx/compose/material3/adaptive/ThreePaneScaffold.kt
@@ -29,6 +29,7 @@
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.roundToIntRect
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
import kotlin.math.max
import kotlin.math.min
@@ -171,7 +172,7 @@
}
} else {
// Layout each pane in a physical partition
- paneMeasurables.forEachIndexed { index, paneMeasurable ->
+ paneMeasurables.fastForEachIndexed { index, paneMeasurable ->
measureAndPlacePane(layoutPhysicalPartitions[index], paneMeasurable)
}
}
@@ -252,12 +253,12 @@
} else if (allocatableWidth < totalPreferredWidth) {
// Scale down all panes to fit in the available space.
val scale = allocatableWidth.toFloat() / totalPreferredWidth
- measurables.forEach {
+ measurables.fastForEach {
it.measuredWidth = (it.measuredWidth * scale).toInt()
}
}
var positionX = partitionBounds.left
- measurables.forEach {
+ measurables.fastForEach {
it.measure(Constraints.fixed(it.measuredWidth, partitionBounds.height))
.place(positionX, partitionBounds.top)
positionX += it.measuredWidth + spacerSize
diff --git a/compose/material3/material3-window-size-class/build.gradle b/compose/material3/material3-window-size-class/build.gradle
index 76cbc23..ae8d2cd 100644
--- a/compose/material3/material3-window-size-class/build.gradle
+++ b/compose/material3/material3-window-size-class/build.gradle
@@ -37,6 +37,7 @@
commonMain {
dependencies {
implementation(libs.kotlinStdlibCommon)
+ implementation(project(":compose:ui:ui-util"))
api(project(":compose:runtime:runtime"))
api(project(":compose:ui:ui"))
api(project(":compose:ui:ui-unit"))
@@ -61,6 +62,7 @@
dependsOn(commonMain)
dependencies {
// Because dependencies are pinned in the android/common code.
+ implementation(project(":compose:ui:ui-util"))
api(project(":compose:runtime:runtime"))
api(project(":compose:ui:ui"))
api(project(":compose:ui:ui-unit"))
diff --git a/compose/material3/material3-window-size-class/lint-baseline.xml b/compose/material3/material3-window-size-class/lint-baseline.xml
deleted file mode 100644
index 6b8f7eb..0000000
--- a/compose/material3/material3-window-size-class/lint-baseline.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sortedSizeClasses.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sortedSizeClasses.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass.kt"/>
- </issue>
-
-</issues>
diff --git a/compose/material3/material3-window-size-class/src/commonMain/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass.kt b/compose/material3/material3-window-size-class/src/commonMain/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass.kt
index 883916f..c6c3ef0 100644
--- a/compose/material3/material3-window-size-class/src/commonMain/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass.kt
+++ b/compose/material3/material3-window-size-class/src/commonMain/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClass.kt
@@ -22,6 +22,7 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
/**
* Window size classes are a set of opinionated viewport breakpoints to design, develop, and test
@@ -199,7 +200,7 @@
require(supportedSizeClasses.isNotEmpty()) { "Must support at least one size class" }
val sortedSizeClasses = supportedSizeClasses.sortedDescending()
// Find the largest supported size class that matches the width
- sortedSizeClasses.forEach {
+ sortedSizeClasses.fastForEach {
if (width >= with(density) { it.breakpoint().toPx() }) {
return it
}
@@ -297,7 +298,7 @@
require(supportedSizeClasses.isNotEmpty()) { "Must support at least one size class" }
val sortedSizeClasses = supportedSizeClasses.sortedDescending()
// Find the largest supported size class that matches the width
- sortedSizeClasses.forEach {
+ sortedSizeClasses.fastForEach {
if (height >= with(density) { it.breakpoint().toPx() }) {
return it
}
diff --git a/compose/material3/material3/lint-baseline.xml b/compose/material3/material3/lint-baseline.xml
index a60fd9f..787ecd3 100644
--- a/compose/material3/material3/lint-baseline.xml
+++ b/compose/material3/material3/lint-baseline.xml
@@ -173,1209 +173,12 @@
</issue>
<issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sequences.add(0, currentSequence.toList())"
- errorLine2=" ~~~~~~">
+ id="ExperimentalPropertyAnnotation"
+ message="This property does not have all required annotations to correctly mark it as experimental."
+ errorLine1=" @ExperimentalMaterial3Api"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (measurable in measurables) {"
- errorLine2=" ~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sequences.forEachIndexed { i, placeables ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" placeables.forEachIndexed { j, placeable ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "navigationIcon" }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/AppBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "actionIcons" }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/AppBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "title" }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/AppBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val badgePlaceable = measurables.first { it.layoutId == "badge" }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Badge.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val anchorPlaceable = measurables.first { it.layoutId == "anchor" }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Badge.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" dayNames.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" weekdays.drop(2).forEachIndexed { index, day ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/jvmMain/kotlin/androidx/compose/material3/LegacyCalendarModelImpl.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ).map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val x = xCandidates.firstOrNull {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ).map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val y = yCandidates.firstOrNull {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == IconLayoutIdTag }.measure(looseConstraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .first { it.layoutId == IndicatorRippleLayoutIdTag }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .firstOrNull { it.layoutId == IndicatorLayoutIdTag }"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .first { it.layoutId == LabelLayoutIdTag }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == IconLayoutIdTag }.measure(looseConstraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .first { it.layoutId == IndicatorRippleLayoutIdTag }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .firstOrNull { it.layoutId == IndicatorLayoutIdTag }"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .first { it.layoutId == LabelLayoutIdTag }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingPlaceable = measurables.find {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingPlaceable = measurables.find { it.layoutId == TrailingId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val prefixPlaceable = measurables.find { it.layoutId == PrefixId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val suffixPlaceable = measurables.find { it.layoutId == SuffixId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val supportingMeasurable = measurables.find { it.layoutId == SupportingId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == TextFieldId }.measure(textConstraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == PlaceholderId }?.measure(placeholderConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val containerPlaceable = measurables.first { it.layoutId == ContainerId }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelWidth = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val prefixWidth = measurables.find { it.layoutId == PrefixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val suffixWidth = measurables.find { it.layoutId == SuffixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelHeight = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val prefixHeight = measurables.find { it.layoutId == PrefixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val suffixHeight = measurables.find { it.layoutId == SuffixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val supportingHeight = measurables.find { it.layoutId == SupportingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val topBarPlaceables = subcompose(ScaffoldLayoutContent.TopBar, topBar).map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val topBarHeight = topBarPlaceables.maxByOrNull { it.height }?.height ?: 0"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val snackbarPlaceables = subcompose(ScaffoldLayoutContent.Snackbar, snackbar).map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val snackbarHeight = snackbarPlaceables.maxByOrNull { it.height }?.height ?: 0"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val snackbarWidth = snackbarPlaceables.maxByOrNull { it.width }?.width ?: 0"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" subcompose(ScaffoldLayoutContent.Fab, fab).mapNotNull { measurable ->"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val fabWidth = fabPlaceables.maxByOrNull { it.width }!!.width"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val fabHeight = fabPlaceables.maxByOrNull { it.height }!!.height"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.map { it.measure(looseConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val bottomBarHeight = bottomBarPlaceables.maxByOrNull { it.height }?.height"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.map { it.measure(looseConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" bodyContentPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" topBarPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" snackbarPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" bottomBarPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" fabPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val iconPlaceables = iconMeasurables.map { it.measure(constraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val iconDesiredWidth = iconMeasurables.fold(0) { acc, it ->"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val contentPlaceables = contentMeasurables.map { it.measure(constraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" iconPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" contentPlaceables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val thumbPlaceable = measurables.first {"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trackPlaceable = measurables.first {"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val startThumbPlaceable = measurables.first {"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val endThumbPlaceable = measurables.first {"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trackPlaceable = measurables.first {"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" list.map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" list.map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Slider.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.firstOrNull { it.layoutId == actionTag }?.measure(constraints)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.firstOrNull { it.layoutId == dismissActionTag }?.measure(constraints)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val textPlaceable = measurables.first { it.layoutId == textTag }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val keys = state.items.map { it.key }.toMutableList()"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" keys.filterNotNull().mapTo(state.items) { key ->"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" keys.filterNotNull().mapTo(state.items) { key ->"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val animationDelay = if (isVisible && keys.filterNotNull().size != 1) delay else 0"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" state.items.forEach { (item, opacity) ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val b = anchors.filter { it >= offset - 0.001 }.minOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "text" }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Tab.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.first { it.layoutId == "icon" }.measure(constraints)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/Tab.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val tabRowHeight = tabMeasurables.fold(initial = 0) { max, curr ->"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val tabPlaceables = tabMeasurables.map {"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabPlaceables.forEachIndexed { index, placeable ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" subcompose(TabSlots.Divider, divider).forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val layoutHeight = tabMeasurables.fold(initial = 0) { curr, measurable ->"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabMeasurables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val layoutWidth = tabPlaceables.fold(initial = padding * 2) { curr, measurable ->"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabPlaceables.forEachIndexed { index, placeable ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" subcompose(TabSlots.Divider, divider).forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == LeadingId }?.measure(looseConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingPlaceable = measurables.find { it.layoutId == TrailingId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val prefixPlaceable = measurables.find { it.layoutId == PrefixId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val suffixPlaceable = measurables.find { it.layoutId == SuffixId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val supportingMeasurable = measurables.find { it.layoutId == SupportingId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .first { it.layoutId == TextFieldId }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .find { it.layoutId == PlaceholderId }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val containerPlaceable = measurables.first { it.layoutId == ContainerId }.measure("
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelWidth = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val prefixWidth = measurables.find { it.layoutId == PrefixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val suffixWidth = measurables.find { it.layoutId == SuffixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val labelHeight = measurables.find { it.layoutId == LabelId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val prefixHeight = measurables.find { it.layoutId == PrefixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val suffixHeight = measurables.find { it.layoutId == SuffixId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val supportingHeight = measurables.find { it.layoutId == SupportingId }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TextField.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val spacer = measurables.first { it.layoutId == "Spacer" }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val items = measurables.filter { it.layoutId != "Spacer" }.map { item ->"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val items = measurables.filter { it.layoutId != "Spacer" }.map { item ->"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val spacer = measurables.first { it.layoutId == "Spacer" }"
- errorLine2=" ~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val items = measurables.filter { it.layoutId != "Spacer" }.map { item ->"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val items = measurables.filter { it.layoutId != "Spacer" }.map { item ->"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeables = measurables.filter {"
- errorLine2=" ~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.map { measurable -> measurable.measure(itemConstraints) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val selectorMeasurable = measurables.find { it.layoutId == LayoutId.Selector }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val innerMeasurable = measurables.find { it.layoutId == LayoutId.InnerCircle }"
- errorLine2=" ~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" placeables.forEachIndexed { i, it ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1="private val ExtraHours = Hours.map { (it % 12 + 12) }"
- errorLine2=" ~~~">
- <location
- file="src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt"/>
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
</issue>
<issue
@@ -1398,6 +201,15 @@
<issue
id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method BottomSheetScaffoldAnchorChangeHandler has parameter 'animateTo' with type Function2<? super SheetValue, ? super Float, Unit>."
+ errorLine1=" animateTo: (target: SheetValue, velocity: Float) -> Unit,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/BottomSheetScaffold.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method DateInputContent has parameter 'onDateSelectionChange' with type Function1<? super Long, Unit>."
errorLine1=" onDateSelectionChange: (dateInMillis: Long?) -> Unit,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1605,6 +417,24 @@
<issue
id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method modalBottomSheetSwipeable has parameter 'onDragStopped' with type Function2<? super CoroutineScope, ? super Float, Unit>."
+ errorLine1=" onDragStopped: CoroutineScope.(velocity: Float) -> Unit,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/material3/ModalBottomSheet.android.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method ModalBottomSheetAnchorChangeHandler has parameter 'animateTo' with type Function2<? super SheetValue, ? super Float, Unit>."
+ errorLine1=" animateTo: (target: SheetValue, velocity: Float) -> Unit,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/material3/ModalBottomSheet.android.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method Scrim has parameter 'fraction' with type Function0<Float>."
errorLine1=" fraction: () -> Float,"
errorLine2=" ~~~~~~~~~~~">
@@ -1848,6 +678,15 @@
<issue
id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method swipeAnchors has parameter 'calculateAnchor' with type Function2<? super T, ? super IntSize, Float>."
+ errorLine1=" calculateAnchor: (value: T, layoutSize: IntSize) -> Float?,"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/commonMain/kotlin/androidx/compose/material3/SwipeableV2.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'valueToOffset' with type Function1<? super Boolean, ? extends Float>."
errorLine1=" val valueToOffset = remember<(Boolean) -> Float>(minBound, maxBound) {"
errorLine2=" ^">
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt
index 62a0006..d1f7e33 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AlertDialog.kt
@@ -32,6 +32,8 @@
import androidx.compose.ui.layout.Placeable
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
import kotlin.math.max
@Composable
@@ -150,6 +152,7 @@
crossAxisSpace += crossAxisSpacing.roundToPx()
}
// Ensures that confirming actions appear above dismissive actions.
+ @Suppress("ListIterator")
sequences.add(0, currentSequence.toList())
crossAxisSizes += currentCrossAxisSize
crossAxisPositions += crossAxisSpace
@@ -162,7 +165,7 @@
currentCrossAxisSize = 0
}
- for (measurable in measurables) {
+ measurables.fastForEach { measurable ->
// Ask the child for its preferred size.
val placeable = measurable.measure(constraints)
@@ -189,7 +192,7 @@
val layoutHeight = crossAxisLayoutSize
layout(layoutWidth, layoutHeight) {
- sequences.forEachIndexed { i, placeables ->
+ sequences.fastForEachIndexed { i, placeables ->
val childrenMainAxisSizes = IntArray(placeables.size) { j ->
placeables[j].width +
if (j < placeables.lastIndex) mainAxisSpacing.roundToPx() else 0
@@ -200,7 +203,7 @@
arrange(mainAxisLayoutSize, childrenMainAxisSizes,
layoutDirection, mainAxisPositions)
}
- placeables.forEachIndexed { j, placeable ->
+ placeables.fastForEachIndexed { j, placeable ->
placeable.place(
x = mainAxisPositions[j],
y = crossAxisPositions[i]
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
index c63eeb4..cd79a42 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
@@ -81,6 +81,7 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.abs
import kotlin.math.max
import kotlin.math.roundToInt
@@ -1346,10 +1347,10 @@
modifier = modifier
) { measurables, constraints ->
val navigationIconPlaceable =
- measurables.first { it.layoutId == "navigationIcon" }
+ measurables.fastFirst { it.layoutId == "navigationIcon" }
.measure(constraints.copy(minWidth = 0))
val actionIconsPlaceable =
- measurables.first { it.layoutId == "actionIcons" }
+ measurables.fastFirst { it.layoutId == "actionIcons" }
.measure(constraints.copy(minWidth = 0))
val maxTitleWidth = if (constraints.maxWidth == Constraints.Infinity) {
@@ -1359,7 +1360,7 @@
.coerceAtLeast(0)
}
val titlePlaceable =
- measurables.first { it.layoutId == "title" }
+ measurables.fastFirst { it.layoutId == "title" }
.measure(constraints.copy(minWidth = 0, maxWidth = maxTitleWidth))
// Locate the title's baseline.
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt
index bc2ff8e..81f545c 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt
@@ -42,6 +42,7 @@
import androidx.compose.ui.layout.layoutId
import androidx.compose.ui.layout.onGloballyPositioned
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.roundToInt
/**
@@ -103,13 +104,13 @@
}
) { measurables, constraints ->
- val badgePlaceable = measurables.first { it.layoutId == "badge" }.measure(
+ val badgePlaceable = measurables.fastFirst { it.layoutId == "badge" }.measure(
// Measure with loose constraints for height as we don't want the text to take up more
// space than it needs.
constraints.copy(minHeight = 0)
)
- val anchorPlaceable = measurables.first { it.layoutId == "anchor" }.measure(constraints)
+ val anchorPlaceable = measurables.fastFirst { it.layoutId == "anchor" }.measure(constraints)
val firstBaseline = anchorPlaceable[FirstBaseline]
val lastBaseline = anchorPlaceable[LastBaseline]
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt
index a281855..f0f0451 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/DatePicker.kt
@@ -108,6 +108,7 @@
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
import kotlin.math.max
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
@@ -1566,7 +1567,7 @@
horizontalArrangement = Arrangement.SpaceEvenly,
verticalAlignment = Alignment.CenterVertically
) {
- for (it in dayNames) {
+ dayNames.fastForEach {
Box(
modifier = Modifier
.clearAndSetSemantics { contentDescription = it.first }
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt
index 7167832..5853b39 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/MenuPosition.kt
@@ -26,6 +26,8 @@
import androidx.compose.ui.unit.IntRect
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.LayoutDirection
+import androidx.compose.ui.util.fastFirstOrNull
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.window.PopupPositionProvider
/**
@@ -366,7 +368,7 @@
} else {
rightToWindowRight
}
- ).map {
+ ).fastMap {
it.position(
anchorBounds = anchorBounds,
windowSize = windowSize,
@@ -374,7 +376,7 @@
layoutDirection = layoutDirection
)
}
- val x = xCandidates.firstOrNull {
+ val x = xCandidates.fastFirstOrNull {
it >= 0 && it + popupContentSize.width <= windowSize.width
} ?: xCandidates.last()
@@ -387,14 +389,14 @@
} else {
bottomToWindowBottom
}
- ).map {
+ ).fastMap {
it.position(
anchorBounds = anchorBounds,
windowSize = windowSize,
menuHeight = popupContentSize.height
)
}
- val y = yCandidates.firstOrNull {
+ val y = yCandidates.fastFirstOrNull {
it >= verticalMargin &&
it + popupContentSize.height <= windowSize.height - verticalMargin
} ?: yCandidates.last()
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt
index a6c347d..169f74d 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationBar.kt
@@ -65,6 +65,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.constrainHeight
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import kotlin.math.roundToInt
/**
@@ -468,14 +470,14 @@
}) { measurables, constraints ->
val looseConstraints = constraints.copy(minWidth = 0, minHeight = 0)
val iconPlaceable =
- measurables.first { it.layoutId == IconLayoutIdTag }.measure(looseConstraints)
+ measurables.fastFirst { it.layoutId == IconLayoutIdTag }.measure(looseConstraints)
val totalIndicatorWidth = iconPlaceable.width + (IndicatorHorizontalPadding * 2).roundToPx()
val animatedIndicatorWidth = (totalIndicatorWidth * animationProgress).roundToInt()
val indicatorHeight = iconPlaceable.height + (IndicatorVerticalPadding * 2).roundToPx()
val indicatorRipplePlaceable =
measurables
- .first { it.layoutId == IndicatorRippleLayoutIdTag }
+ .fastFirst { it.layoutId == IndicatorRippleLayoutIdTag }
.measure(
Constraints.fixed(
width = totalIndicatorWidth,
@@ -484,7 +486,7 @@
)
val indicatorPlaceable =
measurables
- .firstOrNull { it.layoutId == IndicatorLayoutIdTag }
+ .fastFirstOrNull { it.layoutId == IndicatorLayoutIdTag }
?.measure(
Constraints.fixed(
width = animatedIndicatorWidth,
@@ -495,7 +497,7 @@
val labelPlaceable =
label?.let {
measurables
- .first { it.layoutId == LabelLayoutIdTag }
+ .fastFirst { it.layoutId == LabelLayoutIdTag }
.measure(looseConstraints)
}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt
index d5caf4e..dff1aad 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/NavigationRail.kt
@@ -66,6 +66,8 @@
import androidx.compose.ui.unit.constrainHeight
import androidx.compose.ui.unit.constrainWidth
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import kotlin.math.roundToInt
/**
@@ -465,7 +467,7 @@
}) { measurables, constraints ->
val looseConstraints = constraints.copy(minWidth = 0, minHeight = 0)
val iconPlaceable =
- measurables.first { it.layoutId == IconLayoutIdTag }.measure(looseConstraints)
+ measurables.fastFirst { it.layoutId == IconLayoutIdTag }.measure(looseConstraints)
val totalIndicatorWidth = iconPlaceable.width + (IndicatorHorizontalPadding * 2).roundToPx()
val animatedIndicatorWidth = (totalIndicatorWidth * animationProgress).roundToInt()
@@ -478,7 +480,7 @@
val indicatorRipplePlaceable =
measurables
- .first { it.layoutId == IndicatorRippleLayoutIdTag }
+ .fastFirst { it.layoutId == IndicatorRippleLayoutIdTag }
.measure(
Constraints.fixed(
width = totalIndicatorWidth,
@@ -487,7 +489,7 @@
)
val indicatorPlaceable =
measurables
- .firstOrNull { it.layoutId == IndicatorLayoutIdTag }
+ .fastFirstOrNull { it.layoutId == IndicatorLayoutIdTag }
?.measure(
Constraints.fixed(
width = animatedIndicatorWidth,
@@ -498,7 +500,7 @@
val labelPlaceable =
label?.let {
measurables
- .first { it.layoutId == LabelLayoutIdTag }
+ .fastFirst { it.layoutId == LabelLayoutIdTag }
.measure(looseConstraints)
}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
index 9dfb9eac..25b024d 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/OutlinedTextField.kt
@@ -65,6 +65,8 @@
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.lerp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.max
import kotlin.math.roundToInt
@@ -648,26 +650,26 @@
val relaxedConstraints = constraints.copy(minWidth = 0, minHeight = 0)
// measure leading icon
- val leadingPlaceable = measurables.find {
+ val leadingPlaceable = measurables.fastFirstOrNull {
it.layoutId == LeadingId
}?.measure(relaxedConstraints)
occupiedSpaceHorizontally += widthOrZero(leadingPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(leadingPlaceable))
// measure trailing icon
- val trailingPlaceable = measurables.find { it.layoutId == TrailingId }
+ val trailingPlaceable = measurables.fastFirstOrNull { it.layoutId == TrailingId }
?.measure(relaxedConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(trailingPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(trailingPlaceable))
// measure prefix
- val prefixPlaceable = measurables.find { it.layoutId == PrefixId }
+ val prefixPlaceable = measurables.fastFirstOrNull { it.layoutId == PrefixId }
?.measure(relaxedConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(prefixPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(prefixPlaceable))
// measure suffix
- val suffixPlaceable = measurables.find { it.layoutId == SuffixId }
+ val suffixPlaceable = measurables.fastFirstOrNull { it.layoutId == SuffixId }
?.measure(relaxedConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(suffixPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(suffixPlaceable))
@@ -685,14 +687,14 @@
vertical = -bottomPadding
)
val labelPlaceable =
- measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)
+ measurables.fastFirstOrNull { it.layoutId == LabelId }?.measure(labelConstraints)
labelPlaceable?.let {
onLabelMeasured(Size(it.width.toFloat(), it.height.toFloat()))
}
// supporting text must be measured after other elements, but we
// reserve space for it using its intrinsic height as a heuristic
- val supportingMeasurable = measurables.find { it.layoutId == SupportingId }
+ val supportingMeasurable = measurables.fastFirstOrNull { it.layoutId == SupportingId }
val supportingIntrinsicHeight =
supportingMeasurable?.minIntrinsicHeight(constraints.minWidth) ?: 0
@@ -706,12 +708,12 @@
vertical = -bottomPadding - topPadding - supportingIntrinsicHeight
).copy(minHeight = 0)
val textFieldPlaceable =
- measurables.first { it.layoutId == TextFieldId }.measure(textConstraints)
+ measurables.fastFirst { it.layoutId == TextFieldId }.measure(textConstraints)
// measure placeholder
val placeholderConstraints = textConstraints.copy(minWidth = 0)
- val placeholderPlaceable =
- measurables.find { it.layoutId == PlaceholderId }?.measure(placeholderConstraints)
+ val placeholderPlaceable = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }
+ ?.measure(placeholderConstraints)
occupiedSpaceVertically = max(
occupiedSpaceVertically,
@@ -758,7 +760,7 @@
)
val height = totalHeight - supportingHeight
- val containerPlaceable = measurables.first { it.layoutId == ContainerId }.measure(
+ val containerPlaceable = measurables.fastFirst { it.layoutId == ContainerId }.measure(
Constraints(
minWidth = if (width != Constraints.Infinity) width else 0,
maxWidth = width,
@@ -830,23 +832,23 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
val textFieldWidth =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)
- val labelWidth = measurables.find { it.layoutId == LabelId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, height)
+ val labelWidth = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingWidth = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingWidth = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val prefixWidth = measurables.find { it.layoutId == PrefixId }?.let {
+ val prefixWidth = measurables.fastFirstOrNull { it.layoutId == PrefixId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val suffixWidth = measurables.find { it.layoutId == SuffixId }?.let {
+ val suffixWidth = measurables.fastFirstOrNull { it.layoutId == SuffixId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {
+ val placeholderWidth = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
return calculateWidth(
@@ -870,38 +872,38 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
var remainingWidth = width
- val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingHeight = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingHeight = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val labelHeight = measurables.find { it.layoutId == LabelId }?.let {
+ val labelHeight = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, lerp(remainingWidth, width, animationProgress))
} ?: 0
- val prefixHeight = measurables.find { it.layoutId == PrefixId }?.let {
+ val prefixHeight = measurables.fastFirstOrNull { it.layoutId == PrefixId }?.let {
val height = intrinsicMeasurer(it, remainingWidth)
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
height
} ?: 0
- val suffixHeight = measurables.find { it.layoutId == SuffixId }?.let {
+ val suffixHeight = measurables.fastFirstOrNull { it.layoutId == SuffixId }?.let {
val height = intrinsicMeasurer(it, remainingWidth)
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
height
} ?: 0
val textFieldHeight =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, remainingWidth)
- val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {
+ val placeholderHeight = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, remainingWidth)
} ?: 0
- val supportingHeight = measurables.find { it.layoutId == SupportingId }?.let {
+ val supportingHeight = measurables.fastFirstOrNull { it.layoutId == SupportingId }?.let {
intrinsicMeasurer(it, width)
} ?: 0
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt
index 355aae6..b346d44 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Scaffold.kt
@@ -35,6 +35,10 @@
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMapNotNull
+import androidx.compose.ui.util.fastMaxBy
/**
* <a href="https://material.io/design/layout/understanding-layout.html" class="external" target="_blank">Material Design layout</a>.
@@ -139,13 +143,13 @@
val looseConstraints = constraints.copy(minWidth = 0, minHeight = 0)
- val topBarPlaceables = subcompose(ScaffoldLayoutContent.TopBar, topBar).map {
+ val topBarPlaceables = subcompose(ScaffoldLayoutContent.TopBar, topBar).fastMap {
it.measure(looseConstraints)
}
- val topBarHeight = topBarPlaceables.maxByOrNull { it.height }?.height ?: 0
+ val topBarHeight = topBarPlaceables.fastMaxBy { it.height }?.height ?: 0
- val snackbarPlaceables = subcompose(ScaffoldLayoutContent.Snackbar, snackbar).map {
+ val snackbarPlaceables = subcompose(ScaffoldLayoutContent.Snackbar, snackbar).fastMap {
// respect only bottom and horizontal for snackbar and fab
val leftInset = contentWindowInsets
.getLeft(this@SubcomposeLayout, layoutDirection)
@@ -161,11 +165,11 @@
)
}
- val snackbarHeight = snackbarPlaceables.maxByOrNull { it.height }?.height ?: 0
- val snackbarWidth = snackbarPlaceables.maxByOrNull { it.width }?.width ?: 0
+ val snackbarHeight = snackbarPlaceables.fastMaxBy { it.height }?.height ?: 0
+ val snackbarWidth = snackbarPlaceables.fastMaxBy { it.width }?.width ?: 0
val fabPlaceables =
- subcompose(ScaffoldLayoutContent.Fab, fab).mapNotNull { measurable ->
+ subcompose(ScaffoldLayoutContent.Fab, fab).fastMapNotNull { measurable ->
// respect only bottom and horizontal for snackbar and fab
val leftInset =
contentWindowInsets.getLeft(this@SubcomposeLayout, layoutDirection)
@@ -182,8 +186,8 @@
}
val fabPlacement = if (fabPlaceables.isNotEmpty()) {
- val fabWidth = fabPlaceables.maxByOrNull { it.width }!!.width
- val fabHeight = fabPlaceables.maxByOrNull { it.height }!!.height
+ val fabWidth = fabPlaceables.fastMaxBy { it.width }!!.width
+ val fabHeight = fabPlaceables.fastMaxBy { it.height }!!.height
// FAB distance from the left of the layout, taking into account LTR / RTL
val fabLeftOffset = when (fabPosition) {
FabPosition.Start -> {
@@ -217,9 +221,9 @@
LocalFabPlacement provides fabPlacement,
content = bottomBar
)
- }.map { it.measure(looseConstraints) }
+ }.fastMap { it.measure(looseConstraints) }
- val bottomBarHeight = bottomBarPlaceables.maxByOrNull { it.height }?.height
+ val bottomBarHeight = bottomBarPlaceables.fastMaxBy { it.height }?.height
val fabOffsetFromBottom = fabPlacement?.let {
if (bottomBarHeight == null) {
it.height + FabSpacing.roundToPx() +
@@ -258,18 +262,18 @@
end = insets.calculateEndPadding((this@SubcomposeLayout).layoutDirection)
)
content(innerPadding)
- }.map { it.measure(looseConstraints) }
+ }.fastMap { it.measure(looseConstraints) }
layout(layoutWidth, layoutHeight) {
// Placing to control drawing order to match default elevation of each placeable
- bodyContentPlaceables.forEach {
+ bodyContentPlaceables.fastForEach {
it.place(0, 0)
}
- topBarPlaceables.forEach {
+ topBarPlaceables.fastForEach {
it.place(0, 0)
}
- snackbarPlaceables.forEach {
+ snackbarPlaceables.fastForEach {
it.place(
(layoutWidth - snackbarWidth) / 2 +
contentWindowInsets.getLeft(this@SubcomposeLayout, layoutDirection),
@@ -277,12 +281,12 @@
)
}
// The bottom bar is always at the bottom of the layout
- bottomBarPlaceables.forEach {
+ bottomBarPlaceables.fastForEach {
it.place(0, layoutHeight - (bottomBarHeight ?: 0))
}
// Explicitly not using placeRelative here as `leftOffset` already accounts for RTL
fabPlacement?.let { placement ->
- fabPlaceables.forEach {
+ fabPlaceables.fastForEach {
it.place(placement.left, layoutHeight - fabOffsetFromBottom!!)
}
}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt
index 8c6bb95..860b1a8 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SegmentedButton.kt
@@ -79,6 +79,9 @@
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.fastMaxBy
import kotlinx.coroutines.launch
@@ -323,12 +326,12 @@
val scope = rememberCoroutineScope()
Layout(listOf(icon, content)) { (iconMeasurables, contentMeasurables), constraints ->
- val iconPlaceables = iconMeasurables.map { it.measure(constraints) }
- val iconDesiredWidth = iconMeasurables.fold(0) { acc, it ->
+ val iconPlaceables = iconMeasurables.fastMap { it.measure(constraints) }
+ val iconDesiredWidth = iconMeasurables.fastFold(0) { acc, it ->
maxOf(acc, it.maxIntrinsicWidth(Constraints.Infinity))
}
val iconWidth = iconPlaceables.fastMaxBy { it.width }?.width ?: 0
- val contentPlaceables = contentMeasurables.map { it.measure(constraints) }
+ val contentPlaceables = contentMeasurables.fastMap { it.measure(constraints) }
val contentWidth = contentPlaceables.fastMaxBy { it.width }?.width
val width = maxOf(SegmentedButtonDefaults.IconSize.roundToPx(), iconDesiredWidth) +
IconSpacing.roundToPx() +
@@ -350,14 +353,14 @@
}
layout(width, constraints.maxHeight) {
- iconPlaceables.forEach {
+ iconPlaceables.fastForEach {
it.place(0, (constraints.maxHeight - it.height) / 2)
}
val contentOffsetX = SegmentedButtonDefaults.IconSize.roundToPx() +
IconSpacing.roundToPx() + anim.value
- contentPlaceables.forEach {
+ contentPlaceables.fastForEach {
it.place(contentOffsetX, (constraints.maxHeight - it.height) / 2)
}
}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Slider.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Slider.kt
index 8f3afa4..5aa3895 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Slider.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Slider.kt
@@ -86,6 +86,8 @@
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.lerp
import androidx.compose.ui.util.packFloats
import androidx.compose.ui.util.unpackFloat1
@@ -712,11 +714,11 @@
.then(drag)
) { measurables, constraints ->
- val thumbPlaceable = measurables.first {
+ val thumbPlaceable = measurables.fastFirst {
it.layoutId == SliderComponents.THUMB
}.measure(constraints)
- val trackPlaceable = measurables.first {
+ val trackPlaceable = measurables.fastFirst {
it.layoutId == SliderComponents.TRACK
}.measure(
constraints.offset(
@@ -807,19 +809,19 @@
)
.then(pressDrag)
) { measurables, constraints ->
- val startThumbPlaceable = measurables.first {
+ val startThumbPlaceable = measurables.fastFirst {
it.layoutId == RangeSliderComponents.STARTTHUMB
}.measure(
constraints
)
- val endThumbPlaceable = measurables.first {
+ val endThumbPlaceable = measurables.fastFirst {
it.layoutId == RangeSliderComponents.ENDTHUMB
}.measure(
constraints
)
- val trackPlaceable = measurables.first {
+ val trackPlaceable = measurables.fastFirst {
it.layoutId == RangeSliderComponents.TRACK
}.measure(
constraints.offset(
@@ -1072,7 +1074,7 @@
it < sliderPositions.activeRange.start
}.forEach { (outsideFraction, list) ->
drawPoints(
- list.map {
+ list.fastMap {
Offset(lerp(sliderStart, sliderEnd, it).x, center.y)
},
PointMode.Points,
@@ -1211,7 +1213,7 @@
it < activeRangeStart
}.forEach { (outsideFraction, list) ->
drawPoints(
- list.map {
+ list.fastMap {
Offset(lerp(sliderStart, sliderEnd, it).x, center.y)
},
PointMode.Points,
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt
index fa89582..771613c 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Snackbar.kt
@@ -39,6 +39,8 @@
import androidx.compose.ui.layout.layoutId
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import kotlin.math.max
import kotlin.math.min
@@ -333,9 +335,9 @@
) { measurables, constraints ->
val containerWidth = min(constraints.maxWidth, ContainerMaxWidth.roundToPx())
val actionButtonPlaceable =
- measurables.firstOrNull { it.layoutId == actionTag }?.measure(constraints)
+ measurables.fastFirstOrNull { it.layoutId == actionTag }?.measure(constraints)
val dismissButtonPlaceable =
- measurables.firstOrNull { it.layoutId == dismissActionTag }?.measure(constraints)
+ measurables.fastFirstOrNull { it.layoutId == dismissActionTag }?.measure(constraints)
val actionButtonWidth = actionButtonPlaceable?.width ?: 0
val actionButtonHeight = actionButtonPlaceable?.height ?: 0
val dismissButtonWidth = dismissButtonPlaceable?.width ?: 0
@@ -344,7 +346,7 @@
val textMaxWidth =
(containerWidth - actionButtonWidth - dismissButtonWidth - extraSpacingWidth)
.coerceAtLeast(constraints.minWidth)
- val textPlaceable = measurables.first { it.layoutId == textTag }.measure(
+ val textPlaceable = measurables.fastFirst { it.layoutId == textTag }.measure(
constraints.copy(minHeight = 0, maxWidth = textMaxWidth)
)
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt
index dce3b38..dfd2279 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SnackbarHost.kt
@@ -41,6 +41,10 @@
import androidx.compose.ui.semantics.dismiss
import androidx.compose.ui.semantics.liveRegion
import androidx.compose.ui.semantics.semantics
+import androidx.compose.ui.util.fastFilterNotNull
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMapTo
import kotlin.coroutines.resume
import kotlinx.coroutines.CancellableContinuation
import kotlinx.coroutines.delay
@@ -344,17 +348,21 @@
val state = remember { FadeInFadeOutState<SnackbarData?>() }
if (current != state.current) {
state.current = current
- val keys = state.items.map { it.key }.toMutableList()
+ val keys = state.items.fastMap { it.key }.toMutableList()
if (!keys.contains(current)) {
keys.add(current)
}
state.items.clear()
- keys.filterNotNull().mapTo(state.items) { key ->
+ keys.fastFilterNotNull().fastMapTo(state.items) { key ->
FadeInFadeOutAnimationItem(key) { children ->
val isVisible = key == current
val duration = if (isVisible) SnackbarFadeInMillis else SnackbarFadeOutMillis
val delay = SnackbarFadeOutMillis + SnackbarInBetweenDelayMillis
- val animationDelay = if (isVisible && keys.filterNotNull().size != 1) delay else 0
+ val animationDelay = if (isVisible && keys.fastFilterNotNull().size != 1) {
+ delay
+ } else {
+ 0
+ }
val opacity = animatedOpacity(
animation = tween(
easing = LinearEasing,
@@ -397,7 +405,7 @@
}
Box(modifier) {
state.scope = currentRecomposeScope
- state.items.forEach { (item, opacity) ->
+ state.items.fastForEach { (item, opacity) ->
key(item) {
opacity {
content(item!!)
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt
index f06b0e3..73e1b1e 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Swipeable.kt
@@ -53,6 +53,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastMaxBy
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.PI
import kotlin.math.abs
@@ -60,7 +62,6 @@
import kotlin.math.sin
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.flow.Flow
-import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.filter
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.launch
@@ -734,8 +735,8 @@
anchors: Set<Float>
): List<Float> {
// Find the anchors the target lies between with a little bit of rounding error.
- val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()
- val b = anchors.filter { it >= offset - 0.001 }.minOrNull()
+ val a = anchors.filter { it <= offset + 0.001 }.fastMaxBy { it }
+ val b = anchors.filter { it >= offset - 0.001 }.fastMinByOrNull { it }
return when {
a == null ->
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Tab.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Tab.kt
index bc9ab02..c02ecd2 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Tab.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Tab.kt
@@ -52,6 +52,7 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
+import androidx.compose.ui.util.fastFirst
import kotlin.math.max
/**
@@ -319,7 +320,7 @@
}
) { measurables, constraints ->
val textPlaceable = text?.let {
- measurables.first { it.layoutId == "text" }.measure(
+ measurables.fastFirst { it.layoutId == "text" }.measure(
// Measure with loose constraints for height as we don't want the text to take up more
// space than it needs
constraints.copy(minHeight = 0)
@@ -327,7 +328,7 @@
}
val iconPlaceable = icon?.let {
- measurables.first { it.layoutId == "icon" }.measure(constraints)
+ measurables.fastFirst { it.layoutId == "icon" }.measure(constraints)
}
val tabWidth = max(textPlaceable?.width ?: 0, iconPlaceable?.width ?: 0)
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TabRow.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TabRow.kt
index 26dabf2..861e5d4 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TabRow.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TabRow.kt
@@ -53,6 +53,10 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
@@ -170,11 +174,11 @@
if (tabCount > 0) {
tabWidth = (tabRowWidth / tabCount)
}
- val tabRowHeight = tabMeasurables.fold(initial = 0) { max, curr ->
+ val tabRowHeight = tabMeasurables.fastFold(initial = 0) { max, curr ->
maxOf(curr.maxIntrinsicHeight(tabWidth), max)
}
- val tabPlaceables = tabMeasurables.map {
+ val tabPlaceables = tabMeasurables.fastMap {
it.measure(
constraints.copy(
minWidth = tabWidth,
@@ -195,18 +199,18 @@
}
layout(tabRowWidth, tabRowHeight) {
- tabPlaceables.forEachIndexed { index, placeable ->
+ tabPlaceables.fastForEachIndexed { index, placeable ->
placeable.placeRelative(index * tabWidth, 0)
}
- subcompose(TabSlots.Divider, divider).forEach {
+ subcompose(TabSlots.Divider, divider).fastForEach {
val placeable = it.measure(constraints.copy(minHeight = 0))
placeable.placeRelative(0, tabRowHeight - placeable.height)
}
subcompose(TabSlots.Indicator) {
indicator(tabPositions)
- }.forEach {
+ }.fastForEach {
it.measure(Constraints.fixed(tabRowWidth, tabRowHeight)).placeRelative(0, 0)
}
}
@@ -290,7 +294,7 @@
val tabMeasurables = subcompose(TabSlots.Tabs, tabs)
- val layoutHeight = tabMeasurables.fold(initial = 0) { curr, measurable ->
+ val layoutHeight = tabMeasurables.fastFold(initial = 0) { curr, measurable ->
maxOf(curr, measurable.maxIntrinsicHeight(Constraints.Infinity))
}
@@ -302,7 +306,7 @@
val tabPlaceables = mutableListOf<Placeable>()
val tabContentWidths = mutableListOf<Dp>()
- tabMeasurables.forEach {
+ tabMeasurables.fastForEach {
val placeable = it.measure(tabConstraints)
var contentWidth =
minOf(
@@ -314,7 +318,7 @@
tabContentWidths.add(contentWidth)
}
- val layoutWidth = tabPlaceables.fold(initial = padding * 2) { curr, measurable ->
+ val layoutWidth = tabPlaceables.fastFold(initial = padding * 2) { curr, measurable ->
curr + measurable.width
}
@@ -323,7 +327,7 @@
// Place the tabs
val tabPositions = mutableListOf<TabPosition>()
var left = padding
- tabPlaceables.forEachIndexed { index, placeable ->
+ tabPlaceables.fastForEachIndexed { index, placeable ->
placeable.placeRelative(left, 0)
tabPositions.add(
TabPosition(
@@ -337,7 +341,7 @@
// The divider is measured with its own height, and width equal to the total width
// of the tab row, and then placed on top of the tabs.
- subcompose(TabSlots.Divider, divider).forEach {
+ subcompose(TabSlots.Divider, divider).fastForEach {
val placeable = it.measure(
constraints.copy(
minHeight = 0,
@@ -352,7 +356,7 @@
// row, and then placed on top of the divider.
subcompose(TabSlots.Indicator) {
indicator(tabPositions)
- }.forEach {
+ }.fastForEach {
it.measure(Constraints.fixed(layoutWidth, layoutHeight)).placeRelative(0, 0)
}
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
index 2af0c17d..1ab2a13 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TextField.kt
@@ -63,6 +63,8 @@
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.lerp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.max
import kotlin.math.roundToInt
@@ -648,24 +650,24 @@
// measure leading icon
val leadingPlaceable =
- measurables.find { it.layoutId == LeadingId }?.measure(looseConstraints)
+ measurables.fastFirstOrNull { it.layoutId == LeadingId }?.measure(looseConstraints)
occupiedSpaceHorizontally += widthOrZero(leadingPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(leadingPlaceable))
// measure trailing icon
- val trailingPlaceable = measurables.find { it.layoutId == TrailingId }
+ val trailingPlaceable = measurables.fastFirstOrNull { it.layoutId == TrailingId }
?.measure(looseConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(trailingPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(trailingPlaceable))
// measure prefix
- val prefixPlaceable = measurables.find { it.layoutId == PrefixId }
+ val prefixPlaceable = measurables.fastFirstOrNull { it.layoutId == PrefixId }
?.measure(looseConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(prefixPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(prefixPlaceable))
// measure suffix
- val suffixPlaceable = measurables.find { it.layoutId == SuffixId }
+ val suffixPlaceable = measurables.fastFirstOrNull { it.layoutId == SuffixId }
?.measure(looseConstraints.offset(horizontal = -occupiedSpaceHorizontally))
occupiedSpaceHorizontally += widthOrZero(suffixPlaceable)
occupiedSpaceVertically = max(occupiedSpaceVertically, heightOrZero(suffixPlaceable))
@@ -677,11 +679,11 @@
horizontal = -occupiedSpaceHorizontally
)
val labelPlaceable =
- measurables.find { it.layoutId == LabelId }?.measure(labelConstraints)
+ measurables.fastFirstOrNull { it.layoutId == LabelId }?.measure(labelConstraints)
// supporting text must be measured after other elements, but we
// reserve space for it using its intrinsic height as a heuristic
- val supportingMeasurable = measurables.find { it.layoutId == SupportingId }
+ val supportingMeasurable = measurables.fastFirstOrNull { it.layoutId == SupportingId }
val supportingIntrinsicHeight =
supportingMeasurable?.minIntrinsicHeight(constraints.minWidth) ?: 0
@@ -694,13 +696,13 @@
horizontal = -occupiedSpaceHorizontally
)
val textFieldPlaceable = measurables
- .first { it.layoutId == TextFieldId }
+ .fastFirst { it.layoutId == TextFieldId }
.measure(textFieldConstraints)
// measure placeholder
val placeholderConstraints = textFieldConstraints.copy(minWidth = 0)
val placeholderPlaceable = measurables
- .find { it.layoutId == PlaceholderId }
+ .fastFirstOrNull { it.layoutId == PlaceholderId }
?.measure(placeholderConstraints)
occupiedSpaceVertically = max(
@@ -742,7 +744,7 @@
)
val height = totalHeight - supportingHeight
- val containerPlaceable = measurables.first { it.layoutId == ContainerId }.measure(
+ val containerPlaceable = measurables.fastFirst { it.layoutId == ContainerId }.measure(
Constraints(
minWidth = if (width != Constraints.Infinity) width else 0,
maxWidth = width,
@@ -833,23 +835,23 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
val textFieldWidth =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, height)
- val labelWidth = measurables.find { it.layoutId == LabelId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, height)
+ val labelWidth = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val trailingWidth = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingWidth = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val prefixWidth = measurables.find { it.layoutId == PrefixId }?.let {
+ val prefixWidth = measurables.fastFirstOrNull { it.layoutId == PrefixId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val suffixWidth = measurables.find { it.layoutId == SuffixId }?.let {
+ val suffixWidth = measurables.fastFirstOrNull { it.layoutId == SuffixId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val leadingWidth = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingWidth = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
- val placeholderWidth = measurables.find { it.layoutId == PlaceholderId }?.let {
+ val placeholderWidth = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, height)
} ?: 0
return calculateWidth(
@@ -870,37 +872,37 @@
intrinsicMeasurer: (IntrinsicMeasurable, Int) -> Int
): Int {
var remainingWidth = width
- val leadingHeight = measurables.find { it.layoutId == LeadingId }?.let {
+ val leadingHeight = measurables.fastFirstOrNull { it.layoutId == LeadingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val trailingHeight = measurables.find { it.layoutId == TrailingId }?.let {
+ val trailingHeight = measurables.fastFirstOrNull { it.layoutId == TrailingId }?.let {
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
intrinsicMeasurer(it, width)
} ?: 0
- val labelHeight = measurables.find { it.layoutId == LabelId }?.let {
+ val labelHeight = measurables.fastFirstOrNull { it.layoutId == LabelId }?.let {
intrinsicMeasurer(it, remainingWidth)
} ?: 0
- val prefixHeight = measurables.find { it.layoutId == PrefixId }?.let {
+ val prefixHeight = measurables.fastFirstOrNull { it.layoutId == PrefixId }?.let {
val height = intrinsicMeasurer(it, remainingWidth)
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
height
} ?: 0
- val suffixHeight = measurables.find { it.layoutId == SuffixId }?.let {
+ val suffixHeight = measurables.fastFirstOrNull { it.layoutId == SuffixId }?.let {
val height = intrinsicMeasurer(it, remainingWidth)
remainingWidth -= it.maxIntrinsicWidth(Constraints.Infinity)
height
} ?: 0
val textFieldHeight =
- intrinsicMeasurer(measurables.first { it.layoutId == TextFieldId }, remainingWidth)
- val placeholderHeight = measurables.find { it.layoutId == PlaceholderId }?.let {
+ intrinsicMeasurer(measurables.fastFirst { it.layoutId == TextFieldId }, remainingWidth)
+ val placeholderHeight = measurables.fastFirstOrNull { it.layoutId == PlaceholderId }?.let {
intrinsicMeasurer(it, remainingWidth)
} ?: 0
- val supportingHeight = measurables.find { it.layoutId == SupportingId }?.let {
+ val supportingHeight = measurables.fastFirstOrNull { it.layoutId == SupportingId }?.let {
intrinsicMeasurer(it, width)
} ?: 0
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt
index 22feae8..2699a0e 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TimePicker.kt
@@ -158,6 +158,11 @@
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.center
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFilter
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFirstOrNull
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.zIndex
import kotlin.math.PI
import kotlin.math.abs
@@ -924,7 +929,7 @@
) {
val measurePolicy = remember {
MeasurePolicy { measurables, constraints ->
- val spacer = measurables.first { it.layoutId == "Spacer" }
+ val spacer = measurables.fastFirst { it.layoutId == "Spacer" }
val spacerPlaceable = spacer.measure(
constraints.copy(
minWidth = 0,
@@ -932,7 +937,7 @@
)
)
- val items = measurables.filter { it.layoutId != "Spacer" }.map { item ->
+ val items = measurables.fastFilter { it.layoutId != "Spacer" }.fastMap { item ->
item.measure(
constraints.copy(
minWidth = 0,
@@ -969,7 +974,7 @@
) {
val measurePolicy = remember {
MeasurePolicy { measurables, constraints ->
- val spacer = measurables.first { it.layoutId == "Spacer" }
+ val spacer = measurables.fastFirst { it.layoutId == "Spacer" }
val spacerPlaceable = spacer.measure(
constraints.copy(
minHeight = 0,
@@ -977,7 +982,7 @@
)
)
- val items = measurables.filter { it.layoutId != "Spacer" }.map { item ->
+ val items = measurables.fastFilter { it.layoutId != "Spacer" }.fastMap { item ->
item.measure(
constraints.copy(
minHeight = 0,
@@ -1604,11 +1609,11 @@
) { measurables, constraints ->
val radiusPx = radius.toPx()
val itemConstraints = constraints.copy(minWidth = 0, minHeight = 0)
- val placeables = measurables.filter {
+ val placeables = measurables.fastFilter {
it.layoutId != LayoutId.Selector && it.layoutId != LayoutId.InnerCircle
- }.map { measurable -> measurable.measure(itemConstraints) }
- val selectorMeasurable = measurables.find { it.layoutId == LayoutId.Selector }
- val innerMeasurable = measurables.find { it.layoutId == LayoutId.InnerCircle }
+ }.fastMap { measurable -> measurable.measure(itemConstraints) }
+ val selectorMeasurable = measurables.fastFirstOrNull { it.layoutId == LayoutId.Selector }
+ val innerMeasurable = measurables.fastFirstOrNull { it.layoutId == LayoutId.InnerCircle }
val theta = FullCircle / (placeables.count())
val selectorPlaceable = selectorMeasurable?.measure(itemConstraints)
val innerCirclePlaceable = innerMeasurable?.measure(itemConstraints)
@@ -1619,7 +1624,7 @@
) {
selectorPlaceable?.place(0, 0)
- placeables.forEachIndexed { i, it ->
+ placeables.fastForEachIndexed { i, it ->
val centerOffsetX = constraints.maxWidth / 2 - it.width / 2
val centerOffsetY = constraints.maxHeight / 2 - it.height / 2
val offsetX = radiusPx * cos(theta * i - QuarterCircle) + centerOffsetX
@@ -1717,7 +1722,7 @@
private val MinimumInteractiveSize = 48.dp
private val Minutes = listOf(0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55)
private val Hours = listOf(12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-private val ExtraHours = Hours.map { (it % 12 + 12) }
+private val ExtraHours = Hours.fastMap { (it % 12 + 12) }
private val PeriodToggleMargin = 12.dp
/**
diff --git a/compose/material3/material3/src/jvmMain/kotlin/androidx/compose/material3/LegacyCalendarModelImpl.kt b/compose/material3/material3/src/jvmMain/kotlin/androidx/compose/material3/LegacyCalendarModelImpl.kt
index 1220153..7fea1e3 100644
--- a/compose/material3/material3/src/jvmMain/kotlin/androidx/compose/material3/LegacyCalendarModelImpl.kt
+++ b/compose/material3/material3/src/jvmMain/kotlin/androidx/compose/material3/LegacyCalendarModelImpl.kt
@@ -16,6 +16,7 @@
package androidx.compose.material3
+import androidx.compose.ui.util.fastForEachIndexed
import java.text.DateFormat
import java.text.DateFormatSymbols
import java.text.ParseException
@@ -56,7 +57,7 @@
val shortWeekdays = DateFormatSymbols(locale).shortWeekdays
// Skip the first item, as it's empty, and the second item, as it represents Sunday while it
// should be last according to ISO-8601.
- weekdays.drop(2).forEachIndexed { index, day ->
+ weekdays.drop(2).fastForEachIndexed { index, day ->
add(Pair(day, shortWeekdays[index + 2]))
}
// Add Sunday to the end.
diff --git a/compose/ui/ui-text-google-fonts/lint-baseline.xml b/compose/ui/ui-text-google-fonts/lint-baseline.xml
index e45487ab..0ac1c03 100644
--- a/compose/ui/ui-text-google-fonts/lint-baseline.xml
+++ b/compose/ui/ui-text-google-fonts/lint-baseline.xml
@@ -2,34 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
- message="FontResourcesParserCompat.readCerts can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" return FontResourcesParserCompat.readCerts(resources, certificatesRes)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/text/googlefonts/FontProviderHelper.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FontResourcesParserCompat.readCerts can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" return FontResourcesParserCompat.readCerts(resources, certificatesRes)"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/text/googlefonts/FontProviderHelper.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FontResourcesParserCompat.readCerts can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" return FontResourcesParserCompat.readCerts(resources, certificatesRes)"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/text/googlefonts/FontProviderHelper.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontsContractCompat.requestFont can only be called from within the same library (androidx.core:core)"
errorLine1=" FontsContractCompat.requestFont("
errorLine2=" ~~~~~~~~~~~">
diff --git a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/font/PlatformTypefaces.kt b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/font/PlatformTypefaces.kt
index b86a1f0..9b8893e 100644
--- a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/font/PlatformTypefaces.kt
+++ b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/font/PlatformTypefaces.kt
@@ -23,8 +23,8 @@
import androidx.annotation.RequiresApi
import androidx.annotation.VisibleForTesting
import androidx.compose.ui.text.ExperimentalTextApi
-import androidx.compose.ui.text.fastJoinToString
import androidx.compose.ui.unit.Density
+import androidx.compose.ui.util.fastJoinToString
/**
* Primary internal interface for resolving typefaces from Android platform
diff --git a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt
index 1d1caa0..e745347 100644
--- a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt
+++ b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidFontListTypeface.android.kt
@@ -25,9 +25,6 @@
import androidx.collection.LruCache
import androidx.compose.ui.text.ExperimentalTextApi
import androidx.compose.ui.text.android.InternalPlatformTextApi
-import androidx.compose.ui.text.fastDistinctBy
-import androidx.compose.ui.text.fastFilter
-import androidx.compose.ui.text.fastFilterNotNull
import androidx.compose.ui.text.font.AndroidFont
import androidx.compose.ui.text.font.AndroidPreloadedFont
import androidx.compose.ui.text.font.Font
@@ -40,6 +37,9 @@
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.font.ResourceFont
import androidx.compose.ui.text.font.synthesizeTypeface
+import androidx.compose.ui.util.fastDistinctBy
+import androidx.compose.ui.util.fastFilter
+import androidx.compose.ui.util.fastFilterNotNull
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastMap
import androidx.core.content.res.ResourcesCompat
diff --git a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
index 972b324..1d92b39 100644
--- a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
+++ b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
@@ -51,7 +51,6 @@
import androidx.compose.ui.text.android.style.SkewXSpan
import androidx.compose.ui.text.android.style.TextDecorationSpan
import androidx.compose.ui.text.android.style.TypefaceSpan
-import androidx.compose.ui.text.fastFilter
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontStyle
@@ -72,6 +71,7 @@
import androidx.compose.ui.unit.TextUnitType
import androidx.compose.ui.unit.isUnspecified
import androidx.compose.ui.unit.sp
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastForEachIndexed
import kotlin.math.ceil
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/AnnotatedString.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/AnnotatedString.kt
index 3398b6a..99dba45 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/AnnotatedString.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/AnnotatedString.kt
@@ -22,6 +22,7 @@
import androidx.compose.ui.text.AnnotatedString.Range
import androidx.compose.ui.text.intl.LocaleList
import androidx.compose.ui.util.fastAny
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastMap
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraph.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraph.kt
index d6a9bbd..3ec3103 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraph.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraph.kt
@@ -34,6 +34,7 @@
import androidx.compose.ui.text.style.TextDecoration
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Density
+import androidx.compose.ui.util.fastFlatMap
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastMap
import kotlin.math.max
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics.kt
index cd86a8f..b1f07cb 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/MultiParagraphIntrinsics.kt
@@ -22,6 +22,7 @@
import androidx.compose.ui.text.style.TextDirection
import androidx.compose.ui.unit.Density
import androidx.compose.ui.util.fastAny
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.fastMaxBy
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/TempListUtils.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/TempListUtils.kt
deleted file mode 100644
index 4a01557..0000000
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/TempListUtils.kt
+++ /dev/null
@@ -1,288 +0,0 @@
-/*
- * Copyright 2021 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 androidx.compose.ui.text
-
-import androidx.compose.ui.util.fastForEach
-import kotlin.contracts.ExperimentalContracts
-import kotlin.contracts.contract
-
-// TODO: remove these when we can add new APIs to ui-util outside of beta cycle
-
-/**
- * Returns a list containing only elements matching the given [predicate].
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T> List<T>.fastFilter(predicate: (T) -> Boolean): List<T> {
- contract { callsInPlace(predicate) }
- val target = ArrayList<T>(size)
- fastForEach {
- if (predicate(it)) target += (it)
- }
- return target
-}
-
-/**
- * Returns a list containing only elements from the given collection
- * having distinct keys returned by the given [selector] function.
- *
- * The elements in the resulting list are in the same order as they were in the source collection.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, K> List<T>.fastDistinctBy(selector: (T) -> K): List<T> {
- contract { callsInPlace(selector) }
- val set = HashSet<K>(size)
- val target = ArrayList<T>(size)
- fastForEach { e ->
- val key = selector(e)
- if (set.add(key)) target += e
- }
- return target
-}
-
-/**
- * Returns the first element yielding the largest value of the given function or `null` if there
- * are no elements.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R : Comparable<R>> List<T>.fastMinByOrNull(selector: (T) -> R): T? {
- contract { callsInPlace(selector) }
- if (isEmpty()) return null
- var minElem = get(0)
- var minValue = selector(minElem)
- for (i in 1..lastIndex) {
- val e = get(i)
- val v = selector(e)
- if (minValue > v) {
- minElem = e
- minValue = v
- }
- }
- return minElem
-}
-
-/**
- * Accumulates value starting with [initial] value and applying [operation] from left to right
- * to current accumulator value and each element.
- *
- * Returns the specified [initial] value if the collection is empty.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- *
- * @param [operation] function that takes current accumulator value and an element, and calculates
- * the next accumulator value.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R> List<T>.fastFold(initial: R, operation: (acc: R, T) -> R): R {
- contract { callsInPlace(operation) }
- var accumulator = initial
- fastForEach { e ->
- accumulator = operation(accumulator, e)
- }
- return accumulator
-}
-
-/**
- * Returns a single list of all elements yielded from results of [transform] function being invoked
- * on each element of original collection.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R> List<T>.fastFlatMap(transform: (T) -> Iterable<R>): List<R> {
- contract { callsInPlace(transform) }
- val target = ArrayList<R>(size)
- fastForEach { e ->
- val list = transform(e)
- target.addAll(list)
- }
- return target
-}
-
-/**
- * Returns a list containing all elements not matching the given [predicate].
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T> List<T>.fastFilterNot(predicate: (T) -> Boolean): List<T> {
- contract { callsInPlace(predicate) }
- val target = ArrayList<T>(size)
- fastForEach {
- if (!predicate(it)) target += (it)
- }
- return target
-}
-
-/**
- * Returns a list containing all elements that are not null
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@OptIn(ExperimentalContracts::class)
-internal fun <T : Any> List<T?>.fastFilterNotNull(): List<T> {
- val target = ArrayList<T>(size)
- fastForEach {
- if ((it) != null) target += (it)
- }
- return target
-}
-
-/**
- * Returns a list containing the first elements satisfying the given [predicate].
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T> List<T>.fastTakeWhile(predicate: (T) -> Boolean): List<T> {
- contract { callsInPlace(predicate) }
- val target = ArrayList<T>(size)
- for (i in indices) {
- val item = get(i)
- if (!predicate(item))
- break
- target += item
- }
- return target
-}
-
-/**
- * Returns a list containing all elements except first [n] elements.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- *
- * @throws IllegalArgumentException if [n] is negative.
- */
-internal fun <T> List<T>.fastDrop(n: Int): List<T> {
- require(n >= 0) { "Requested element count $n is less than zero." }
- if (n == 0) {
- return this
- }
- val resultSize = size - n
- if (resultSize <= 0) {
- return emptyList()
- }
- if (resultSize == 1) {
- return listOf(last())
- }
- val target = ArrayList<T>(resultSize)
- for (index in n until size) {
- target += get(index)
- }
- return target
-}
-
-/**
- * Creates a string from all the elements separated using [separator] and using the given [prefix]
- * and [postfix] if supplied.
- *
- * If the collection could be huge, you can specify a non-negative value of [limit], in which case
- * only the first [limit] elements will be appended, followed by the [truncated] string (which
- * defaults to "...").
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-internal fun <T> List<T>.fastJoinToString(
- separator: CharSequence = ", ",
- prefix: CharSequence = "",
- postfix: CharSequence = "",
- limit: Int = -1,
- truncated: CharSequence = "...",
- transform: ((T) -> CharSequence)? = null
-): String {
- return fastJoinTo(StringBuilder(), separator, prefix, postfix, limit, truncated, transform)
- .toString()
-}
-
-/**
- * Appends the string from all the elements separated using [separator] and using the given
- * [prefix] and [postfix] if supplied.
- *
- * If the collection could be huge, you can specify a non-negative value of [limit], in which
- * case only the first [limit] elements will be appended, followed by the [truncated] string
- * (which defaults to "...").
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-private fun <T, A : Appendable> List<T>.fastJoinTo(
- buffer: A,
- separator: CharSequence = ", ",
- prefix: CharSequence = "",
- postfix: CharSequence = "",
- limit: Int = -1,
- truncated: CharSequence = "...",
- transform: ((T) -> CharSequence)? = null
-): A {
- buffer.append(prefix)
- var count = 0
- for (index in indices) {
- val element = get(index)
- if (++count > 1) buffer.append(separator)
- if (limit < 0 || count <= limit) {
- buffer.appendElement(element, transform)
- } else break
- }
- if (limit >= 0 && count > limit) buffer.append(truncated)
- buffer.append(postfix)
- return buffer
-}
-
-/**
- * Copied from Appendable.kt
- */
-private fun <T> Appendable.appendElement(element: T, transform: ((T) -> CharSequence)?) {
- when {
- transform != null -> append(transform(element))
- element is CharSequence? -> append(element)
- element is Char -> append(element)
- else -> append(element.toString())
- }
-}
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontListFontFamilyTypefaceAdapter.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontListFontFamilyTypefaceAdapter.kt
index 9d0e94c..6d6662d 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontListFontFamilyTypefaceAdapter.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontListFontFamilyTypefaceAdapter.kt
@@ -22,10 +22,10 @@
import androidx.compose.runtime.setValue
import androidx.compose.ui.text.caches.LruCache
import androidx.compose.ui.text.caches.SimpleArrayMap
-import androidx.compose.ui.text.fastDistinctBy
-import androidx.compose.ui.text.fastFilter
import androidx.compose.ui.text.platform.createSynchronizedObject
import androidx.compose.ui.text.platform.synchronized
+import androidx.compose.ui.util.fastDistinctBy
+import androidx.compose.ui.util.fastFilter
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastMap
import kotlin.coroutines.CoroutineContext
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontMatcher.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontMatcher.kt
index b227277..bfe532b 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontMatcher.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/font/FontMatcher.kt
@@ -16,7 +16,7 @@
package androidx.compose.ui.text.font
-import androidx.compose.ui.text.fastFilter
+import androidx.compose.ui.util.fastFilter
/**
* Given a [FontFamily], [FontWeight] and [FontStyle], matches the best font in the [FontFamily]
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/TextDecoration.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/TextDecoration.kt
index 3244f63..c107fbc 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/TextDecoration.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/TextDecoration.kt
@@ -17,8 +17,8 @@
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
-import androidx.compose.ui.text.fastFold
-import androidx.compose.ui.text.fastJoinToString
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastJoinToString
/**
* Defines a horizontal line to be drawn on the text.
diff --git a/compose/ui/ui-text/src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt b/compose/ui/ui-text/src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt
index 62a82c2..d500695 100644
--- a/compose/ui/ui-text/src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt
+++ b/compose/ui/ui-text/src/jvmMain/kotlin/androidx/compose/ui/text/JvmAnnotatedString.jvm.kt
@@ -17,6 +17,7 @@
package androidx.compose.ui.text
import androidx.compose.ui.text.AnnotatedString.Range
+import androidx.compose.ui.util.fastFold
import androidx.compose.ui.util.fastMap
import java.util.SortedSet
diff --git a/compose/ui/ui-text/src/test/java/androidx/compose/ui/text/TextStyleTest.kt b/compose/ui/ui-text/src/test/java/androidx/compose/ui/text/TextStyleTest.kt
index 66378f5..040d279 100644
--- a/compose/ui/ui-text/src/test/java/androidx/compose/ui/text/TextStyleTest.kt
+++ b/compose/ui/ui-text/src/test/java/androidx/compose/ui/text/TextStyleTest.kt
@@ -49,6 +49,7 @@
import androidx.compose.ui.unit.em
import androidx.compose.ui.unit.isUnspecified
import androidx.compose.ui.unit.sp
+import androidx.compose.ui.util.fastDistinctBy
import com.google.common.truth.Truth.assertThat
import kotlin.reflect.KClass
import kotlin.reflect.KParameter
diff --git a/compose/ui/ui-util/api/current.txt b/compose/ui/ui-util/api/current.txt
index a4ae8f0..2c69b1c 100644
--- a/compose/ui/ui-util/api/current.txt
+++ b/compose/ui/ui-util/api/current.txt
@@ -17,15 +17,30 @@
public final class ListUtilsKt {
method public static inline <T> boolean fastAll(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
method public static inline <T> boolean fastAny(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
+ method public static inline <T, K> java.util.List<T> fastDistinctBy(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends K> selector);
+ method public static inline <T> java.util.List<T> fastFilter(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
+ method public static <T> java.util.List<T> fastFilterNotNull(java.util.List<? extends T>);
+ method public static inline <T> T fastFirst(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
method public static inline <T> T? fastFirstOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
+ method public static inline <T, R> java.util.List<R> fastFlatMap(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends java.lang.Iterable<? extends R>> transform);
+ method public static inline <T, R> R fastFold(java.util.List<? extends T>, R initial, kotlin.jvm.functions.Function2<? super R,? super T,? extends R> operation);
method public static inline <T> void fastForEach(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action);
method public static inline <T> void fastForEachIndexed(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> action);
method public static inline <T> void fastForEachReversed(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action);
+ method public static <T> String fastJoinToString(java.util.List<? extends T>, optional CharSequence separator, optional CharSequence prefix, optional CharSequence postfix, optional int limit, optional CharSequence truncated, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.CharSequence>? transform);
method public static inline <T> T? fastLastOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
method public static inline <T, R> java.util.List<R> fastMap(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> transform);
+ method public static inline <T, R> java.util.List<R> fastMapIndexed(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform);
+ method public static inline <T, R> java.util.List<R> fastMapIndexedNotNull(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform);
+ method public static inline <T, R> java.util.List<R> fastMapNotNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> transform);
method public static inline <T, R, C extends java.util.Collection<? super R>> C fastMapTo(java.util.List<? extends T>, C destination, kotlin.jvm.functions.Function1<? super T,? extends R> transform);
method public static inline <T, R extends java.lang.Comparable<? super R>> T? fastMaxBy(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> selector);
+ method public static inline <T, R extends java.lang.Comparable<? super R>> R? fastMaxOfOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> selector);
+ method public static inline <T, R extends java.lang.Comparable<? super R>> T? fastMinByOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> selector);
+ method public static inline <S, T extends S> S fastReduce(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super S,? super T,? extends S> operation);
method public static inline <T> int fastSumBy(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Integer> selector);
+ method public static inline <T, R, V> java.util.List<V> fastZip(java.util.List<? extends T>, java.util.List<? extends R> other, kotlin.jvm.functions.Function2<? super T,? super R,? extends V> transform);
+ method public static inline <T, R> java.util.List<R> fastZipWithNext(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super T,? super T,? extends R> transform);
}
public final class MathHelpersKt {
diff --git a/compose/ui/ui-util/api/restricted_current.txt b/compose/ui/ui-util/api/restricted_current.txt
index a4ae8f0..2c69b1c 100644
--- a/compose/ui/ui-util/api/restricted_current.txt
+++ b/compose/ui/ui-util/api/restricted_current.txt
@@ -17,15 +17,30 @@
public final class ListUtilsKt {
method public static inline <T> boolean fastAll(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
method public static inline <T> boolean fastAny(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
+ method public static inline <T, K> java.util.List<T> fastDistinctBy(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends K> selector);
+ method public static inline <T> java.util.List<T> fastFilter(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
+ method public static <T> java.util.List<T> fastFilterNotNull(java.util.List<? extends T>);
+ method public static inline <T> T fastFirst(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
method public static inline <T> T? fastFirstOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
+ method public static inline <T, R> java.util.List<R> fastFlatMap(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends java.lang.Iterable<? extends R>> transform);
+ method public static inline <T, R> R fastFold(java.util.List<? extends T>, R initial, kotlin.jvm.functions.Function2<? super R,? super T,? extends R> operation);
method public static inline <T> void fastForEach(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action);
method public static inline <T> void fastForEachIndexed(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> action);
method public static inline <T> void fastForEachReversed(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> action);
+ method public static <T> String fastJoinToString(java.util.List<? extends T>, optional CharSequence separator, optional CharSequence prefix, optional CharSequence postfix, optional int limit, optional CharSequence truncated, optional kotlin.jvm.functions.Function1<? super T,? extends java.lang.CharSequence>? transform);
method public static inline <T> T? fastLastOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate);
method public static inline <T, R> java.util.List<R> fastMap(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> transform);
+ method public static inline <T, R> java.util.List<R> fastMapIndexed(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform);
+ method public static inline <T, R> java.util.List<R> fastMapIndexedNotNull(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform);
+ method public static inline <T, R> java.util.List<R> fastMapNotNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> transform);
method public static inline <T, R, C extends java.util.Collection<? super R>> C fastMapTo(java.util.List<? extends T>, C destination, kotlin.jvm.functions.Function1<? super T,? extends R> transform);
method public static inline <T, R extends java.lang.Comparable<? super R>> T? fastMaxBy(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> selector);
+ method public static inline <T, R extends java.lang.Comparable<? super R>> R? fastMaxOfOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> selector);
+ method public static inline <T, R extends java.lang.Comparable<? super R>> T? fastMinByOrNull(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,? extends R> selector);
+ method public static inline <S, T extends S> S fastReduce(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super S,? super T,? extends S> operation);
method public static inline <T> int fastSumBy(java.util.List<? extends T>, kotlin.jvm.functions.Function1<? super T,java.lang.Integer> selector);
+ method public static inline <T, R, V> java.util.List<V> fastZip(java.util.List<? extends T>, java.util.List<? extends R> other, kotlin.jvm.functions.Function2<? super T,? super R,? extends V> transform);
+ method public static inline <T, R> java.util.List<R> fastZipWithNext(java.util.List<? extends T>, kotlin.jvm.functions.Function2<? super T,? super T,? extends R> transform);
}
public final class MathHelpersKt {
diff --git a/compose/ui/ui-util/src/commonMain/kotlin/androidx/compose/ui/util/ListUtils.kt b/compose/ui/ui-util/src/commonMain/kotlin/androidx/compose/ui/util/ListUtils.kt
index 217cc13..bb8caf3 100644
--- a/compose/ui/ui-util/src/commonMain/kotlin/androidx/compose/ui/util/ListUtils.kt
+++ b/compose/ui/ui-util/src/commonMain/kotlin/androidx/compose/ui/util/ListUtils.kt
@@ -221,3 +221,374 @@
}
return null
}
+
+/**
+ * Returns a list containing only elements matching the given [predicate].
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+@OptIn(ExperimentalContracts::class)
+inline fun <T> List<T>.fastFilter(predicate: (T) -> Boolean): List<T> {
+ contract { callsInPlace(predicate) }
+ val target = ArrayList<T>(size)
+ fastForEach {
+ if (predicate(it)) target += (it)
+ }
+ return target
+}
+
+/**
+ * Accumulates value starting with [initial] value and applying [operation] from left to right
+ * to current accumulator value and each element.
+ *
+ * Returns the specified [initial] value if the collection is empty.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R> List<T>.fastFold(initial: R, operation: (acc: R, T) -> R): R {
+ contract { callsInPlace(operation) }
+ var accumulator = initial
+ fastForEach { e ->
+ accumulator = operation(accumulator, e)
+ }
+ return accumulator
+}
+
+/**
+ * Returns a list containing the results of applying the given [transform] function
+ * to each element in the original collection.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@OptIn(ExperimentalContracts::class)
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+inline fun <T, R> List<T>.fastMapIndexed(
+ transform: (index: Int, T) -> R
+): List<R> {
+ contract { callsInPlace(transform) }
+ val target = ArrayList<R>(size)
+ fastForEachIndexed { index, e ->
+ target += transform(index, e)
+ }
+ return target
+}
+
+/**
+ * Returns a list containing the results of applying the given [transform] function
+ * to each element in the original collection.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@OptIn(ExperimentalContracts::class)
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+inline fun <T, R> List<T>.fastMapIndexedNotNull(
+ transform: (index: Int, T) -> R?
+): List<R> {
+ contract { callsInPlace(transform) }
+ val target = ArrayList<R>(size)
+ fastForEachIndexed { index, e ->
+ transform(index, e)?.let { target += it }
+ }
+ return target
+}
+
+/**
+ * Returns the largest value among all values produced by selector function applied to each element
+ * in the collection or null if there are no elements.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R : Comparable<R>> List<T>.fastMaxOfOrNull(selector: (T) -> R): R? {
+ contract { callsInPlace(selector) }
+ if (isEmpty()) return null
+ var maxValue = selector(get(0))
+ for (i in 1..lastIndex) {
+ val v = selector(get(i))
+ if (v > maxValue) maxValue = v
+ }
+ return maxValue
+}
+
+/**
+ * Returns a list containing the results of applying the given [transform] function
+ * to each pair of two adjacent elements in this collection.
+ *
+ * The returned list is empty if this collection contains less than two elements.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn")
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R> List<T>.fastZipWithNext(transform: (T, T) -> R): List<R> {
+ contract { callsInPlace(transform) }
+ if (size == 0 || size == 1) return emptyList()
+ val result = mutableListOf<R>()
+ var current = get(0)
+ // `until` as we don't want to invoke this for the last element, since that won't have a `next`
+ for (i in 0 until lastIndex) {
+ val next = get(i + 1)
+ result.add(transform(current, next))
+ current = next
+ }
+ return result
+}
+
+/**
+ * Accumulates value starting with the first element and applying [operation] from left to right
+ * to current accumulator value and each element.
+ *
+ * Throws an exception if this collection is empty. If the collection can be empty in an expected
+ * way, please use [reduceOrNull] instead. It returns `null` when its receiver is empty.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ *
+ * @param [operation] function that takes current accumulator value and an element,
+ * and calculates the next accumulator value.
+ *
+ * @throws UnsupportedOperationException if this collection is empty
+ */
+@Suppress("BanInlineOptIn")
+@OptIn(ExperimentalContracts::class)
+inline fun <S, T : S> List<T>.fastReduce(operation: (acc: S, T) -> S): S {
+ contract { callsInPlace(operation) }
+ if (isEmpty()) throw UnsupportedOperationException("Empty collection can't be reduced.")
+ var accumulator: S = first()
+ for (i in 1..lastIndex) {
+ accumulator = operation(accumulator, get(i))
+ }
+ return accumulator
+}
+
+/**
+ * Returns a list of values built from the elements of `this` collection and the [other] collection with the same index
+ * using the provided [transform] function applied to each pair of elements.
+ * The returned list has length of the shortest collection.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn")
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R, V> List<T>.fastZip(
+ other: List<R>,
+ transform: (a: T, b: R) -> V
+): List<V> {
+ contract { callsInPlace(transform) }
+ val minSize = minOf(size, other.size)
+ val target = ArrayList<V>(minSize)
+ for (i in 0 until minSize) {
+ target += (transform(get(i), other[i]))
+ }
+ return target
+}
+
+/**
+ * Returns a list containing the results of applying the given [transform] function
+ * to each element in the original collection.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn")
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R> List<T>.fastMapNotNull(transform: (T) -> R?): List<R> {
+ contract { callsInPlace(transform) }
+ val target = ArrayList<R>(size)
+ fastForEach { e ->
+ transform(e)?.let { target += it }
+ }
+ return target
+}
+
+/**
+ * Creates a string from all the elements separated using [separator] and using the given [prefix]
+ * and [postfix] if supplied.
+ *
+ * If the collection could be huge, you can specify a non-negative value of [limit], in which case
+ * only the first [limit] elements will be appended, followed by the [truncated] string (which
+ * defaults to "...").
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+fun <T> List<T>.fastJoinToString(
+ separator: CharSequence = ", ",
+ prefix: CharSequence = "",
+ postfix: CharSequence = "",
+ limit: Int = -1,
+ truncated: CharSequence = "...",
+ transform: ((T) -> CharSequence)? = null
+): String {
+ return fastJoinTo(StringBuilder(), separator, prefix, postfix, limit, truncated, transform)
+ .toString()
+}
+
+/**
+ * Returns a list containing only elements from the given collection
+ * having distinct keys returned by the given [selector] function.
+ *
+ * The elements in the resulting list are in the same order as they were in the source collection.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+@OptIn(ExperimentalContracts::class)
+inline fun <T, K> List<T>.fastDistinctBy(selector: (T) -> K): List<T> {
+ contract { callsInPlace(selector) }
+ val set = HashSet<K>(size)
+ val target = ArrayList<T>(size)
+ fastForEach { e ->
+ val key = selector(e)
+ if (set.add(key)) target += e
+ }
+ return target
+}
+
+/**
+ * Returns the first element yielding the largest value of the given function or `null` if there
+ * are no elements.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R : Comparable<R>> List<T>.fastMinByOrNull(selector: (T) -> R): T? {
+ contract { callsInPlace(selector) }
+ if (isEmpty()) return null
+ var minElem = get(0)
+ var minValue = selector(minElem)
+ for (i in 1..lastIndex) {
+ val e = get(i)
+ val v = selector(e)
+ if (minValue > v) {
+ minElem = e
+ minValue = v
+ }
+ }
+ return minElem
+}
+
+/**
+ * Returns a single list of all elements yielded from results of [transform] function being invoked
+ * on each element of original collection.
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+@Suppress("BanInlineOptIn") // Treat Kotlin Contracts as non-experimental.
+@OptIn(ExperimentalContracts::class)
+inline fun <T, R> List<T>.fastFlatMap(transform: (T) -> Iterable<R>): List<R> {
+ contract { callsInPlace(transform) }
+ val target = ArrayList<R>(size)
+ fastForEach { e ->
+ val list = transform(e)
+ target.addAll(list)
+ }
+ return target
+}
+
+/**
+ * Returns a list containing all elements that are not null
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+fun <T : Any> List<T?>.fastFilterNotNull(): List<T> {
+ val target = ArrayList<T>(size)
+ fastForEach {
+ if ((it) != null) target += (it)
+ }
+ return target
+}
+
+/**
+ * Returns the first value that [predicate] returns `true` for
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ *
+ * @throws [NoSuchElementException] if no such element is found
+ */
+@Suppress("BanInlineOptIn")
+@OptIn(ExperimentalContracts::class)
+inline fun <T> List<T>.fastFirst(predicate: (T) -> Boolean): T {
+ contract { callsInPlace(predicate) }
+ fastForEach { if (predicate(it)) return it }
+ throw NoSuchElementException("Collection contains no element matching the predicate.")
+}
+
+/**
+ * Appends the string from all the elements separated using [separator] and using the given
+ * [prefix] and [postfix] if supplied.
+ *
+ * If the collection could be huge, you can specify a non-negative value of [limit], in which
+ * case only the first [limit] elements will be appended, followed by the [truncated] string
+ * (which defaults to "...").
+ *
+ * **Do not use for collections that come from public APIs**, since they may not support random
+ * access in an efficient way, and this method may actually be a lot slower. Only use for
+ * collections that are created by code we control and are known to support random access.
+ */
+private fun <T, A : Appendable> List<T>.fastJoinTo(
+ buffer: A,
+ separator: CharSequence = ", ",
+ prefix: CharSequence = "",
+ postfix: CharSequence = "",
+ limit: Int = -1,
+ truncated: CharSequence = "...",
+ transform: ((T) -> CharSequence)? = null
+): A {
+ buffer.append(prefix)
+ var count = 0
+ for (index in indices) {
+ val element = get(index)
+ if (++count > 1) buffer.append(separator)
+ if (limit < 0 || count <= limit) {
+ buffer.appendElement(element, transform)
+ } else break
+ }
+ if (limit >= 0 && count > limit) buffer.append(truncated)
+ buffer.append(postfix)
+ return buffer
+}
+
+/**
+ * Copied from Appendable.kt
+ */
+private fun <T> Appendable.appendElement(element: T, transform: ((T) -> CharSequence)?) {
+ when {
+ transform != null -> append(transform(element))
+ element is CharSequence? -> append(element)
+ element is Char -> append(element)
+ else -> append(element.toString())
+ }
+}
diff --git a/compose/ui/ui/lint-baseline.xml b/compose/ui/ui/lint-baseline.xml
index 5a92c32..cfa3fd2 100644
--- a/compose/ui/ui/lint-baseline.xml
+++ b/compose/ui/ui/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="BanHideTag"
@@ -56,303 +56,6 @@
</issue>
<issue
- id="RestrictedApi"
- message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" val typedArray = TypedArrayUtils.obtainAttributes("
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" res,"
- errorLine2=" ~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" theme,"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" set,"
- errorLine2=" ~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" attrs"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" val result = TypedArrayUtils.getNamedInt("
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" this,"
- errorLine2=" ~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" xmlParser,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" attrName,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" resId,"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" val result = TypedArrayUtils.getNamedFloat("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" this,"
- errorLine2=" ~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" xmlParser,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" attrName,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" resId,"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" val result = TypedArrayUtils.getNamedBoolean("
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" this,"
- errorLine2=" ~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" xmlParser,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" attrName,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" resId,"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" val result = TypedArrayUtils.getNamedComplexColor("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" this,"
- errorLine2=" ~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" xmlParser,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" theme,"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" attrName,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" resId, defaultValue"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" resId, defaultValue"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" val result = TypedArrayUtils.getNamedColorStateList("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" typedArray,"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" xmlParser,"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" theme,"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" attrName,"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)"
- errorLine1=" resId"
- errorLine2=" ~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/>
- </issue>
-
- <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AlignmentLine has parameter 'merger' with type Function2<? super Integer, ? super Integer, Integer>."
errorLine1=" internal val merger: (Int, Int) -> Int"
@@ -427,6 +130,15 @@
<issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollAction' with type AccessibilityAction<Function2<? super Float, ? super Float, ? extends Boolean>>."
+ errorLine1=" val scrollAction ="
+ errorLine2=" ^">
+ <location
+ file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/>
+ </issue>
+
+ <issue
+ id="PrimitiveInLambda"
+ message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollAction' with type AccessibilityAction<Function2<? super Float, ? super Float, ? extends Boolean>>."
errorLine1=" var scrollAction = scrollableAncestor?.config?.getOrNull(SemanticsActions.ScrollBy)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
diff --git a/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt b/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt
index 18e0502..ff887d0 100644
--- a/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt
+++ b/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt
@@ -52,7 +52,6 @@
import androidx.collection.SparseArrayCompat
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.R
-import androidx.compose.ui.fastJoinToString
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.graphics.toComposeRect
@@ -94,6 +93,7 @@
import androidx.compose.ui.unit.toSize
import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastJoinToString
import androidx.compose.ui.util.fastMap
import androidx.core.util.keyIterator
import androidx.core.view.AccessibilityDelegateCompat
diff --git a/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/CollectionInfo.kt b/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/CollectionInfo.kt
index 212864c..9a9447e 100644
--- a/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/CollectionInfo.kt
+++ b/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/accessibility/CollectionInfo.kt
@@ -16,8 +16,6 @@
package androidx.compose.ui.platform.accessibility
-import androidx.compose.ui.fastReduce
-import androidx.compose.ui.fastZipWithNext
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.semantics.CollectionInfo
import androidx.compose.ui.semantics.CollectionItemInfo
@@ -25,6 +23,8 @@
import androidx.compose.ui.semantics.SemanticsProperties
import androidx.compose.ui.semantics.getOrNull
import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastReduce
+import androidx.compose.ui.util.fastZipWithNext
import androidx.core.view.accessibility.AccessibilityNodeInfoCompat
import kotlin.math.abs
diff --git a/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/TempListUtils.kt b/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/TempListUtils.kt
deleted file mode 100644
index 1036bb6..0000000
--- a/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/TempListUtils.kt
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
- * Copyright 2021 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 androidx.compose.ui
-
-import androidx.compose.ui.util.fastForEach
-import kotlin.contracts.ExperimentalContracts
-import kotlin.contracts.contract
-
-// TODO: remove these when we can add new APIs to ui-util outside of beta cycle
-
-/**
- * Returns a list containing the results of applying the given [transform] function
- * to each pair of two adjacent elements in this collection.
- *
- * The returned list is empty if this collection contains less than two elements.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn")
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R> List<T>.fastZipWithNext(transform: (T, T) -> R): List<R> {
- contract { callsInPlace(transform) }
- if (size == 0 || size == 1) return emptyList()
- val result = mutableListOf<R>()
- var current = get(0)
- // `until` as we don't want to invoke this for the last element, since that won't have a `next`
- for (i in 0 until lastIndex) {
- val next = get(i + 1)
- result.add(transform(current, next))
- current = next
- }
- return result
-}
-
-/**
- * Accumulates value starting with the first element and applying [operation] from left to right
- * to current accumulator value and each element.
- *
- * Throws an exception if this collection is empty. If the collection can be empty in an expected
- * way, please use [reduceOrNull] instead. It returns `null` when its receiver is empty.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- *
- * @param [operation] function that takes current accumulator value and an element,
- * and calculates the next accumulator value.
- */
-@Suppress("BanInlineOptIn")
-@OptIn(ExperimentalContracts::class)
-internal inline fun <S, T : S> List<T>.fastReduce(operation: (acc: S, T) -> S): S {
- contract { callsInPlace(operation) }
- if (isEmpty()) throw UnsupportedOperationException("Empty collection can't be reduced.")
- var accumulator: S = first()
- for (i in 1..lastIndex) {
- accumulator = operation(accumulator, get(i))
- }
- return accumulator
-}
-
-/**
- * Returns a [Map] containing key-value pairs provided by [transform] function
- * applied to elements of the given collection.
- *
- * If any of two pairs would have the same key the last one gets added to the map.
- *
- * The returned map preserves the entry iteration order of the original collection.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn")
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, K, V> List<T>.fastAssociate(transform: (T) -> Pair<K, V>): Map<K, V> {
- contract { callsInPlace(transform) }
- val target = LinkedHashMap<K, V>(size)
- fastForEach { e ->
- target += transform(e)
- }
- return target
-}
-
-/**
- * Returns a list of values built from the elements of `this` collection and the [other] collection with the same index
- * using the provided [transform] function applied to each pair of elements.
- * The returned list has length of the shortest collection.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn")
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R, V> List<T>.fastZip(
- other: List<R>,
- transform: (a: T, b: R) -> V
-): List<V> {
- contract { callsInPlace(transform) }
- val minSize = minOf(size, other.size)
- val target = ArrayList<V>(minSize)
- for (i in 0 until minSize) {
- target += (transform(get(i), other[i]))
- }
- return target
-}
-
-/**
- * Returns a list containing the results of applying the given [transform] function
- * to each element in the original collection.
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-@Suppress("BanInlineOptIn")
-@OptIn(ExperimentalContracts::class)
-internal inline fun <T, R> List<T>.fastMapNotNull(transform: (T) -> R?): List<R> {
- contract { callsInPlace(transform) }
- val target = ArrayList<R>(size)
- fastForEach { e ->
- transform(e)?.let { target += it }
- }
- return target
-}
-
-/**
- * Creates a string from all the elements separated using [separator] and using the given [prefix]
- * and [postfix] if supplied.
- *
- * If the collection could be huge, you can specify a non-negative value of [limit], in which case
- * only the first [limit] elements will be appended, followed by the [truncated] string (which
- * defaults to "...").
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-internal fun <T> List<T>.fastJoinToString(
- separator: CharSequence = ", ",
- prefix: CharSequence = "",
- postfix: CharSequence = "",
- limit: Int = -1,
- truncated: CharSequence = "...",
- transform: ((T) -> CharSequence)? = null
-): String {
- return fastJoinTo(StringBuilder(), separator, prefix, postfix, limit, truncated, transform)
- .toString()
-}
-
-/**
- * Appends the string from all the elements separated using [separator] and using the given
- * [prefix] and [postfix] if supplied.
- *
- * If the collection could be huge, you can specify a non-negative value of [limit], in which
- * case only the first [limit] elements will be appended, followed by the [truncated] string
- * (which defaults to "...").
- *
- * **Do not use for collections that come from public APIs**, since they may not support random
- * access in an efficient way, and this method may actually be a lot slower. Only use for
- * collections that are created by code we control and are known to support random access.
- */
-private fun <T, A : Appendable> List<T>.fastJoinTo(
- buffer: A,
- separator: CharSequence = ", ",
- prefix: CharSequence = "",
- postfix: CharSequence = "",
- limit: Int = -1,
- truncated: CharSequence = "...",
- transform: ((T) -> CharSequence)? = null
-): A {
- buffer.append(prefix)
- var count = 0
- for (index in indices) {
- val element = get(index)
- if (++count > 1) buffer.append(separator)
- if (limit < 0 || count <= limit) {
- buffer.appendElement(element, transform)
- } else break
- }
- if (limit >= 0 && count > limit) buffer.append(truncated)
- buffer.append(postfix)
- return buffer
-}
-
-/**
- * Copied from Appendable.kt
- */
-private fun <T> Appendable.appendElement(element: T, transform: ((T) -> CharSequence)?) {
- when {
- transform != null -> append(transform(element))
- element is CharSequence? -> append(element)
- element is Char -> append(element)
- else -> append(element.toString())
- }
-}
diff --git a/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/input/pointer/SuspendingPointerInputFilter.kt b/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/input/pointer/SuspendingPointerInputFilter.kt
index ddf5d9e..b4743ae 100644
--- a/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/input/pointer/SuspendingPointerInputFilter.kt
+++ b/compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/input/pointer/SuspendingPointerInputFilter.kt
@@ -18,7 +18,6 @@
import androidx.compose.runtime.collection.mutableVectorOf
import androidx.compose.ui.Modifier
-import androidx.compose.ui.fastMapNotNull
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.internal.JvmDefaultWithCompatibility
import androidx.compose.ui.node.ModifierNodeElement
@@ -31,6 +30,7 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.util.fastAll
+import androidx.compose.ui.util.fastMapNotNull
import kotlin.coroutines.Continuation
import kotlin.coroutines.ContinuationInterceptor
import kotlin.coroutines.CoroutineContext
diff --git a/constraintlayout/constraintlayout-compose/lint-baseline.xml b/constraintlayout/constraintlayout-compose/lint-baseline.xml
index c1c9585..cacb99a 100644
--- a/constraintlayout/constraintlayout-compose/lint-baseline.xml
+++ b/constraintlayout/constraintlayout-compose/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
<issue
id="BanInlineOptIn"
@@ -47,123 +47,6 @@
</issue>
<issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val b = anchors.filter { it >= offset - 0.001 }.minOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (child in root.children) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" root.children.forEach { child ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (child in root.children) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (child in root.children) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (element in designElements) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" root.children.forEach { child ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (child in root.children) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (child in root.children) {"
- errorLine2=" ~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" root.children.forEach { constraintWidget ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" constraintWidget.anchors.forEach { anchor ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" helperReferences.forEach(helperReferencesArray::put)"
- errorLine2=" ~~~~~~~">
- <location
- file="src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt"/>
- </issue>
-
- <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setThresholds$lint_module has parameter '<set-?>' with type Function2<? super Float, ? super Float, Float>."
errorLine1=" internal var thresholds: (Float, Float) -> Float by mutableStateOf({ _, _ -> 0f })"
diff --git a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt
index 02423cd..337d63a 100644
--- a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt
+++ b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ConstraintLayout.kt
@@ -1765,6 +1765,7 @@
json.append(" bottom: ${root.height} ,")
json.append(" } }")
+ @Suppress("ListIterator")
for (child in root.children) {
val measurable = child.companionWidget
if (measurable !is Measurable) {
@@ -1906,13 +1907,13 @@
if (DEBUG) {
root.debugName = "ConstraintLayout"
- root.children.forEach { child ->
+ root.children.fastForEach { child ->
child.debugName =
(child.companionWidget as? Measurable)?.layoutId?.toString() ?: "NOTAG"
}
Log.d("CCL", "ConstraintLayout is asked to measure with $constraints")
Log.d("CCL", root.toDebugString())
- for (child in root.children) {
+ root.children.fastForEach { child ->
Log.d("CCL", child.toDebugString())
}
}
@@ -1969,6 +1970,7 @@
fun Placeable.PlacementScope.performLayout(measurables: List<Measurable>) {
if (frameCache.isEmpty()) {
+ @Suppress("ListIterator")
for (child in root.children) {
val measurable = child.companionWidget
if (measurable !is Measurable) continue
@@ -2108,7 +2110,7 @@
@Composable
fun createDesignElements() {
- for (element in designElements) {
+ designElements.fastForEach { element ->
var id = element.id
var function = DesignElements.map[element.type]
if (function != null) {
diff --git a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt
index dd09496..63edc79 100644
--- a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt
+++ b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/MotionMeasurer.kt
@@ -64,7 +64,7 @@
if (DEBUG) {
root.debugName = "ConstraintLayout"
- root.children.forEach { child ->
+ root.children.fastForEach { child ->
child.debugName =
(child.companionWidget as? Measurable)?.layoutId?.toString() ?: "NOTAG"
}
@@ -284,7 +284,7 @@
val pos = IntArray(50)
val key = FloatArray(100)
- for (child in root.children) {
+ root.children.fastForEach { child ->
val start = transition.getStart(child.stringId)
val end = transition.getEnd(child.stringId)
val interpolated = transition.getInterpolated(child.stringId)
@@ -325,7 +325,7 @@
) {
val pathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f)
- for (child in root.children) {
+ root.children.fastForEach { child ->
val startFrame = transition.getStart(child)
val endFrame = transition.getEnd(child)
if (drawBounds) {
diff --git a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt
index 0cd828b..515abc7 100644
--- a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt
+++ b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/ToolingUtils.kt
@@ -20,6 +20,7 @@
import androidx.compose.ui.layout.layoutId
import androidx.compose.ui.semantics.SemanticsPropertyKey
import androidx.compose.ui.semantics.SemanticsPropertyReceiver
+import androidx.compose.ui.util.fastForEach
import androidx.constraintlayout.core.state.State.PARENT
import androidx.constraintlayout.core.widgets.ConstraintWidget
import androidx.constraintlayout.core.widgets.ConstraintWidgetContainer
@@ -76,7 +77,7 @@
withConstraints = it shr CONSTRAINTS == 1
}
- root.children.forEach { constraintWidget ->
+ root.children.fastForEach { constraintWidget ->
val constraintsInfoArray = JSONArray()
val helperReferences = mutableListOf<String>()
val isHelper = constraintWidget is HelperWidget
@@ -86,7 +87,7 @@
addReferencesIds(constraintWidget as HelperWidget, helperReferences, root, rootId)
}
- constraintWidget.anchors.forEach { anchor ->
+ constraintWidget.anchors.fastForEach { anchor ->
if (anchor.isConnected) {
val targetWidget = anchor.target.owner
val targetIsParent = root == targetWidget
@@ -186,7 +187,7 @@
viewWithBoundsAndConstraints.put("isRoot", isRoot)
val helperReferencesArray = JSONArray()
- helperReferences.forEach(helperReferencesArray::put)
+ helperReferences.fastForEach(helperReferencesArray::put)
viewWithBoundsAndConstraints.put("helperReferences", helperReferencesArray)
if (withConstraints) {
diff --git a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt
index a0bb06f..4a1d531 100644
--- a/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt
+++ b/constraintlayout/constraintlayout-compose/src/androidMain/kotlin/androidx/constraintlayout/compose/carousel/CarouselSwipeable.kt
@@ -48,6 +48,8 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastMaxBy
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.PI
import kotlin.math.abs
@@ -717,8 +719,8 @@
anchors: Set<Float>
): List<Float> {
// Find the anchors the target lies between with a little bit of rounding error.
- val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()
- val b = anchors.filter { it >= offset - 0.001 }.minOrNull()
+ val a = anchors.filter { it <= offset + 0.001 }.fastMaxBy { it }
+ val b = anchors.filter { it >= offset - 0.001 }.fastMinByOrNull { it }
return when {
a == null ->
diff --git a/core/core-location-altitude/lint-baseline.xml b/core/core-location-altitude/lint-baseline.xml
index f8fe95f..034c3b4 100644
--- a/core/core-location-altitude/lint-baseline.xml
+++ b/core/core-location-altitude/lint-baseline.xml
@@ -2,8 +2,8 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" int sizeIj = 1 << (S2CellIdUtils.MAX_LEVEL - params.getMapS2Level());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -11,8 +11,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" long z11 = S2CellIdUtils.getParent(s2CellId, params.getMapS2Level());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -20,8 +20,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" params.getMapS2Level()),"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -29,8 +29,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" params.getMapS2Level()),"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -38,8 +38,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" params.getMapS2Level())"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -47,8 +47,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" double sizeIj = 1 << (S2CellIdUtils.MAX_LEVEL - params.getMapS2Level());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -56,8 +56,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getModelRmseMeters can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getModelRmseMeters can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" (float) Math.hypot(verticalAccuracyMeters, params.getModelRmseMeters()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -65,8 +65,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getCacheTileS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getCacheTileS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" return S2CellIdUtils.getParent(s2CellId, params.getCacheTileS2Level());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -74,8 +74,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getDiskTileS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getDiskTileS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" S2CellIdUtils.getParent(s2CellId, params.getDiskTileS2Level()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -83,8 +83,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="S2TileProto.getByteBuffer can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="S2TileProto.getByteBuffer can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" ByteString byteString = tiles[tileIndex].getByteBuffer();"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -92,8 +92,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="ByteString.isEmpty can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="ByteString.isEmpty can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" if (byteString.isEmpty()) {"
errorLine2=" ~~~~~~~">
<location
@@ -101,8 +101,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="ByteString.asReadOnlyByteBuffer can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="ByteString.asReadOnlyByteBuffer can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" ByteBuffer byteBuffer = byteString.asReadOnlyByteBuffer();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
@@ -110,8 +110,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" params.getMapS2Level() - Integer.numberOfTrailingZeros(byteBuffer.limit()) / 2;"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -119,8 +119,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" int numBitsRightOfMap = 2 * (S2CellIdUtils.MAX_LEVEL - params.getMapS2Level()) + 1;"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -128,8 +128,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="S2TileProto.getByteJpeg can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="S2TileProto.getByteJpeg can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" mergeByteImageValues(params, tiles[tileIndex].getByteJpeg(), s2CellIds, tiles, tileIndex,"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -137,8 +137,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="S2TileProto.getBytePng can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="S2TileProto.getBytePng can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" mergeByteImageValues(params, tiles[tileIndex].getBytePng(), s2CellIds, tiles, tileIndex,"
errorLine2=" ~~~~~~~~~~">
<location
@@ -146,8 +146,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="ByteString.isEmpty can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="ByteString.isEmpty can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" if (byteString.isEmpty()) {"
errorLine2=" ~~~~~~~">
<location
@@ -155,8 +155,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="ByteString.newInput can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="ByteString.newInput can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" try (InputStream inputStream = byteString.newInput()) {"
errorLine2=" ~~~~~~~~">
<location
@@ -164,8 +164,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" return (iOrJ >> (S2CellIdUtils.MAX_LEVEL - params.getMapS2Level())) % widthOrHeight;"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -173,8 +173,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" Preconditions.checkArgument(S2CellIdUtils.getLevel(s2CellId) == params.getMapS2Level());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -182,8 +182,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getModelAMeters can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getModelAMeters can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" heightsMeters[i] *= params.getModelAMeters();"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -191,8 +191,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getModelBMeters can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getModelBMeters can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" heightsMeters[i] += params.getModelBMeters();"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -200,8 +200,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getCacheTileS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getCacheTileS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" 1 << (2 * (params.getMapS2Level() - params.getCacheTileS2Level()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -209,8 +209,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" 1 << (2 * (params.getMapS2Level() - params.getCacheTileS2Level()));"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -218,8 +218,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.getMapS2Level can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.getMapS2Level can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" long s2CellId = S2CellIdUtils.getTraversalStart(cacheKeys[i], params.getMapS2Level());"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -227,8 +227,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="Builder.build can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="Builder.build can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" S2TileProto.newBuilder().setByteBuffer(ByteString.copyFrom(bytes)).build();"
errorLine2=" ~~~~~">
<location
@@ -236,8 +236,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="Builder.setByteBuffer can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="Builder.setByteBuffer can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" S2TileProto.newBuilder().setByteBuffer(ByteString.copyFrom(bytes)).build();"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -245,8 +245,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="ByteString.copyFrom can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="ByteString.copyFrom can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" S2TileProto.newBuilder().setByteBuffer(ByteString.copyFrom(bytes)).build();"
errorLine2=" ~~~~~~~~">
<location
@@ -254,8 +254,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="S2TileProto.newBuilder can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="S2TileProto.newBuilder can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" S2TileProto.newBuilder().setByteBuffer(ByteString.copyFrom(bytes)).build();"
errorLine2=" ~~~~~~~~~~">
<location
@@ -263,8 +263,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="AbstractMessageLite.toByteArray can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="AbstractMessageLite.toByteArray can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" return value.toByteArray();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -272,8 +272,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="MapParamsProto.parseFrom can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="MapParamsProto.parseFrom can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" return MapParamsProto.parseFrom(byteArray);"
errorLine2=" ~~~~~~~~~">
<location
@@ -281,8 +281,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="AbstractMessageLite.toByteArray can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="AbstractMessageLite.toByteArray can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" return tile.toByteArray();"
errorLine2=" ~~~~~~~~~~~">
<location
@@ -290,8 +290,8 @@
</issue>
<issue
- id="RestrictedApi"
- message="S2TileProto.parseFrom can only be called from within the same library (__local_aars__:/ssd/ssd5/androidx-main/out/androidx/core/core-location-altitude/build/repackaged/repackaged.jar)"
+ id="RestrictedApiAndroidX"
+ message="S2TileProto.parseFrom can only be called from within the same library (missing Maven coordinate due to repackaging)"
errorLine1=" return S2TileProto.parseFrom(byteArray);"
errorLine2=" ~~~~~~~~~">
<location
diff --git a/glance/glance-appwidget-preview/lint-baseline.xml b/glance/glance-appwidget-preview/lint-baseline.xml
deleted file mode 100644
index 88ba6f5..0000000
--- a/glance/glance-appwidget-preview/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .all { it }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/preview/ComposableInvoker.kt"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-appwidget-preview/src/main/java/androidx/glance/appwidget/preview/ComposableInvoker.kt b/glance/glance-appwidget-preview/src/main/java/androidx/glance/appwidget/preview/ComposableInvoker.kt
index 799ee8e..2e1cba7 100644
--- a/glance/glance-appwidget-preview/src/main/java/androidx/glance/appwidget/preview/ComposableInvoker.kt
+++ b/glance/glance-appwidget-preview/src/main/java/androidx/glance/appwidget/preview/ComposableInvoker.kt
@@ -33,6 +33,7 @@
* Returns true if the [methodTypes] and [actualTypes] are compatible. This means that every
* `actualTypes[n]` are assignable to `methodTypes[n]`.
*/
+ @Suppress("ListIterator")
private fun compatibleTypes(
methodTypes: Array<Class<*>>,
actualTypes: Array<Class<*>>
diff --git a/glance/glance-appwidget/integration-tests/demos/lint-baseline.xml b/glance/glance-appwidget/integration-tests/demos/lint-baseline.xml
index b45623d..bfe0ecc 100644
--- a/glance/glance-appwidget/integration-tests/demos/lint-baseline.xml
+++ b/glance/glance-appwidget/integration-tests/demos/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProviderKt.ColorProvider can only be called from within the same library group (referenced groupId=`androidx.glance` from groupId=`androidx.glance.glance-appwidget.integration-tests`)"
errorLine1=" color = ColorProvider(androidx.glance.R.color.glance_colorSecondary)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProviderKt.ColorProvider can only be called from within the same library group (referenced groupId=`androidx.glance` from groupId=`androidx.glance.glance-appwidget.integration-tests`)"
errorLine1=" color = ColorProvider(androidx.glance.R.color.glance_colorError),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProviderKt.ColorProvider can only be called from within the same library group (referenced groupId=`androidx.glance` from groupId=`androidx.glance.glance-appwidget.integration-tests`)"
errorLine1=" backgroundColor = ColorProvider("
errorLine2=" ~~~~~~~~~~~~~">
diff --git a/glance/glance-appwidget/integration-tests/macrobenchmark-target/lint-baseline.xml b/glance/glance-appwidget/integration-tests/macrobenchmark-target/lint-baseline.xml
index 6ac3114..d23bbd9 100644
--- a/glance/glance-appwidget/integration-tests/macrobenchmark-target/lint-baseline.xml
+++ b/glance/glance-appwidget/integration-tests/macrobenchmark-target/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Tracing.enabled can only be accessed from within the same library group (referenced groupId=`androidx.glance` from groupId=`androidx.glance.glance-appwidget.integration-tests`)"
errorLine1=" Tracing.enabled.set(true)"
errorLine2=" ~~~~~~~">
diff --git a/glance/glance-appwidget/lint-baseline.xml b/glance/glance-appwidget/lint-baseline.xml
index 79615c9..87160dc 100644
--- a/glance/glance-appwidget/lint-baseline.xml
+++ b/glance/glance-appwidget/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
<issue
id="BanThreadSleep"
@@ -29,465 +29,6 @@
</issue>
<issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/AndroidRemoteViews.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" lambdas[event.key]?.forEach { it.block() }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/AppWidgetSession.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sizes.map { DpSize(it.width.dp, it.height.dp) }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/AppWidgetUtils.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.minByOrNull { it.second }?.first"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/AppWidgetUtils.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" rv.setContentDescription(viewDef.mainViewId, contentDescription.joinToString())"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/ApplyModifiers.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" manager.getGlanceIds(javaClass).forEach { update(context, it) }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidget.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" manager.getGlanceIds(javaClass).forEach { glanceId ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidget.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.toMap()"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return receivers.flatMap { receiver ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val info = appWidgetManager.installedProviders.first {"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .filter { it.provider.packageName == packageName }"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { it.provider.className }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .toSet()"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" toRemove.forEach { receiver -> remove(providerKey(receiver)) }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" if (children.any { it.shouldIgnoreResult() }) return true"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/IgnoreResult.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/LayoutSelection.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" itemList.forEachIndexed { index, (itemId, composable) ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/lazy/LazyList.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/lazy/LazyList.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/lazy/LazyList.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.foldIndexed(false) { position, previous, itemEmittable ->"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/translators/LazyListTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" itemList.forEachIndexed { index, (itemId, composable) ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.foldIndexed(false) { position, previous, itemEmittable ->"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/translators/LazyVerticalGridTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" if (container.children.isNotEmpty() && container.children.all { it is EmittableSizeBox }) {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (item in container.children) {"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEach { child ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.any { child ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.any { child ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEachIndexed { index, child ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.foldIndexed("
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" fold(GlanceModifier) { acc: GlanceModifier, mod: GlanceModifier? ->"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val layoutIdCount = views.map { it.layoutId }.distinct().count()"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" viewTypeCount = views.map { it.layoutId }.distinct().count()"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" viewTypeCount = views.map { it.layoutId }.distinct().count()"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsRoot.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" if (children.all { it is EmittableSizeBox }) {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val views = children.map { child ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" Api31Impl.createRemoteViews(views.toMap())"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" combineLandscapeAndPortrait(views.map { it.second })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" check(children.count { it is EmittableRadioButton && it.checked } <= 1) {"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.forEachIndexed { index, child ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.take(10).forEachIndexed { index, child ->"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.take(10).forEachIndexed { index, child ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/SizeBox.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { findBestSize(it, sizeMode.sizes) ?: smallestSize }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/SizeBox.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" sizes.distinct().map { size ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/SizeBox.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" spans.forEach { span ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/translators/TextTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val layouts = config.layoutList.associate {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/WidgetLayout.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" addAllChildren(element.children.map { createNode(context, it) })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/appwidget/WidgetLayout.kt"/>
- </issue>
-
- <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method extractAllSizes has parameter 'minSize' with type Function0<DpSize>."
errorLine1="internal fun Bundle.extractAllSizes(minSize: () -> DpSize): List<DpSize> {"
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AndroidRemoteViews.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AndroidRemoteViews.kt
index f199042..8450bff 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AndroidRemoteViews.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AndroidRemoteViews.kt
@@ -20,6 +20,7 @@
import android.widget.RemoteViews
import androidx.annotation.IdRes
import androidx.compose.runtime.Composable
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -79,7 +80,7 @@
it.remoteViews = remoteViews
}
it.containerViewId = containerViewId
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "AndroidRemoteViews(" +
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetSession.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetSession.kt
index 74bc2e5..314e095 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetSession.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetSession.kt
@@ -32,6 +32,7 @@
import androidx.compose.runtime.remember
import androidx.compose.runtime.snapshots.Snapshot
import androidx.compose.ui.unit.DpSize
+import androidx.compose.ui.util.fastForEach
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceComposable
import androidx.glance.LocalContext
@@ -183,7 +184,7 @@
is RunLambda -> {
if (DEBUG) Log.i(TAG, "Received RunLambda(${event.key}) action for session($key)")
Snapshot.withMutableSnapshot {
- lambdas[event.key]?.forEach { it.block() }
+ lambdas[event.key]?.fastForEach { it.block() }
} ?: Log.w(TAG, "Triggering Action(${event.key}) for session($key) failed")
}
is WaitForReady -> event.resume.send(Unit)
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetUtils.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetUtils.kt
index 1b39006..514a998 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetUtils.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/AppWidgetUtils.kt
@@ -32,6 +32,8 @@
import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.glance.GlanceComposable
import androidx.glance.GlanceId
import java.util.concurrent.atomic.AtomicBoolean
@@ -85,7 +87,7 @@
return if (sizes.isNullOrEmpty()) {
estimateSizes(minSize)
} else {
- sizes.map { DpSize(it.width.dp, it.height.dp) }
+ sizes.fastMap { DpSize(it.width.dp, it.height.dp) }
}
}
@@ -143,7 +145,7 @@
} else {
null
}
- }.minByOrNull { it.second }?.first
+ }.fastMinByOrNull { it.second }?.first
/**
* @return the minimum size as configured by the App Widget provider.
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/ApplyModifiers.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/ApplyModifiers.kt
index 51d1774..5fb7402 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/ApplyModifiers.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/ApplyModifiers.kt
@@ -28,6 +28,7 @@
import androidx.annotation.DoNotInline
import androidx.annotation.RequiresApi
import androidx.compose.ui.graphics.toArgb
+import androidx.compose.ui.util.fastJoinToString
import androidx.core.widget.RemoteViewsCompat.setTextViewHeight
import androidx.core.widget.RemoteViewsCompat.setTextViewWidth
import androidx.core.widget.RemoteViewsCompat.setViewBackgroundColor
@@ -135,7 +136,7 @@
val contentDescription: List<String>? =
semantics.configuration.getOrNull(SemanticsProperties.ContentDescription)
if (contentDescription != null) {
- rv.setContentDescription(viewDef.mainViewId, contentDescription.joinToString())
+ rv.setContentDescription(viewDef.mainViewId, contentDescription.fastJoinToString())
}
}
rv.setViewVisibility(viewDef.mainViewId, visibility.toViewVisibility())
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidget.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidget.kt
index a1d03ba..2b0d9fa 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidget.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidget.kt
@@ -26,6 +26,7 @@
import androidx.annotation.RestrictTo
import androidx.annotation.RestrictTo.Scope
import androidx.compose.runtime.Composable
+import androidx.compose.ui.util.fastForEach
import androidx.glance.GlanceComposable
import androidx.glance.GlanceId
import androidx.glance.appwidget.state.getAppWidgetState
@@ -202,7 +203,7 @@
/** Update all App Widgets managed by the [GlanceAppWidget] class. */
suspend fun GlanceAppWidget.updateAll(@Suppress("ContextFirst") context: Context) {
val manager = GlanceAppWidgetManager(context)
- manager.getGlanceIds(javaClass).forEach { update(context, it) }
+ manager.getGlanceIds(javaClass).fastForEach { update(context, it) }
}
/**
@@ -215,7 +216,7 @@
val stateDef = stateDefinition
requireNotNull(stateDef) { "GlanceAppWidget.updateIf cannot be used if no state is defined." }
val manager = GlanceAppWidgetManager(context)
- manager.getGlanceIds(javaClass).forEach { glanceId ->
+ manager.getGlanceIds(javaClass).fastForEach { glanceId ->
val state = getAppWidgetState(context, stateDef, glanceId) as State
if (predicate(state)) update(context, glanceId)
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt
index 41c7633..089f713 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/GlanceAppWidgetManager.kt
@@ -27,6 +27,11 @@
import androidx.annotation.RequiresApi
import androidx.annotation.VisibleForTesting
import androidx.compose.ui.unit.DpSize
+import androidx.compose.ui.util.fastFilter
+import androidx.compose.ui.util.fastFirst
+import androidx.compose.ui.util.fastFlatMap
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.stringPreferencesKey
@@ -84,6 +89,7 @@
val packageName = context.packageName
val receivers = prefs[providersKey] ?: return State()
return State(
+ @Suppress("ListIterator")
receivers.mapNotNull { receiverName ->
val comp = ComponentName(packageName, receiverName)
val providerName = prefs[providerKey(receiverName)] ?: return@mapNotNull null
@@ -102,7 +108,7 @@
val state = getState()
val providerName = requireNotNull(provider.canonicalName) { "no canonical provider name" }
val receivers = state.providerNameToReceivers[providerName] ?: return emptyList()
- return receivers.flatMap { receiver ->
+ return receivers.fastFlatMap { receiver ->
appWidgetManager.getAppWidgetIds(receiver).map { AppWidgetId(it) }
}
}
@@ -196,7 +202,7 @@
val target = ComponentName(context.packageName, receiver.name)
val previewBundle = Bundle().apply {
if (preview != null) {
- val info = appWidgetManager.installedProviders.first {
+ val info = appWidgetManager.installedProviders.fastFirst {
it.provider == target
}
val snapshot = preview.compose(
@@ -222,9 +228,10 @@
/** Check which receivers still exist, and clean the data store to only keep those. */
internal suspend fun cleanReceivers() {
val packageName = context.packageName
+ @Suppress("ListIterator")
val receivers = appWidgetManager.installedProviders
- .filter { it.provider.packageName == packageName }
- .map { it.provider.className }
+ .fastFilter { it.provider.packageName == packageName }
+ .fastMap { it.provider.className }
.toSet()
dataStore.updateData { prefs ->
val knownReceivers = prefs[providersKey] ?: return@updateData prefs
@@ -232,7 +239,7 @@
if (toRemove.isEmpty()) return@updateData prefs
prefs.toMutablePreferences().apply {
this[providersKey] = knownReceivers - toRemove
- toRemove.forEach { receiver -> remove(providerKey(receiver)) }
+ toRemove.fastForEach { receiver -> remove(providerKey(receiver)) }
}.toPreferences()
}
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/IgnoreResult.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/IgnoreResult.kt
index 59062de..d6711c1 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/IgnoreResult.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/IgnoreResult.kt
@@ -17,6 +17,7 @@
package androidx.glance.appwidget
import androidx.compose.runtime.Composable
+import androidx.compose.ui.util.fastAny
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceComposable
@@ -51,7 +52,7 @@
if (this is EmittableIgnoreResult) {
return true
} else if (this is EmittableWithChildren) {
- if (children.any { it.shouldIgnoreResult() }) return true
+ if (children.fastAny { it.shouldIgnoreResult() }) return true
}
return false
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/LayoutSelection.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/LayoutSelection.kt
index e4ce545..b9bb899 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/LayoutSelection.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/LayoutSelection.kt
@@ -26,6 +26,7 @@
import androidx.annotation.LayoutRes
import androidx.annotation.RequiresApi
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
import androidx.glance.GlanceModifier
import androidx.glance.findModifier
import androidx.glance.layout.Alignment
@@ -362,7 +363,7 @@
?: throw IllegalStateException("No child for position $pos and size $width x $height")
children.values
.filter { it != stubId }
- .forEach {
+ .fastForEach {
inflateViewStub(
translationContext, it, R.layout.glance_deleted_view, R.id.deletedViewId)
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt
index 2b86729..ec3d23d 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/NormalizeCompositionTree.kt
@@ -18,6 +18,11 @@
import android.os.Build
import android.util.Log
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastAll
+import androidx.compose.ui.util.fastAny
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
import androidx.glance.BackgroundModifier
import androidx.glance.Emittable
import androidx.glance.EmittableButton
@@ -63,7 +68,8 @@
* [EmittableBox].
*/
private fun coerceToOneChild(container: EmittableWithChildren) {
- if (container.children.isNotEmpty() && container.children.all { it is EmittableSizeBox }) {
+ if (container.children.isNotEmpty() && container.children.fastAll { it is EmittableSizeBox }) {
+ @Suppress("ListIterator")
for (item in container.children) {
item as EmittableSizeBox
if (item.children.size == 1) continue
@@ -89,20 +95,20 @@
* fillMaxSize. Otherwise, the behavior depends on the version of Android.
*/
private fun EmittableWithChildren.normalizeSizes() {
- children.forEach { child ->
+ children.fastForEach { child ->
if (child is EmittableWithChildren) {
child.normalizeSizes()
}
}
if ((modifier.findModifier<HeightModifier>()?.height ?: Dimension.Wrap) is Dimension.Wrap &&
- children.any { child ->
+ children.fastAny { child ->
child.modifier.findModifier<HeightModifier>()?.height is Dimension.Fill
}
) {
modifier = modifier.fillMaxHeight()
}
if ((modifier.findModifier<WidthModifier>()?.width ?: Dimension.Wrap) is Dimension.Wrap &&
- children.any { child ->
+ children.fastAny { child ->
child.modifier.findModifier<WidthModifier>()?.width is Dimension.Fill
}
) {
@@ -112,7 +118,7 @@
/** Transform each node in the tree. */
private fun EmittableWithChildren.transformTree(block: (Emittable) -> Emittable) {
- children.forEachIndexed { index, child ->
+ children.fastForEachIndexed { index, child ->
val newChild = block(child)
children[index] = newChild
if (newChild is EmittableWithChildren) newChild.transformTree(block)
@@ -133,6 +139,7 @@
* will be updated for the composition in all sizes. This is why there can be multiple LambdaActions
* for each key, even after de-duping.
*/
+@Suppress("ListIterator")
internal fun EmittableWithChildren.updateLambdaActionKeys(): Map<String, List<LambdaAction>> =
children.foldIndexed(
mutableMapOf<String, MutableList<LambdaAction>>()
@@ -337,6 +344,6 @@
}
private fun MutableList<GlanceModifier?>.collect(): GlanceModifier =
- fold(GlanceModifier) { acc: GlanceModifier, mod: GlanceModifier? ->
+ fastFold(GlanceModifier) { acc: GlanceModifier, mod: GlanceModifier? ->
mod?.let { acc.then(mod) } ?: acc
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt
index 61c8bcb..8fff92a 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteCollectionItems.kt
@@ -18,6 +18,7 @@
import android.annotation.SuppressLint
import android.widget.RemoteViews
+import androidx.compose.ui.util.fastMap
/** Representation of a fixed list of items to be displayed in a RemoteViews collection. */
internal class RemoteCollectionItems private constructor(
@@ -31,6 +32,7 @@
"RemoteCollectionItems has different number of ids and views"
}
require(_viewTypeCount >= 1) { "View type count must be >= 1" }
+ @Suppress("ListIterator")
val layoutIdCount = views.map { it.layoutId }.distinct().count()
require(layoutIdCount <= _viewTypeCount) {
"View type count is set to $_viewTypeCount, but the collection contains " +
@@ -131,7 +133,8 @@
if (viewTypeCount < 1) {
// If a view type count wasn't specified, set it to be the number of distinct
// layout ids used in the items.
- viewTypeCount = views.map { it.layoutId }.distinct().count()
+ @Suppress("ListIterator")
+ viewTypeCount = views.fastMap { it.layoutId }.distinct().count()
}
return RemoteCollectionItems(
ids.toLongArray(),
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsRoot.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsRoot.kt
index df0e178..7ca531c 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsRoot.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsRoot.kt
@@ -18,6 +18,7 @@
import androidx.annotation.RestrictTo
import androidx.annotation.RestrictTo.Scope
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -31,7 +32,7 @@
override var modifier: GlanceModifier = GlanceModifier
override fun copy(): Emittable = RemoteViewsRoot(maxDepth).also {
it.modifier = modifier
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "RemoteViewsRoot(" +
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt
index d94e52f..edb9d83 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/RemoteViewsTranslator.kt
@@ -31,6 +31,10 @@
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.isSpecified
+import androidx.compose.ui.util.fastAll
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
import androidx.core.widget.RemoteViewsCompat.setLinearLayoutGravity
import androidx.glance.Emittable
import androidx.glance.EmittableButton
@@ -105,13 +109,13 @@
children: List<Emittable>,
rootViewIndex: Int
): RemoteViews {
- if (children.all { it is EmittableSizeBox }) {
+ if (children.fastAll { it is EmittableSizeBox }) {
// If the children of root are all EmittableSizeBoxes, then we must translate each
// EmittableSizeBox into a distinct RemoteViews object. Then, we combine them into one
// multi-sized RemoteViews (a RemoteViews that contains either landscape & portrait RVs or
// multiple RVs mapped by size).
val sizeMode = (children.first() as EmittableSizeBox).sizeMode
- val views = children.map { child ->
+ val views = children.fastMap { child ->
val size = (child as EmittableSizeBox).size
val remoteViewsInfo = createRootView(translationContext, child.modifier, rootViewIndex)
val rv = remoteViewsInfo.remoteViews.apply {
@@ -126,10 +130,11 @@
is SizeMode.Single -> views.single().second
is SizeMode.Responsive, SizeMode.Exact -> {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
+ @Suppress("ListIterator")
Api31Impl.createRemoteViews(views.toMap())
} else {
require(views.size == 1 || views.size == 2) { "unsupported views size" }
- combineLandscapeAndPortrait(views.map { it.second })
+ combineLandscapeAndPortrait(views.fastMap { it.second })
}
}
}
@@ -307,7 +312,7 @@
element.modifier,
viewDef
)
- element.children.forEach {
+ element.children.fastForEach {
it.modifier = it.modifier.then(AlignmentModifier(element.contentAlignment))
}
setChildren(
@@ -392,6 +397,7 @@
}
private fun checkSelectableGroupChildren(children: List<Emittable>) {
+ @Suppress("ListIterator")
check(children.count { it is EmittableRadioButton && it.checked } <= 1) {
"When using GlanceModifier.selectableGroup(), no more than one RadioButton " +
"may be checked at a time."
@@ -410,7 +416,7 @@
}
element.remoteViews.copy().apply {
removeAllViews(element.containerViewId)
- element.children.forEachIndexed { index, child ->
+ element.children.fastForEachIndexed { index, child ->
val rvInfo = createRootView(translationContext, child.modifier, index)
val rv = rvInfo.remoteViews
rv.translateChild(translationContext.forRoot(rvInfo), child)
@@ -466,7 +472,8 @@
parentDef: InsertedViewInfo,
children: List<Emittable>
) {
- children.take(10).forEachIndexed { index, child ->
+ @Suppress("ListIterator")
+ children.take(10).fastForEachIndexed { index, child ->
translateChild(
translationContext.forChild(parent = parentDef, pos = index),
child,
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/SizeBox.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/SizeBox.kt
index 4c41537..e1727c0 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/SizeBox.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/SizeBox.kt
@@ -20,6 +20,7 @@
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.unit.DpSize
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -48,7 +49,7 @@
override fun copy(): Emittable = EmittableSizeBox().also {
it.size = size
it.sizeMode = sizeMode
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "EmittableSizeBox(" +
@@ -106,11 +107,11 @@
} else {
val smallestSize = sizeMode.sizes.sortedBySize()[0]
LocalAppWidgetOptions.current.extractOrientationSizes()
- .map { findBestSize(it, sizeMode.sizes) ?: smallestSize }
+ .fastMap { findBestSize(it, sizeMode.sizes) ?: smallestSize }
.ifEmpty { listOf(smallestSize, smallestSize) }
}
}
- sizes.distinct().map { size ->
+ sizes.distinct().fastMap { size ->
SizeBox(size, sizeMode, content)
}
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/WidgetLayout.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/WidgetLayout.kt
index 49e0d30..bae572a 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/WidgetLayout.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/WidgetLayout.kt
@@ -22,6 +22,7 @@
import androidx.annotation.DoNotInline
import androidx.annotation.RequiresApi
import androidx.annotation.VisibleForTesting
+import androidx.compose.ui.util.fastMap
import androidx.datastore.core.CorruptionException
import androidx.datastore.core.DataStore
import androidx.datastore.core.DataStoreFactory
@@ -114,6 +115,7 @@
)
LayoutProto.LayoutConfig.getDefaultInstance()
}
+ @Suppress("ListIterator")
val layouts = config.layoutList.associate {
it.layout to it.layoutIndex
}.toMutableMap()
@@ -241,7 +243,7 @@
is EmittableLazyColumn -> setLazyListColumn(element)
}
if (element is EmittableWithChildren && element !is EmittableLazyList) {
- addAllChildren(element.children.map { createNode(context, it) })
+ addAllChildren(element.children.fastMap { createNode(context, it) })
}
}.build()
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyList.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyList.kt
index 2430387..17e4528 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyList.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyList.kt
@@ -19,6 +19,8 @@
import android.os.Bundle
import androidx.compose.runtime.Composable
import androidx.compose.runtime.key
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableLazyItemWithChildren
import androidx.glance.EmittableWithChildren
@@ -121,7 +123,7 @@
}
listScopeImpl.apply(content)
return {
- itemList.forEachIndexed { index, (itemId, composable) ->
+ itemList.fastForEachIndexed { index, (itemId, composable) ->
val id = itemId.takeIf { it != LazyListScope.UnspecifiedItemId }
?: (ReservedItemIdRangeEnd - index)
check(id != LazyListScope.UnspecifiedItemId) { "Implicit list item ids exhausted." }
@@ -297,7 +299,7 @@
override fun copy(): Emittable = EmittableLazyListItem().also {
it.itemId = itemId
it.alignment = alignment
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString() =
@@ -310,6 +312,6 @@
it.modifier = modifier
it.horizontalAlignment = horizontalAlignment
it.activityOptions = activityOptions
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt
index 53a41ce..72b8eb4 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/lazy/LazyVerticalGrid.kt
@@ -20,6 +20,8 @@
import androidx.compose.runtime.Composable
import androidx.compose.runtime.key
import androidx.compose.ui.unit.Dp
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableLazyItemWithChildren
import androidx.glance.EmittableWithChildren
@@ -128,7 +130,7 @@
}
listScopeImpl.apply(content)
return {
- itemList.forEachIndexed { index, (itemId, composable) ->
+ itemList.fastForEachIndexed { index, (itemId, composable) ->
val id = itemId.takeIf { it != LazyVerticalGridScope.UnspecifiedItemId }
?: (ReservedItemIdRangeEnd - index)
check(id != LazyVerticalGridScope.UnspecifiedItemId) {
@@ -298,7 +300,7 @@
override fun copy(): Emittable = EmittableLazyVerticalGridListItem().also {
it.itemId = itemId
it.alignment = alignment
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String =
@@ -314,7 +316,7 @@
it.horizontalAlignment = horizontalAlignment
it.gridCells = gridCells
it.activityOptions = activityOptions
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
}
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyListTranslator.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyListTranslator.kt
index 4810dd6..eb1c6fe 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyListTranslator.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyListTranslator.kt
@@ -75,6 +75,7 @@
)
val items = RemoteCollectionItems.Builder().apply {
val childContext = translationContext.forLazyCollection(viewDef.mainViewId)
+ @Suppress("ListIterator")
element.children.foldIndexed(false) { position, previous, itemEmittable ->
itemEmittable as EmittableLazyListItem
val itemId = itemEmittable.itemId
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyVerticalGridTranslator.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyVerticalGridTranslator.kt
index eda245b..d9b74d0 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyVerticalGridTranslator.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/LazyVerticalGridTranslator.kt
@@ -88,6 +88,7 @@
)
val items = RemoteCollectionItems.Builder().apply {
val childContext = translationContext.forLazyCollection(viewDef.mainViewId)
+ @Suppress("ListIterator")
element.children.foldIndexed(false) { position, previous, itemEmittable ->
itemEmittable as EmittableLazyVerticalGridListItem
val itemId = itemEmittable.itemId
diff --git a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/TextTranslator.kt b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/TextTranslator.kt
index 6a219a7..806a7cc 100644
--- a/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/TextTranslator.kt
+++ b/glance/glance-appwidget/src/main/java/androidx/glance/appwidget/translators/TextTranslator.kt
@@ -35,6 +35,7 @@
import androidx.annotation.DoNotInline
import androidx.annotation.RequiresApi
import androidx.compose.ui.graphics.toArgb
+import androidx.compose.ui.util.fastForEach
import androidx.core.widget.RemoteViewsCompat.setTextViewGravity
import androidx.core.widget.RemoteViewsCompat.setTextViewMaxLines
import androidx.core.widget.RemoteViewsCompat.setTextViewTextColor
@@ -130,7 +131,7 @@
spans.add(AlignmentSpan.Standard(align.toAlignment(translationContext.isRtl)))
}
}
- spans.forEach { span ->
+ spans.fastForEach { span ->
content.setSpan(span, 0, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE)
}
setTextViewText(resId, content)
diff --git a/glance/glance-template/lint-baseline.xml b/glance/glance-template/lint-baseline.xml
deleted file mode 100644
index 8a73870..0000000
--- a/glance/glance-template/lint-baseline.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" textList.forEachIndexed { index, item ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/template/GlanceAppWidgetTemplates.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" actionBlock.actionButtons.forEach { button ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/template/GlanceAppWidgetTemplates.kt"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-template/src/main/java/androidx/glance/template/GlanceAppWidgetTemplates.kt b/glance/glance-template/src/main/java/androidx/glance/template/GlanceAppWidgetTemplates.kt
index d5804bd..9937ec6 100644
--- a/glance/glance-template/src/main/java/androidx/glance/template/GlanceAppWidgetTemplates.kt
+++ b/glance/glance-template/src/main/java/androidx/glance/template/GlanceAppWidgetTemplates.kt
@@ -104,6 +104,7 @@
*
* @param textList the ordered list of text fields to display in the block
*/
+@Suppress("ListIterator")
@Composable
internal fun AppWidgetTextSection(textList: List<TemplateText>) {
if (textList.isEmpty()) return
@@ -217,6 +218,7 @@
*
* @param actionBlock The [ActionBlock] data containing a list of buttons for display
*/
+@Suppress("ListIterator")
@Composable
internal fun ActionBlockTemplate(actionBlock: ActionBlock?) {
if (actionBlock?.actionButtons?.isNotEmpty() == true) {
diff --git a/glance/glance-testing/lint-baseline.xml b/glance/glance-testing/lint-baseline.xml
deleted file mode 100644
index c7ffb94..0000000
--- a/glance/glance-testing/lint-baseline.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return emittable.children.map { child ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/testing/unit/GlanceMappedNode.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" for (child in node.children()) {"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/glance/testing/GlanceNodeAssertion.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return matching.toList()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/glance/testing/GlanceNodeAssertion.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ?.joinToString()"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/testing/unit/UnitTestFilters.kt"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-testing/src/main/java/androidx/glance/testing/GlanceNodeAssertion.kt b/glance/glance-testing/src/main/java/androidx/glance/testing/GlanceNodeAssertion.kt
index 31a1c99..ed47355 100644
--- a/glance/glance-testing/src/main/java/androidx/glance/testing/GlanceNodeAssertion.kt
+++ b/glance/glance-testing/src/main/java/androidx/glance/testing/GlanceNodeAssertion.kt
@@ -118,6 +118,7 @@
return testContext.cachedMatchedNodes
}
+ @Suppress("ListIterator")
private fun findMatchingNodes(node: GlanceNode<R>): List<GlanceNode<R>> {
val matching = mutableListOf<GlanceNode<R>>()
if (matcher.matches(node)) {
diff --git a/glance/glance-testing/src/main/java/androidx/glance/testing/unit/GlanceMappedNode.kt b/glance/glance-testing/src/main/java/androidx/glance/testing/unit/GlanceMappedNode.kt
index 8b20029..0ac92ee 100644
--- a/glance/glance-testing/src/main/java/androidx/glance/testing/unit/GlanceMappedNode.kt
+++ b/glance/glance-testing/src/main/java/androidx/glance/testing/unit/GlanceMappedNode.kt
@@ -59,6 +59,7 @@
@RestrictTo(Scope.LIBRARY_GROUP)
override fun children(): List<GlanceNode<MappedNode>> {
val emittable = mappedNode.emittable
+ @Suppress("ListIterator")
if (emittable is EmittableWithChildren) {
return emittable.children.map { child ->
GlanceMappedNode(child)
diff --git a/glance/glance-testing/src/main/java/androidx/glance/testing/unit/UnitTestFilters.kt b/glance/glance-testing/src/main/java/androidx/glance/testing/unit/UnitTestFilters.kt
index 1e3d858..577caa5 100644
--- a/glance/glance-testing/src/main/java/androidx/glance/testing/unit/UnitTestFilters.kt
+++ b/glance/glance-testing/src/main/java/androidx/glance/testing/unit/UnitTestFilters.kt
@@ -93,6 +93,7 @@
substring: Boolean = false,
ignoreCase: Boolean = false
): Boolean {
+ @Suppress("ListIterator")
val contentDescription =
semanticsModifier.configuration.getOrNull(SemanticsProperties.ContentDescription)
?.joinToString()
diff --git a/glance/glance-wear-tiles-preview/lint-baseline.xml b/glance/glance-wear-tiles-preview/lint-baseline.xml
deleted file mode 100644
index d2965f7..0000000
--- a/glance/glance-wear-tiles-preview/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .all { it }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/preview/ComposableInvoker.kt"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-wear-tiles-preview/src/main/java/androidx/glance/wear/tiles/preview/ComposableInvoker.kt b/glance/glance-wear-tiles-preview/src/main/java/androidx/glance/wear/tiles/preview/ComposableInvoker.kt
index 2105f3c..dcfe376 100644
--- a/glance/glance-wear-tiles-preview/src/main/java/androidx/glance/wear/tiles/preview/ComposableInvoker.kt
+++ b/glance/glance-wear-tiles-preview/src/main/java/androidx/glance/wear/tiles/preview/ComposableInvoker.kt
@@ -33,6 +33,7 @@
* Returns true if the [methodTypes] and [actualTypes] are compatible. This means that every
* `actualTypes[n]` are assignable to `methodTypes[n]`.
*/
+ @Suppress("ListIterator")
private fun compatibleTypes(
methodTypes: Array<Class<*>>,
actualTypes: Array<Class<*>>
diff --git a/glance/glance-wear-tiles/lint-baseline.xml b/glance/glance-wear-tiles/lint-baseline.xml
deleted file mode 100644
index 5a135eb..0000000
--- a/glance/glance-wear-tiles/lint-baseline.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" curvedChildList.forEach { composable ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.mapIndexed { index, child ->"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" toDelete.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEach { child ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" textList.forEach { item ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/template/SingleEntityTemplateLayouts.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .setContentDescription(it.joinToString())"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .setContentDescription(it.joinToString())"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" element.children.forEach { curvedChild ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" curvedChild.children.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt"/>
- </issue>
-
-</issues>
diff --git a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt
index 557632d..8666f31 100644
--- a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt
+++ b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/NormalizeCompositionTree.kt
@@ -20,6 +20,8 @@
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMapIndexed
import androidx.glance.AndroidResourceImageProvider
import androidx.glance.BitmapImageProvider
import androidx.glance.Emittable
@@ -53,7 +55,7 @@
/** Transform each node in the tree. */
private fun EmittableWithChildren.transformTree(block: (Emittable) -> Emittable?) {
val toDelete = mutableListOf<Int>()
- children.mapIndexed { index, child ->
+ children.fastMapIndexed { index, child ->
val newChild = block(child)
if (newChild == null) {
toDelete += index
@@ -63,7 +65,7 @@
if (newChild is EmittableWithChildren) newChild.transformTree(block)
}
toDelete.reverse()
- toDelete.forEach {
+ toDelete.fastForEach {
children.removeAt(it)
}
}
@@ -86,7 +88,7 @@
return when (this) {
is EmittableWithChildren -> {
modifier = GlanceModifier.then(WidthModifier(width)).then(HeightModifier(height))
- children.forEach { child ->
+ children.fastForEach { child ->
val visibility =
child.modifier.findModifier<VisibilityModifier>()?.visibility
?: Visibility.Visible
diff --git a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt
index 3d90666..99565c4 100644
--- a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt
+++ b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/WearCompositionTranslator.kt
@@ -23,6 +23,8 @@
import android.view.ViewGroup
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastJoinToString
import androidx.glance.AndroidResourceImageProvider
import androidx.glance.BackgroundModifier
import androidx.glance.BitmapImageProvider
@@ -146,7 +148,7 @@
private fun SemanticsModifier.toProto(): androidx.wear.tiles.ModifiersBuilders.Semantics? =
this.configuration.getOrNull(SemanticsProperties.ContentDescription)?.let {
androidx.wear.tiles.ModifiersBuilders.Semantics.Builder()
- .setContentDescription(it.joinToString())
+ .setContentDescription(it.fastJoinToString())
.build()
}
@@ -154,7 +156,7 @@
private fun SemanticsCurvedModifier.toProto(): androidx.wear.tiles.ModifiersBuilders.Semantics? =
this.configuration.getOrNull(SemanticsProperties.ContentDescription)?.let {
androidx.wear.tiles.ModifiersBuilders.Semantics.Builder()
- .setContentDescription(it.joinToString())
+ .setContentDescription(it.fastJoinToString())
.build()
}
@@ -329,7 +331,7 @@
.setWidth(element.modifier.getWidth(context).toContainerDimension())
.setHeight(element.modifier.getHeight(context).toContainerDimension())
.also { box ->
- element.children.forEach {
+ element.children.fastForEach {
box.addContent(translateComposition(context, resourceBuilder, it))
}
}
@@ -349,7 +351,7 @@
.setHeight(height.toContainerDimension())
.setVerticalAlignment(element.verticalAlignment.toProto())
.also { row ->
- element.children.forEach {
+ element.children.fastForEach {
row.addContent(translateComposition(context, resourceBuilder, it))
}
}
@@ -389,7 +391,7 @@
.setWidth(width.toContainerDimension())
.setHorizontalAlignment(element.horizontalAlignment.toProto())
.also { column ->
- element.children.forEach {
+ element.children.fastForEach {
column.addContent(translateComposition(context, resourceBuilder, it))
}
}
@@ -635,9 +637,9 @@
.setVerticalAlign(element.radialAlignment.toProto())
// Add all the children first...
- element.children.forEach { curvedChild ->
+ element.children.fastForEach { curvedChild ->
if (curvedChild is EmittableCurvedChild) {
- curvedChild.children.forEach {
+ curvedChild.children.fastForEach {
arcBuilder.addContent(
translateEmittableElementInArc(
context,
diff --git a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt
index 58489b1..06e5801 100644
--- a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt
+++ b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/curved/CurvedRow.kt
@@ -18,6 +18,8 @@
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -123,7 +125,7 @@
curvedScopeImpl.apply(content)
return {
- curvedChildList.forEach { composable ->
+ curvedChildList.fastForEach { composable ->
object : CurvedChildScope {}.apply { composable() }
}
}
@@ -155,7 +157,7 @@
it.anchorDegrees = anchorDegrees
it.anchorType = anchorType
it.radialAlignment = radialAlignment
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String =
@@ -171,7 +173,7 @@
override fun copy(): Emittable = EmittableCurvedChild().also {
it.modifier = modifier
it.rotateContent = rotateContent
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "EmittableCurvedChild(" +
diff --git a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/template/SingleEntityTemplateLayouts.kt b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/template/SingleEntityTemplateLayouts.kt
index 8d5016b..f22097a 100644
--- a/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/template/SingleEntityTemplateLayouts.kt
+++ b/glance/glance-wear-tiles/src/main/java/androidx/glance/wear/tiles/template/SingleEntityTemplateLayouts.kt
@@ -114,6 +114,7 @@
}
}
+@Suppress("ListIterator")
@Composable
private fun TextSection(textList: List<TemplateText>) {
if (textList.isEmpty()) return
diff --git a/glance/glance/build.gradle b/glance/glance/build.gradle
index 0a8e136..a27703a 100644
--- a/glance/glance/build.gradle
+++ b/glance/glance/build.gradle
@@ -25,6 +25,7 @@
dependencies {
+ api(project(":compose:ui:ui-util"))
api("androidx.annotation:annotation:1.2.0")
api("androidx.compose.runtime:runtime:1.2.1")
api("androidx.compose.ui:ui-graphics:1.1.1")
diff --git a/glance/glance/lint-baseline.xml b/glance/glance/lint-baseline.xml
index d2fb308..2f50602 100644
--- a/glance/glance/lint-baseline.xml
+++ b/glance/glance/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.glance`)"
errorLine1=" .result.await()"
errorLine2=" ~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.glance`)"
errorLine1=" (WorkManager.getInstance(context).getWorkInfosForUniqueWork(key).await()"
errorLine2=" ~~~~~">
@@ -20,87 +20,6 @@
</issue>
<issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/layout/Box.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/layout/Column.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.joinToString(",\n").prependIndent(" ")"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/Emittables.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" events.forEach { addAction(it) }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/glance/session/IdleEventBroadcastReceiver.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" fold(0.dp) { acc, res ->"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/glance/layout/Padding.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" it.children.addAll(children.map { it.copy() })"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/layout/Row.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .any { it.state == WorkInfo.State.RUNNING } && synchronized(sessions) {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/glance/session/SessionManager.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val mask = decorations.fold(0) { acc, decoration ->"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/glance/text/TextDecoration.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return "TextDecoration[${values.joinToString(separator = ", ")}]""
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/glance/text/TextDecoration.kt"/>
- </issue>
-
- <issue
id="PrimitiveInLambda"
message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor InteractiveFrameClock has parameter 'nanoTime' with type Function0<Long>."
errorLine1=" private val nanoTime: () -> Long = { System.nanoTime() }"
diff --git a/glance/glance/src/main/java/androidx/glance/Emittables.kt b/glance/glance/src/main/java/androidx/glance/Emittables.kt
index b9cf2f2..84d50c2 100644
--- a/glance/glance/src/main/java/androidx/glance/Emittables.kt
+++ b/glance/glance/src/main/java/androidx/glance/Emittables.kt
@@ -17,6 +17,7 @@
package androidx.glance
import androidx.annotation.RestrictTo
+import androidx.compose.ui.util.fastJoinToString
import androidx.glance.layout.Alignment
import androidx.glance.text.TextStyle
@@ -34,7 +35,7 @@
val children: MutableList<Emittable> = mutableListOf<Emittable>()
protected fun childrenToString(): String =
- children.joinToString(",\n").prependIndent(" ")
+ children.fastJoinToString(",\n").prependIndent(" ")
}
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
diff --git a/glance/glance/src/main/java/androidx/glance/layout/Box.kt b/glance/glance/src/main/java/androidx/glance/layout/Box.kt
index acc6c2e..9392c48 100644
--- a/glance/glance/src/main/java/androidx/glance/layout/Box.kt
+++ b/glance/glance/src/main/java/androidx/glance/layout/Box.kt
@@ -18,6 +18,7 @@
import androidx.annotation.RestrictTo
import androidx.compose.runtime.Composable
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -32,7 +33,7 @@
override fun copy(): Emittable = EmittableBox().also {
it.modifier = modifier
it.contentAlignment = contentAlignment
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "EmittableBox(" +
diff --git a/glance/glance/src/main/java/androidx/glance/layout/Column.kt b/glance/glance/src/main/java/androidx/glance/layout/Column.kt
index 6e1e4e1..d489c7f 100644
--- a/glance/glance/src/main/java/androidx/glance/layout/Column.kt
+++ b/glance/glance/src/main/java/androidx/glance/layout/Column.kt
@@ -18,6 +18,7 @@
import androidx.annotation.RestrictTo
import androidx.compose.runtime.Composable
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -34,7 +35,7 @@
it.modifier = modifier
it.verticalAlignment = verticalAlignment
it.horizontalAlignment = horizontalAlignment
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "EmittableColumn(" +
diff --git a/glance/glance/src/main/java/androidx/glance/layout/Padding.kt b/glance/glance/src/main/java/androidx/glance/layout/Padding.kt
index a5027be..95ebe2c 100644
--- a/glance/glance/src/main/java/androidx/glance/layout/Padding.kt
+++ b/glance/glance/src/main/java/androidx/glance/layout/Padding.kt
@@ -20,6 +20,7 @@
import androidx.annotation.RestrictTo
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFold
import androidx.glance.GlanceModifier
/**
@@ -193,7 +194,7 @@
collectPadding()?.toDp(resources)
private fun List<Int>.toDp(resources: Resources) =
- fold(0.dp) { acc, res ->
+ fastFold(0.dp) { acc, res ->
acc + (resources.getDimension(res) / resources.displayMetrics.density).dp
}
diff --git a/glance/glance/src/main/java/androidx/glance/layout/Row.kt b/glance/glance/src/main/java/androidx/glance/layout/Row.kt
index 4fe0201..fa7bb50 100644
--- a/glance/glance/src/main/java/androidx/glance/layout/Row.kt
+++ b/glance/glance/src/main/java/androidx/glance/layout/Row.kt
@@ -18,6 +18,7 @@
import androidx.annotation.RestrictTo
import androidx.compose.runtime.Composable
+import androidx.compose.ui.util.fastMap
import androidx.glance.Emittable
import androidx.glance.EmittableWithChildren
import androidx.glance.GlanceModifier
@@ -34,7 +35,7 @@
it.modifier = modifier
it.horizontalAlignment = horizontalAlignment
it.verticalAlignment = verticalAlignment
- it.children.addAll(children.map { it.copy() })
+ it.children.addAll(children.fastMap { it.copy() })
}
override fun toString(): String = "EmittableRow(" +
diff --git a/glance/glance/src/main/java/androidx/glance/session/IdleEventBroadcastReceiver.kt b/glance/glance/src/main/java/androidx/glance/session/IdleEventBroadcastReceiver.kt
index 7929994..5801903 100644
--- a/glance/glance/src/main/java/androidx/glance/session/IdleEventBroadcastReceiver.kt
+++ b/glance/glance/src/main/java/androidx/glance/session/IdleEventBroadcastReceiver.kt
@@ -34,6 +34,7 @@
PowerManager.ACTION_DEVICE_LIGHT_IDLE_MODE_CHANGED,
PowerManager.ACTION_LOW_POWER_STANDBY_ENABLED_CHANGED
)
+ @Suppress("ListIterator")
val filter = IntentFilter().apply {
events.forEach { addAction(it) }
}
diff --git a/glance/glance/src/main/java/androidx/glance/session/SessionManager.kt b/glance/glance/src/main/java/androidx/glance/session/SessionManager.kt
index 5b83da2..3213cd3 100644
--- a/glance/glance/src/main/java/androidx/glance/session/SessionManager.kt
+++ b/glance/glance/src/main/java/androidx/glance/session/SessionManager.kt
@@ -96,6 +96,7 @@
}
override suspend fun isSessionRunning(context: Context, key: String) =
+ @Suppress("ListIterator")
(WorkManager.getInstance(context).getWorkInfosForUniqueWork(key).await()
.any { it.state == WorkInfo.State.RUNNING } && synchronized(sessions) {
sessions.containsKey(key)
diff --git a/glance/glance/src/main/java/androidx/glance/text/TextDecoration.kt b/glance/glance/src/main/java/androidx/glance/text/TextDecoration.kt
index 6f100c0..386a8e2 100644
--- a/glance/glance/src/main/java/androidx/glance/text/TextDecoration.kt
+++ b/glance/glance/src/main/java/androidx/glance/text/TextDecoration.kt
@@ -17,6 +17,8 @@
package androidx.glance.text
import androidx.compose.runtime.Stable
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastJoinToString
/**
* Defines a horizontal line to be drawn on the text.
@@ -44,7 +46,7 @@
* @param decorations The decorations to be added
*/
fun combine(decorations: List<TextDecoration>): TextDecoration {
- val mask = decorations.fold(0) { acc, decoration ->
+ val mask = decorations.fastFold(0) { acc, decoration ->
acc or decoration.mask
}
return TextDecoration(mask)
@@ -81,6 +83,6 @@
if ((values.size == 1)) {
return "TextDecoration.${values[0]}"
}
- return "TextDecoration[${values.joinToString(separator = ", ")}]"
+ return "TextDecoration[${values.fastJoinToString(separator = ", ")}]"
}
}
diff --git a/health/connect/connect-client/lint-baseline.xml b/health/connect/connect-client/lint-baseline.xml
index 65699a3..1959b87c 100644
--- a/health/connect/connect-client/lint-baseline.xml
+++ b/health/connect/connect-client/lint-baseline.xml
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.AggregateDataRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.AggregateDataResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateMetricSpec.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.AggregateMetricSpec.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataTypeName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataTypeName(dataTypeName)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAggregationType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setAggregationType(aggregationType.aggregationTypeString)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFieldName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { aggregationField?.let { fieldName = it } }"
errorLine2=" ~~~~~~~~~">
@@ -740,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFieldName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { aggregationField?.let { fieldName = it } }"
errorLine2=" ~~~~~~~~~">
@@ -749,7 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -758,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.AggregateDataRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -767,7 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTimeSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setTimeSpec(timeRangeFilter.toProto())"
errorLine2=" ~~~~~~~~~~~">
@@ -776,7 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataOrigin(dataOriginFilter.toProtoList())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -785,7 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllMetricSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllMetricSpec(metrics.map { it.toProto() })"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -794,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -803,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.AggregateDataRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -812,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTimeSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setTimeSpec(timeRangeFilter.toProto())"
errorLine2=" ~~~~~~~~~~~">
@@ -821,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataOrigin(dataOriginFilter.toProtoList())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -830,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllMetricSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllMetricSpec(metrics.map { it.toProto() })"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -839,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSliceDurationMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setSliceDurationMillis(timeRangeSlicer.toMillis())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -848,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -857,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.AggregateDataRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -866,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTimeSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setTimeSpec(timeRangeFilter.toProto())"
errorLine2=" ~~~~~~~~~~~">
@@ -875,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataOrigin(dataOriginFilter.toProtoList())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -884,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllMetricSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllMetricSpec(metrics.map { it.toProto() })"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -893,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSlicePeriod can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setSlicePeriod(timeRangeSlicer.toString())"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -902,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -911,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" this.map { DataProto.DataOrigin.newBuilder().setApplicationId(it.packageName).build() }"
errorLine2=" ~~~~~">
@@ -920,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" this.map { DataProto.DataOrigin.newBuilder().setApplicationId(it.packageName).build() }"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -929,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" this.map { DataProto.DataOrigin.newBuilder().setApplicationId(it.packageName).build() }"
errorLine2=" ~~~~~~~~~~">
@@ -938,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ChangesEvent.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ChangeProto.ChangesEvent.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -947,7 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ChangesEvent.getChangesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" changes = extractApiChanges(proto.changesList),"
errorLine2=" ~~~~~~~~~~~">
@@ -956,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ChangesEvent.getChangesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" changes = extractApiChanges(proto.changesList),"
errorLine2=" ~~~~~~~~~~~">
@@ -965,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ChangesEvent.getNextChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" nextChangesToken = proto.nextChangesToken,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -974,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ChangesEvent.getNextChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" nextChangesToken = proto.nextChangesToken,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -983,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getDeleteUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasDeleteUid() -> DeletionChange(it.deleteUid)"
errorLine2=" ~~~~~~~~~">
@@ -992,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getDeleteUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasDeleteUid() -> DeletionChange(it.deleteUid)"
errorLine2=" ~~~~~~~~~">
@@ -1001,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.hasDeleteUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasDeleteUid() -> DeletionChange(it.deleteUid)"
errorLine2=" ~~~~~~~~~~~~">
@@ -1010,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getUpsertDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasUpsertDataPoint() -> UpsertionChange(toRecord(it.upsertDataPoint))"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1019,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getUpsertDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasUpsertDataPoint() -> UpsertionChange(toRecord(it.upsertDataPoint))"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1028,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.hasUpsertDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasUpsertDataPoint() -> UpsertionChange(toRecord(it.upsertDataPoint))"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1037,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" intent.getProtoMessages(name = EXTRA_DATA_TYPES, parser = DataType::parseFrom)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1046,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" intent.getProtoMessages(name = EXTRA_DATA_TYPES, parser = DataType::parseFrom)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1055,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataType.newBuilder().setName(toDataTypeName()).build()"
errorLine2=" ~~~~~">
@@ -1064,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataType.newBuilder().setName(toDataTypeName()).build()"
errorLine2=" ~~~~~~~">
@@ -1073,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataType.newBuilder().setName(toDataTypeName()).build()"
errorLine2=" ~~~~~~~~~~">
@@ -1082,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="fun DataType.toDataTypeKClass(): KClass<out Record> = name.toDataTypeKClass()"
errorLine2=" ~~~~">
@@ -1091,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="fun DataType.toDataTypeKClass(): KClass<out Record> = name.toDataTypeKClass()"
errorLine2=" ~~~~">
@@ -1100,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.DataTypeIdPair.newBuilder().setDataType(dataTypeKC.toDataType()).setId(uid).build()"
errorLine2=" ~~~~~">
@@ -1109,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.DataTypeIdPair.newBuilder().setDataType(dataTypeKC.toDataType()).setId(uid).build()"
errorLine2=" ~~~~~~~~~~~">
@@ -1118,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.DataTypeIdPair.newBuilder().setDataType(dataTypeKC.toDataType()).setId(uid).build()"
errorLine2=" ~~~~~">
@@ -1127,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataTypeIdPair.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.DataTypeIdPair.newBuilder().setDataType(dataTypeKC.toDataType()).setId(uid).build()"
errorLine2=" ~~~~~~~~~~">
@@ -1136,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataTypeIdPair.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.DataTypeIdPair.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1145,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(dataTypeKC.toDataType())"
errorLine2=" ~~~~~~~~~~~">
@@ -1154,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setId(uid)"
errorLine2=" ~~~~~">
@@ -1163,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1172,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRangeRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.DeleteDataRangeRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1181,7 +1181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRangeRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.DeleteDataRangeRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1190,7 +1190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addDataType(dataTypeKC.toDataType())"
errorLine2=" ~~~~~~~~~~~">
@@ -1199,7 +1199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTimeSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setTimeSpec(timeRangeFilter.toProto())"
errorLine2=" ~~~~~~~~~~~">
@@ -1208,7 +1208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1217,7 +1217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return RequestProto.DeleteDataRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1226,7 +1226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllUids can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllUids(obj.uids)"
errorLine2=" ~~~~~~~~~~">
@@ -1235,7 +1235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllClientIds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllClientIds(obj.clientIds)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1244,7 +1244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1253,7 +1253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.DeleteDataRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1262,7 +1262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRequest.getClientIdsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DeleteDataRequest(proto.uidsList, proto.clientIdsList)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1271,7 +1271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRequest.getClientIdsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DeleteDataRequest(proto.uidsList, proto.clientIdsList)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1280,7 +1280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRequest.getUidsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DeleteDataRequest(proto.uidsList, proto.clientIdsList)"
errorLine2=" ~~~~~~~~">
@@ -1289,7 +1289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeleteDataRequest.getUidsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DeleteDataRequest(proto.uidsList, proto.clientIdsList)"
errorLine2=" ~~~~~~~~">
@@ -1298,7 +1298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCode can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val builder = ErrorProto.ErrorStatus.newBuilder().setCode(errorCode)"
errorLine2=" ~~~~~~~">
@@ -1307,7 +1307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val builder = ErrorProto.ErrorStatus.newBuilder().setCode(errorCode)"
errorLine2=" ~~~~~~~~~~">
@@ -1316,7 +1316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMessage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" errorMessage?.let(builder::setMessage)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1325,7 +1325,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" builder.build()"
errorLine2=" ~~~~~">
@@ -1334,7 +1334,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ErrorProto.ErrorStatus.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1343,7 +1343,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.getCode can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" proto.code,"
errorLine2=" ~~~~">
@@ -1352,7 +1352,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.getCode can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" proto.code,"
errorLine2=" ~~~~">
@@ -1361,7 +1361,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.getMessage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" if (proto.hasMessage()) proto.message else null,"
errorLine2=" ~~~~~~~">
@@ -1370,7 +1370,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.getMessage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" if (proto.hasMessage()) proto.message else null,"
errorLine2=" ~~~~~~~">
@@ -1379,7 +1379,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ErrorStatus.hasMessage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" if (proto.hasMessage()) proto.message else null,"
errorLine2=" ~~~~~~~~~~">
@@ -1388,7 +1388,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = DataProto.DataPoint.SubTypeDataList.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1397,7 +1397,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.GetChangesRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1406,7 +1406,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.GetChangesResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1415,7 +1415,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesTokenRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.GetChangesTokenRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1424,7 +1424,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesTokenResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.GetChangesTokenResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1433,7 +1433,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .map { PermissionProto.Permission.newBuilder().setPermission(it).build() }"
errorLine2=" ~~~~~">
@@ -1442,7 +1442,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPermission can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .map { PermissionProto.Permission.newBuilder().setPermission(it).build() }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1451,7 +1451,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .map { PermissionProto.Permission.newBuilder().setPermission(it).build() }"
errorLine2=" ~~~~~~~~~~">
@@ -1460,7 +1460,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getPermission can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .map { it.permission }"
errorLine2=" ~~~~~~~~~~">
@@ -1469,7 +1469,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getPermission can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .map { it.permission }"
errorLine2=" ~~~~~~~~~~">
@@ -1478,7 +1478,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesTokenRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.GetChangesTokenRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1487,7 +1487,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataType(request.recordTypes.map { it.toDataType() })"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1496,7 +1496,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataOriginFilters can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataOriginFilters("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1505,7 +1505,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataOrigin.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1514,7 +1514,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setApplicationId(it.packageName)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1523,7 +1523,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1532,7 +1532,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1541,7 +1541,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesTokenResponse.getChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val changeToken = proto.changesToken"
errorLine2=" ~~~~~~~~~~~~">
@@ -1550,7 +1550,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesTokenResponse.getChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val changeToken = proto.changesToken"
errorLine2=" ~~~~~~~~~~~~">
@@ -1559,7 +1559,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.GetChangesRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1568,7 +1568,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setChangesToken(changesToken)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1577,7 +1577,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1586,7 +1586,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getNextChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val nextToken = proto.nextChangesToken"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1595,7 +1595,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getNextChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val nextToken = proto.nextChangesToken"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1604,7 +1604,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.getRowsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val result = responseProto.rowsList.first().retrieveAggregateDataRow()"
errorLine2=" ~~~~~~~~">
@@ -1613,7 +1613,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.getRowsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val result = responseProto.rowsList.first().retrieveAggregateDataRow()"
errorLine2=" ~~~~~~~~">
@@ -1622,7 +1622,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.getRowsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val result = responseProto.rowsList.map { it.toAggregateDataRowGroupByDuration() }.toList()"
errorLine2=" ~~~~~~~~">
@@ -1631,7 +1631,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.getRowsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val result = responseProto.rowsList.map { it.toAggregateDataRowGroupByDuration() }.toList()"
errorLine2=" ~~~~~~~~">
@@ -1640,7 +1640,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.getRowsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val result = responseProto.rowsList.map { it.toAggregateDataRowGroupByPeriod() }.toList()"
errorLine2=" ~~~~~~~~">
@@ -1649,7 +1649,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataResponse.getRowsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val result = responseProto.rowsList.map { it.toAggregateDataRowGroupByPeriod() }.toList()"
errorLine2=" ~~~~~~~~">
@@ -1658,7 +1658,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" PermissionProto.Permission.newBuilder().setPermission(it).build()"
errorLine2=" ~~~~~">
@@ -1667,7 +1667,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPermission can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" PermissionProto.Permission.newBuilder().setPermission(it).build()"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1676,7 +1676,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" PermissionProto.Permission.newBuilder().setPermission(it).build()"
errorLine2=" ~~~~~~~~~~">
@@ -1685,7 +1685,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getPermission can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.map { it.proto.permission }"
errorLine2=" ~~~~~~~~~~">
@@ -1694,7 +1694,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getPermission can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.map { it.proto.permission }"
errorLine2=" ~~~~~~~~~~">
@@ -1703,7 +1703,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InsertDataResponse.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return ResponseProto.InsertDataResponse.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1712,7 +1712,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataPointUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataPointUid(obj.dataPointUids)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1721,7 +1721,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1730,7 +1730,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InsertDataResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.InsertDataResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1739,7 +1739,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InsertDataResponse.getDataPointUidList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return InsertDataResponse(proto.dataPointUidList)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1748,7 +1748,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InsertDataResponse.getDataPointUidList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return InsertDataResponse(proto.dataPointUidList)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1757,7 +1757,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AbstractMessageLite.toByteArray can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putByteArraysExtra(name = name, byteArrays = messages.map { it.toByteArray() })"
errorLine2=" ~~~~~~~~~~~">
@@ -1766,7 +1766,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = PermissionProto.Permission.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -1775,7 +1775,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AccessType.ACCESS_TYPE_WRITE can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" AccessTypes.WRITE -> PermissionProto.AccessType.ACCESS_TYPE_WRITE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1784,7 +1784,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AccessType.ACCESS_TYPE_READ can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" AccessTypes.READ -> PermissionProto.AccessType.ACCESS_TYPE_READ"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1793,7 +1793,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AccessType.ACCESS_TYPE_UNKNOWN can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" else -> PermissionProto.AccessType.ACCESS_TYPE_UNKNOWN"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1802,7 +1802,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AccessType.ACCESS_TYPE_WRITE can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" PermissionProto.AccessType.ACCESS_TYPE_WRITE -> AccessTypes.WRITE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1811,7 +1811,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AccessType.ACCESS_TYPE_READ can only be accessed from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" PermissionProto.AccessType.ACCESS_TYPE_READ -> AccessTypes.READ"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1820,7 +1820,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" PermissionProto.Permission.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1829,7 +1829,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(recordType.toDataType())"
errorLine2=" ~~~~~~~~~~~">
@@ -1838,7 +1838,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAccessType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setAccessType(toAccessTypeProto(accessType))"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1847,7 +1847,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -1856,7 +1856,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val dataTypeKClass = dataType.name.toDataTypeKClass()"
errorLine2=" ~~~~">
@@ -1865,7 +1865,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val dataTypeKClass = dataType.name.toDataTypeKClass()"
errorLine2=" ~~~~">
@@ -1874,7 +1874,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val dataTypeKClass = dataType.name.toDataTypeKClass()"
errorLine2=" ~~~~~~~~">
@@ -1883,7 +1883,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val dataTypeKClass = dataType.name.toDataTypeKClass()"
errorLine2=" ~~~~~~~~">
@@ -1892,7 +1892,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getAccessType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return HealthPermission(dataTypeKClass, accessType.toAccessType())"
errorLine2=" ~~~~~~~~~~">
@@ -1901,7 +1901,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Permission.getAccessType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return HealthPermission(dataTypeKClass, accessType.toAccessType())"
errorLine2=" ~~~~~~~~~~">
@@ -1910,7 +1910,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MessageLite.toByteArray can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" private val bytes: ByteArray by lazy { proto.toByteArray() }"
errorLine2=" ~~~~~~~~~~~">
@@ -1919,7 +1919,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.hasStartTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" require(hasStartTimeEpochMs()) { "start time must be set" }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1928,7 +1928,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.hasEndTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" require(hasEndTimeEpochMs()) { "end time must be set" }"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1937,7 +1937,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getStartTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(startTimeEpochMs),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1946,7 +1946,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getStartTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(startTimeEpochMs),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1955,7 +1955,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getEndTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(endTimeEpochMs),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1964,7 +1964,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getEndTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(endTimeEpochMs),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1973,7 +1973,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zoneOffset = ZoneOffset.ofTotalSeconds(zoneOffsetSeconds)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1982,7 +1982,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zoneOffset = ZoneOffset.ofTotalSeconds(zoneOffsetSeconds)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1991,7 +1991,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.hasStartLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" require(hasStartLocalDateTime()) { "start time must be set" }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2000,7 +2000,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.hasEndLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" require(hasEndLocalDateTime()) { "end time must be set" }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2009,7 +2009,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getStartLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = LocalDateTime.parse(startLocalDateTime),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2018,7 +2018,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getStartLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = LocalDateTime.parse(startLocalDateTime),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2027,7 +2027,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getEndLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = LocalDateTime.parse(endLocalDateTime),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2036,7 +2036,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getEndLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = LocalDateTime.parse(endLocalDateTime),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2045,7 +2045,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getLongValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longValues = longValuesMap,"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2054,7 +2054,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getLongValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longValues = longValuesMap,"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2063,7 +2063,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getDoubleValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" doubleValues = doubleValuesMap,"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2072,7 +2072,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getDoubleValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" doubleValues = doubleValuesMap,"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2081,7 +2081,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getDataOriginsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigins = dataOriginsList.mapTo(HashSet()) { DataOrigin(it.applicationId) }"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2090,7 +2090,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AggregateDataRow.getDataOriginsList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigins = dataOriginsList.mapTo(HashSet()) { DataOrigin(it.applicationId) }"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2099,7 +2099,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.getApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigins = dataOriginsList.mapTo(HashSet()) { DataOrigin(it.applicationId) }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2108,7 +2108,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.getApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigins = dataOriginsList.mapTo(HashSet()) { DataOrigin(it.applicationId) }"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2117,7 +2117,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getChangesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" changes = extractChanges(proto.changesList),"
errorLine2=" ~~~~~~~~~~~">
@@ -2126,7 +2126,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getChangesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" changes = extractChanges(proto.changesList),"
errorLine2=" ~~~~~~~~~~~">
@@ -2135,7 +2135,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getNextChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" nextChangesToken = proto.nextChangesToken,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2144,7 +2144,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getNextChangesToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" nextChangesToken = proto.nextChangesToken,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2153,7 +2153,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getHasMore can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" hasMore = proto.hasMore,"
errorLine2=" ~~~~~~~">
@@ -2162,7 +2162,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getHasMore can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" hasMore = proto.hasMore,"
errorLine2=" ~~~~~~~">
@@ -2171,7 +2171,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getChangesTokenExpired can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" changesTokenExpired = proto.changesTokenExpired"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2180,7 +2180,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GetChangesResponse.getChangesTokenExpired can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" changesTokenExpired = proto.changesTokenExpired"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2189,7 +2189,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getDeleteUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasDeleteUid() -> DeletionChange(it.deleteUid)"
errorLine2=" ~~~~~~~~~">
@@ -2198,7 +2198,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getDeleteUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasDeleteUid() -> DeletionChange(it.deleteUid)"
errorLine2=" ~~~~~~~~~">
@@ -2207,7 +2207,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.hasDeleteUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasDeleteUid() -> DeletionChange(it.deleteUid)"
errorLine2=" ~~~~~~~~~~~~">
@@ -2216,7 +2216,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getUpsertDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasUpsertDataPoint() -> UpsertionChange(toRecord(it.upsertDataPoint))"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2225,7 +2225,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.getUpsertDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasUpsertDataPoint() -> UpsertionChange(toRecord(it.upsertDataPoint))"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2234,7 +2234,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataChange.hasUpsertDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" it.hasUpsertDataPoint() -> UpsertionChange(toRecord(it.upsertDataPoint))"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2243,7 +2243,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeResponse.getDataPointList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" records = proto.dataPointList.map { toRecord(it) as T },"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2252,7 +2252,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeResponse.getDataPointList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" records = proto.dataPointList.map { toRecord(it) as T },"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2261,7 +2261,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeResponse.getPageToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" pageToken = proto.pageToken"
errorLine2=" ~~~~~~~~~">
@@ -2270,7 +2270,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeResponse.getPageToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" pageToken = proto.pageToken"
errorLine2=" ~~~~~~~~~">
@@ -2279,7 +2279,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" when (dataType.name) {"
errorLine2=" ~~~~~~~~">
@@ -2288,7 +2288,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" when (dataType.name) {"
errorLine2=" ~~~~~~~~">
@@ -2297,7 +2297,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" when (dataType.name) {"
errorLine2=" ~~~~">
@@ -2306,7 +2306,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" when (dataType.name) {"
errorLine2=" ~~~~">
@@ -2315,7 +2315,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2324,7 +2324,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2333,7 +2333,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2342,7 +2342,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2351,7 +2351,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2360,7 +2360,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2369,7 +2369,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2378,7 +2378,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2387,7 +2387,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2396,7 +2396,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2405,7 +2405,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2414,7 +2414,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2423,7 +2423,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2432,7 +2432,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2441,7 +2441,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2450,7 +2450,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2459,7 +2459,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2468,7 +2468,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSeriesValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" seriesValuesList.map { value ->"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2477,7 +2477,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2486,7 +2486,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.instantTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2495,7 +2495,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" segments = subTypeDataListsMap["segments"]?.toSegmentList() ?: emptyList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2504,7 +2504,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" segments = subTypeDataListsMap["segments"]?.toSegmentList() ?: emptyList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2513,7 +2513,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" laps = subTypeDataListsMap["laps"]?.toLapList() ?: emptyList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2522,7 +2522,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" laps = subTypeDataListsMap["laps"]?.toLapList() ?: emptyList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2531,7 +2531,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" subTypeDataListsMap["route"]?.let {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2540,7 +2540,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" subTypeDataListsMap["route"]?.let {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2549,7 +2549,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?: if (valuesMap["hasRoute"]?.booleanVal == true)"
errorLine2=" ~~~~~~~~~">
@@ -2558,7 +2558,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?: if (valuesMap["hasRoute"]?.booleanVal == true)"
errorLine2=" ~~~~~~~~~">
@@ -2567,7 +2567,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getBooleanVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?: if (valuesMap["hasRoute"]?.booleanVal == true)"
errorLine2=" ~~~~~~~~~~">
@@ -2576,7 +2576,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getBooleanVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?: if (valuesMap["hasRoute"]?.booleanVal == true)"
errorLine2=" ~~~~~~~~~~">
@@ -2585,7 +2585,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" biotin = valuesMap["biotin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2594,7 +2594,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" biotin = valuesMap["biotin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2603,7 +2603,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" biotin = valuesMap["biotin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2612,7 +2612,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" biotin = valuesMap["biotin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2621,7 +2621,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" caffeine = valuesMap["caffeine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2630,7 +2630,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" caffeine = valuesMap["caffeine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2639,7 +2639,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" caffeine = valuesMap["caffeine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2648,7 +2648,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" caffeine = valuesMap["caffeine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2657,7 +2657,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" calcium = valuesMap["calcium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2666,7 +2666,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" calcium = valuesMap["calcium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2675,7 +2675,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" calcium = valuesMap["calcium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2684,7 +2684,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" calcium = valuesMap["calcium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2693,7 +2693,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energy = valuesMap["calories"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2702,7 +2702,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energy = valuesMap["calories"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2711,7 +2711,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energy = valuesMap["calories"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2720,7 +2720,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energy = valuesMap["calories"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2729,7 +2729,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energyFromFat = valuesMap["caloriesFromFat"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2738,7 +2738,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energyFromFat = valuesMap["caloriesFromFat"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2747,7 +2747,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energyFromFat = valuesMap["caloriesFromFat"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2756,7 +2756,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" energyFromFat = valuesMap["caloriesFromFat"]?.doubleVal?.kilocalories,"
errorLine2=" ~~~~~~~~~">
@@ -2765,7 +2765,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chloride = valuesMap["chloride"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2774,7 +2774,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chloride = valuesMap["chloride"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2783,7 +2783,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chloride = valuesMap["chloride"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2792,7 +2792,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chloride = valuesMap["chloride"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2801,7 +2801,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" cholesterol = valuesMap["cholesterol"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2810,7 +2810,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" cholesterol = valuesMap["cholesterol"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2819,7 +2819,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" cholesterol = valuesMap["cholesterol"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2828,7 +2828,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" cholesterol = valuesMap["cholesterol"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2837,7 +2837,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chromium = valuesMap["chromium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2846,7 +2846,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chromium = valuesMap["chromium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2855,7 +2855,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chromium = valuesMap["chromium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2864,7 +2864,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" chromium = valuesMap["chromium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2873,7 +2873,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" copper = valuesMap["copper"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2882,7 +2882,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" copper = valuesMap["copper"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2891,7 +2891,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" copper = valuesMap["copper"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2900,7 +2900,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" copper = valuesMap["copper"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2909,7 +2909,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dietaryFiber = valuesMap["dietaryFiber"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2918,7 +2918,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dietaryFiber = valuesMap["dietaryFiber"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2927,7 +2927,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dietaryFiber = valuesMap["dietaryFiber"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2936,7 +2936,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dietaryFiber = valuesMap["dietaryFiber"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2945,7 +2945,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folate = valuesMap["folate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2954,7 +2954,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folate = valuesMap["folate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2963,7 +2963,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folate = valuesMap["folate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2972,7 +2972,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folate = valuesMap["folate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2981,7 +2981,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folicAcid = valuesMap["folicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2990,7 +2990,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folicAcid = valuesMap["folicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -2999,7 +2999,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folicAcid = valuesMap["folicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3008,7 +3008,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" folicAcid = valuesMap["folicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3017,7 +3017,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iodine = valuesMap["iodine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3026,7 +3026,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iodine = valuesMap["iodine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3035,7 +3035,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iodine = valuesMap["iodine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3044,7 +3044,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iodine = valuesMap["iodine"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3053,7 +3053,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iron = valuesMap["iron"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3062,7 +3062,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iron = valuesMap["iron"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3071,7 +3071,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iron = valuesMap["iron"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3080,7 +3080,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" iron = valuesMap["iron"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3089,7 +3089,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" magnesium = valuesMap["magnesium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3098,7 +3098,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" magnesium = valuesMap["magnesium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3107,7 +3107,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" magnesium = valuesMap["magnesium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3116,7 +3116,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" magnesium = valuesMap["magnesium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3125,7 +3125,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manganese = valuesMap["manganese"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3134,7 +3134,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manganese = valuesMap["manganese"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3143,7 +3143,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manganese = valuesMap["manganese"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3152,7 +3152,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manganese = valuesMap["manganese"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3161,7 +3161,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" molybdenum = valuesMap["molybdenum"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3170,7 +3170,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" molybdenum = valuesMap["molybdenum"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3179,7 +3179,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" molybdenum = valuesMap["molybdenum"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3188,7 +3188,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" molybdenum = valuesMap["molybdenum"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3197,7 +3197,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" monounsaturatedFat = valuesMap["monounsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3206,7 +3206,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" monounsaturatedFat = valuesMap["monounsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3215,7 +3215,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" monounsaturatedFat = valuesMap["monounsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3224,7 +3224,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" monounsaturatedFat = valuesMap["monounsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3233,7 +3233,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" niacin = valuesMap["niacin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3242,7 +3242,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" niacin = valuesMap["niacin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3251,7 +3251,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" niacin = valuesMap["niacin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3260,7 +3260,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" niacin = valuesMap["niacin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3269,7 +3269,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" pantothenicAcid = valuesMap["pantothenicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3278,7 +3278,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" pantothenicAcid = valuesMap["pantothenicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3287,7 +3287,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" pantothenicAcid = valuesMap["pantothenicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3296,7 +3296,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" pantothenicAcid = valuesMap["pantothenicAcid"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3305,7 +3305,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" phosphorus = valuesMap["phosphorus"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3314,7 +3314,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" phosphorus = valuesMap["phosphorus"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3323,7 +3323,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" phosphorus = valuesMap["phosphorus"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3332,7 +3332,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" phosphorus = valuesMap["phosphorus"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3341,7 +3341,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" polyunsaturatedFat = valuesMap["polyunsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3350,7 +3350,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" polyunsaturatedFat = valuesMap["polyunsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3359,7 +3359,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" polyunsaturatedFat = valuesMap["polyunsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3368,7 +3368,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" polyunsaturatedFat = valuesMap["polyunsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3377,7 +3377,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" potassium = valuesMap["potassium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3386,7 +3386,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" potassium = valuesMap["potassium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3395,7 +3395,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" potassium = valuesMap["potassium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3404,7 +3404,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" potassium = valuesMap["potassium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3413,7 +3413,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" protein = valuesMap["protein"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3422,7 +3422,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" protein = valuesMap["protein"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3431,7 +3431,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" protein = valuesMap["protein"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3440,7 +3440,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" protein = valuesMap["protein"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3449,7 +3449,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" riboflavin = valuesMap["riboflavin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3458,7 +3458,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" riboflavin = valuesMap["riboflavin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3467,7 +3467,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" riboflavin = valuesMap["riboflavin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3476,7 +3476,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" riboflavin = valuesMap["riboflavin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3485,7 +3485,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" saturatedFat = valuesMap["saturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3494,7 +3494,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" saturatedFat = valuesMap["saturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3503,7 +3503,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" saturatedFat = valuesMap["saturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3512,7 +3512,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" saturatedFat = valuesMap["saturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3521,7 +3521,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" selenium = valuesMap["selenium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3530,7 +3530,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" selenium = valuesMap["selenium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3539,7 +3539,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" selenium = valuesMap["selenium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3548,7 +3548,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" selenium = valuesMap["selenium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3557,7 +3557,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sodium = valuesMap["sodium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3566,7 +3566,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sodium = valuesMap["sodium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3575,7 +3575,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sodium = valuesMap["sodium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3584,7 +3584,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sodium = valuesMap["sodium"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3593,7 +3593,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sugar = valuesMap["sugar"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3602,7 +3602,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sugar = valuesMap["sugar"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3611,7 +3611,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sugar = valuesMap["sugar"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3620,7 +3620,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" sugar = valuesMap["sugar"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3629,7 +3629,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" thiamin = valuesMap["thiamin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3638,7 +3638,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" thiamin = valuesMap["thiamin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3647,7 +3647,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" thiamin = valuesMap["thiamin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3656,7 +3656,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" thiamin = valuesMap["thiamin"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3665,7 +3665,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalCarbohydrate = valuesMap["totalCarbohydrate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3674,7 +3674,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalCarbohydrate = valuesMap["totalCarbohydrate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3683,7 +3683,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalCarbohydrate = valuesMap["totalCarbohydrate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3692,7 +3692,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalCarbohydrate = valuesMap["totalCarbohydrate"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3701,7 +3701,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalFat = valuesMap["totalFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3710,7 +3710,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalFat = valuesMap["totalFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3719,7 +3719,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalFat = valuesMap["totalFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3728,7 +3728,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" totalFat = valuesMap["totalFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3737,7 +3737,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" transFat = valuesMap["transFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3746,7 +3746,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" transFat = valuesMap["transFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3755,7 +3755,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" transFat = valuesMap["transFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3764,7 +3764,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" transFat = valuesMap["transFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3773,7 +3773,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" unsaturatedFat = valuesMap["unsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3782,7 +3782,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" unsaturatedFat = valuesMap["unsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3791,7 +3791,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" unsaturatedFat = valuesMap["unsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3800,7 +3800,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" unsaturatedFat = valuesMap["unsaturatedFat"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3809,7 +3809,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminA = valuesMap["vitaminA"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3818,7 +3818,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminA = valuesMap["vitaminA"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3827,7 +3827,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminA = valuesMap["vitaminA"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3836,7 +3836,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminA = valuesMap["vitaminA"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3845,7 +3845,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB12 = valuesMap["vitaminB12"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3854,7 +3854,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB12 = valuesMap["vitaminB12"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3863,7 +3863,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB12 = valuesMap["vitaminB12"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3872,7 +3872,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB12 = valuesMap["vitaminB12"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3881,7 +3881,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB6 = valuesMap["vitaminB6"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3890,7 +3890,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB6 = valuesMap["vitaminB6"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3899,7 +3899,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB6 = valuesMap["vitaminB6"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3908,7 +3908,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminB6 = valuesMap["vitaminB6"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3917,7 +3917,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminC = valuesMap["vitaminC"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3926,7 +3926,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminC = valuesMap["vitaminC"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3935,7 +3935,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminC = valuesMap["vitaminC"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3944,7 +3944,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminC = valuesMap["vitaminC"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3953,7 +3953,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminD = valuesMap["vitaminD"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3962,7 +3962,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminD = valuesMap["vitaminD"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3971,7 +3971,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminD = valuesMap["vitaminD"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3980,7 +3980,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminD = valuesMap["vitaminD"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3989,7 +3989,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminE = valuesMap["vitaminE"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -3998,7 +3998,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminE = valuesMap["vitaminE"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4007,7 +4007,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminE = valuesMap["vitaminE"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4016,7 +4016,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminE = valuesMap["vitaminE"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4025,7 +4025,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminK = valuesMap["vitaminK"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4034,7 +4034,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminK = valuesMap["vitaminK"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4043,7 +4043,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminK = valuesMap["vitaminK"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4052,7 +4052,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" vitaminK = valuesMap["vitaminK"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4061,7 +4061,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zinc = valuesMap["zinc"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4070,7 +4070,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zinc = valuesMap["zinc"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4079,7 +4079,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zinc = valuesMap["zinc"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4088,7 +4088,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zinc = valuesMap["zinc"]?.doubleVal?.grams,"
errorLine2=" ~~~~~~~~~">
@@ -4097,7 +4097,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" stages = subTypeDataListsMap["stages"]?.toStageList() ?: emptyList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4106,7 +4106,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getSubTypeDataListsMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" stages = subTypeDataListsMap["stages"]?.toStageList() ?: emptyList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4115,7 +4115,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" else -> throw RuntimeException("Unknown data type ${dataType.name}")"
errorLine2=" ~~~~~~~~">
@@ -4124,7 +4124,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" else -> throw RuntimeException("Unknown data type ${dataType.name}")"
errorLine2=" ~~~~~~~~">
@@ -4133,7 +4133,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" else -> throw RuntimeException("Unknown data type ${dataType.name}")"
errorLine2=" ~~~~">
@@ -4142,7 +4142,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.getName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" else -> throw RuntimeException("Unknown data type ${dataType.name}")"
errorLine2=" ~~~~">
@@ -4151,7 +4151,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" protoWrapper.proto.valuesList.map { value ->"
errorLine2=" ~~~~~~~~~~">
@@ -4160,7 +4160,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" protoWrapper.proto.valuesList.map { value ->"
errorLine2=" ~~~~~~~~~~">
@@ -4169,7 +4169,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4178,7 +4178,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(value.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4187,7 +4187,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = value.valuesMap["latitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4196,7 +4196,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = value.valuesMap["latitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4205,7 +4205,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = value.valuesMap["latitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4214,7 +4214,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = value.valuesMap["latitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4223,7 +4223,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = value.valuesMap["longitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4232,7 +4232,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = value.valuesMap["longitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4241,7 +4241,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = value.valuesMap["longitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4250,7 +4250,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = value.valuesMap["longitude"]!!.doubleVal,"
errorLine2=" ~~~~~~~~~">
@@ -4259,7 +4259,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = value.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4268,7 +4268,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = value.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4277,7 +4277,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = value.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4286,7 +4286,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = value.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4295,7 +4295,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = value.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4304,7 +4304,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = value.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4313,7 +4313,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = value.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4322,7 +4322,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = value.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -4331,7 +4331,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = value.valuesMap["vertical_accuracy"]?.doubleVal?.meters"
errorLine2=" ~~~~~~~~~">
@@ -4340,7 +4340,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = value.valuesMap["vertical_accuracy"]?.doubleVal?.meters"
errorLine2=" ~~~~~~~~~">
@@ -4349,7 +4349,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = value.valuesMap["vertical_accuracy"]?.doubleVal?.meters"
errorLine2=" ~~~~~~~~~">
@@ -4358,7 +4358,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = value.valuesMap["vertical_accuracy"]?.doubleVal?.meters"
errorLine2=" ~~~~~~~~~">
@@ -4367,7 +4367,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = Instant.ofEpochMilli(startTimeMillis)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4376,7 +4376,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = Instant.ofEpochMilli(startTimeMillis)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4385,7 +4385,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = Instant.ofEpochMilli(endTimeMillis)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4394,7 +4394,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = Instant.ofEpochMilli(endTimeMillis)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4403,7 +4403,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = Instant.ofEpochMilli(instantTimeMillis)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4412,7 +4412,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = Instant.ofEpochMilli(instantTimeMillis)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4421,7 +4421,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getStartZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" if (hasStartZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(startZoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4430,7 +4430,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getStartZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" if (hasStartZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(startZoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4439,7 +4439,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.hasStartZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" if (hasStartZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(startZoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4448,7 +4448,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getEndZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = if (hasEndZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(endZoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4457,7 +4457,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getEndZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = if (hasEndZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(endZoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4466,7 +4466,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.hasEndZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = if (hasEndZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(endZoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4475,7 +4475,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = if (hasZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(zoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4484,7 +4484,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = if (hasZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(zoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4493,7 +4493,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.hasZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" get() = if (hasZoneOffsetSeconds()) ZoneOffset.ofTotalSeconds(zoneOffsetSeconds) else null"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4502,7 +4502,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4511,7 +4511,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4520,7 +4520,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~">
@@ -4529,7 +4529,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~">
@@ -4538,7 +4538,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4547,7 +4547,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4556,7 +4556,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4565,7 +4565,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4574,7 +4574,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun DataPointOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4583,7 +4583,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun DataPointOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4592,7 +4592,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getStringVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun DataPointOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4601,7 +4601,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getStringVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun DataPointOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4610,7 +4610,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~~~">
@@ -4619,7 +4619,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPointOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~~~">
@@ -4628,7 +4628,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~">
@@ -4637,7 +4637,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~">
@@ -4646,7 +4646,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4655,7 +4655,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4664,7 +4664,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~">
@@ -4673,7 +4673,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.longVal ?: defaultVal"
errorLine2=" ~~~~~~~">
@@ -4682,7 +4682,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4691,7 +4691,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4700,7 +4700,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4709,7 +4709,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" valuesMap[key]?.doubleVal ?: defaultVal"
errorLine2=" ~~~~~~~~~">
@@ -4718,7 +4718,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4727,7 +4727,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4736,7 +4736,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getStringVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4745,7 +4745,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getStringVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getString(key: String): String? = valuesMap[key]?.stringVal"
errorLine2=" ~~~~~~~~~">
@@ -4754,7 +4754,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getEnum(key: String): String? = valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~~~">
@@ -4763,7 +4763,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValueOrBuilder.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getEnum(key: String): String? = valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~~~">
@@ -4772,7 +4772,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getEnum(key: String): String? = valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~">
@@ -4781,7 +4781,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1="internal fun SeriesValueOrBuilder.getEnum(key: String): String? = valuesMap[key]?.enumVal"
errorLine2=" ~~~~~~~">
@@ -4790,7 +4790,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" id = if (hasUid()) uid else Metadata.EMPTY_ID,"
errorLine2=" ~~~">
@@ -4799,7 +4799,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" id = if (hasUid()) uid else Metadata.EMPTY_ID,"
errorLine2=" ~~~">
@@ -4808,7 +4808,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.hasUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" id = if (hasUid()) uid else Metadata.EMPTY_ID,"
errorLine2=" ~~~~~~">
@@ -4817,7 +4817,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.getApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigin = DataOrigin(dataOrigin.applicationId),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4826,7 +4826,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.getApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigin = DataOrigin(dataOrigin.applicationId),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4835,7 +4835,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigin = DataOrigin(dataOrigin.applicationId),"
errorLine2=" ~~~~~~~~~~">
@@ -4844,7 +4844,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigin = DataOrigin(dataOrigin.applicationId),"
errorLine2=" ~~~~~~~~~~">
@@ -4853,7 +4853,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getUpdateTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" lastModifiedTime = Instant.ofEpochMilli(updateTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4862,7 +4862,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getUpdateTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" lastModifiedTime = Instant.ofEpochMilli(updateTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4871,7 +4871,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getClientId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientRecordId = if (hasClientId()) clientId else null,"
errorLine2=" ~~~~~~~~">
@@ -4880,7 +4880,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getClientId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientRecordId = if (hasClientId()) clientId else null,"
errorLine2=" ~~~~~~~~">
@@ -4889,7 +4889,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.hasClientId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientRecordId = if (hasClientId()) clientId else null,"
errorLine2=" ~~~~~~~~~~~">
@@ -4898,7 +4898,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getClientVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientRecordVersion = clientVersion,"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4907,7 +4907,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getClientVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientRecordVersion = clientVersion,"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4916,7 +4916,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDevice can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" device = if (hasDevice()) device.toDevice() else null,"
errorLine2=" ~~~~~~">
@@ -4925,7 +4925,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getDevice can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" device = if (hasDevice()) device.toDevice() else null,"
errorLine2=" ~~~~~~">
@@ -4934,7 +4934,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.hasDevice can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" device = if (hasDevice()) device.toDevice() else null,"
errorLine2=" ~~~~~~~~~">
@@ -4943,7 +4943,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getRecordingMethod can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" recordingMethod = recordingMethod"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4952,7 +4952,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.getRecordingMethod can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" recordingMethod = recordingMethod"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4961,7 +4961,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.getManufacturer can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manufacturer = if (hasManufacturer()) manufacturer else null,"
errorLine2=" ~~~~~~~~~~~~">
@@ -4970,7 +4970,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.getManufacturer can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manufacturer = if (hasManufacturer()) manufacturer else null,"
errorLine2=" ~~~~~~~~~~~~">
@@ -4979,7 +4979,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.hasManufacturer can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" manufacturer = if (hasManufacturer()) manufacturer else null,"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4988,7 +4988,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.getModel can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" model = if (hasModel()) model else null,"
errorLine2=" ~~~~~">
@@ -4997,7 +4997,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.getModel can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" model = if (hasModel()) model else null,"
errorLine2=" ~~~~~">
@@ -5006,7 +5006,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.hasModel can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" model = if (hasModel()) model else null,"
errorLine2=" ~~~~~~~~">
@@ -5015,7 +5015,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.getType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" type = DEVICE_TYPE_STRING_TO_INT_MAP.getOrDefault(type, Device.TYPE_UNKNOWN)"
errorLine2=" ~~~~">
@@ -5024,7 +5024,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.getType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" type = DEVICE_TYPE_STRING_TO_INT_MAP.getOrDefault(type, Device.TYPE_UNKNOWN)"
errorLine2=" ~~~~">
@@ -5033,7 +5033,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5042,7 +5042,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5051,7 +5051,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5060,7 +5060,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5069,7 +5069,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(it.endTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5078,7 +5078,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(it.endTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5087,7 +5087,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" stage = STAGE_TYPE_STRING_TO_INT_MAP[it.valuesMap["stage"]?.enumVal]"
errorLine2=" ~~~~~~~~~">
@@ -5096,7 +5096,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" stage = STAGE_TYPE_STRING_TO_INT_MAP[it.valuesMap["stage"]?.enumVal]"
errorLine2=" ~~~~~~~~~">
@@ -5105,7 +5105,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" stage = STAGE_TYPE_STRING_TO_INT_MAP[it.valuesMap["stage"]?.enumVal]"
errorLine2=" ~~~~~~~">
@@ -5114,7 +5114,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" stage = STAGE_TYPE_STRING_TO_INT_MAP[it.valuesMap["stage"]?.enumVal]"
errorLine2=" ~~~~~~~">
@@ -5123,7 +5123,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5132,7 +5132,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5141,7 +5141,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5150,7 +5150,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5159,7 +5159,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(it.endTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5168,7 +5168,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(it.endTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5177,7 +5177,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" segmentType = (it.valuesMap["type"]?.longVal ?: EXERCISE_SEGMENT_TYPE_UNKNOWN).toInt(),"
errorLine2=" ~~~~~~~~~">
@@ -5186,7 +5186,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" segmentType = (it.valuesMap["type"]?.longVal ?: EXERCISE_SEGMENT_TYPE_UNKNOWN).toInt(),"
errorLine2=" ~~~~~~~~~">
@@ -5195,7 +5195,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" segmentType = (it.valuesMap["type"]?.longVal ?: EXERCISE_SEGMENT_TYPE_UNKNOWN).toInt(),"
errorLine2=" ~~~~~~~">
@@ -5204,7 +5204,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" segmentType = (it.valuesMap["type"]?.longVal ?: EXERCISE_SEGMENT_TYPE_UNKNOWN).toInt(),"
errorLine2=" ~~~~~~~">
@@ -5213,7 +5213,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" repetitions = it.valuesMap["reps"]?.longVal?.toInt() ?: 0"
errorLine2=" ~~~~~~~~~">
@@ -5222,7 +5222,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" repetitions = it.valuesMap["reps"]?.longVal?.toInt() ?: 0"
errorLine2=" ~~~~~~~~~">
@@ -5231,7 +5231,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" repetitions = it.valuesMap["reps"]?.longVal?.toInt() ?: 0"
errorLine2=" ~~~~~~~">
@@ -5240,7 +5240,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" repetitions = it.valuesMap["reps"]?.longVal?.toInt() ?: 0"
errorLine2=" ~~~~~~~">
@@ -5249,7 +5249,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5258,7 +5258,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5267,7 +5267,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5276,7 +5276,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startTime = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5285,7 +5285,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(it.endTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5294,7 +5294,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endTime = Instant.ofEpochMilli(it.endTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5303,7 +5303,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" length = it.valuesMap["length"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5312,7 +5312,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" length = it.valuesMap["length"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5321,7 +5321,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" length = it.valuesMap["length"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5330,7 +5330,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" length = it.valuesMap["length"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5339,7 +5339,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5348,7 +5348,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.getValuesList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return valuesList.map {"
errorLine2=" ~~~~~~~~~~">
@@ -5357,7 +5357,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5366,7 +5366,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" time = Instant.ofEpochMilli(it.startTimeMillis),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5375,7 +5375,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = it.valuesMap["latitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5384,7 +5384,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = it.valuesMap["latitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5393,7 +5393,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = it.valuesMap["latitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5402,7 +5402,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" latitude = it.valuesMap["latitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5411,7 +5411,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = it.valuesMap["longitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5420,7 +5420,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = it.valuesMap["longitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5429,7 +5429,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = it.valuesMap["longitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5438,7 +5438,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" longitude = it.valuesMap["longitude"]?.doubleVal ?: 0.0,"
errorLine2=" ~~~~~~~~~">
@@ -5447,7 +5447,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = it.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5456,7 +5456,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = it.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5465,7 +5465,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = it.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5474,7 +5474,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude = it.valuesMap["altitude"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5483,7 +5483,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = it.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5492,7 +5492,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = it.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5501,7 +5501,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = it.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5510,7 +5510,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy = it.valuesMap["horizontal_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5519,7 +5519,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = it.valuesMap["vertical_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5528,7 +5528,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.getValuesMap can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = it.valuesMap["vertical_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5537,7 +5537,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = it.valuesMap["vertical_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5546,7 +5546,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.getDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy = it.valuesMap["vertical_accuracy"]?.doubleVal?.meters,"
errorLine2=" ~~~~~~~~~">
@@ -5555,7 +5555,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataResponse.getDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" resultFuture.set(response.proto.dataPoint)"
errorLine2=" ~~~~~~~~~">
@@ -5564,7 +5564,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataResponse.getDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" resultFuture.set(response.proto.dataPoint)"
errorLine2=" ~~~~~~~~~">
@@ -5573,7 +5573,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.ReadDataRangeRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -5582,7 +5582,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return RequestProto.ReadDataRangeRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -5591,7 +5591,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(request.recordType.toDataType())"
errorLine2=" ~~~~~~~~~~~">
@@ -5600,7 +5600,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTimeSpec can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" setTimeSpec(request.timeRangeFilter.toProto())"
errorLine2=" ~~~~~~~~~~~">
@@ -5609,7 +5609,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataOriginFilters can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" addAllDataOriginFilters("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5618,7 +5618,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataOrigin.newBuilder().setApplicationId(it.packageName).build()"
errorLine2=" ~~~~~">
@@ -5627,7 +5627,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataOrigin.newBuilder().setApplicationId(it.packageName).build()"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5636,7 +5636,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataOrigin.newBuilder().setApplicationId(it.packageName).build()"
errorLine2=" ~~~~~~~~~~">
@@ -5645,7 +5645,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAscOrdering can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" setAscOrdering(request.ascendingOrder)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -5654,7 +5654,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPageSize can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" setPageSize(request.pageSize)"
errorLine2=" ~~~~~~~~~~~">
@@ -5663,7 +5663,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPageToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" request.pageToken?.let { setPageToken(it) }"
errorLine2=" ~~~~~~~~~~~~">
@@ -5672,7 +5672,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5681,7 +5681,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRangeResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.ReadDataRangeResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -5690,7 +5690,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.ReadDataRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -5699,7 +5699,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.ReadDataRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -5708,7 +5708,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataTypeIdPair can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataTypeIdPair(toDataTypeIdPairProto(dataTypeKC, uid))"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -5717,7 +5717,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5726,7 +5726,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadDataResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.ReadDataResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -5735,7 +5735,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadExerciseRouteRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.ReadExerciseRouteRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -5744,7 +5744,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ReadExerciseRouteResponse.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = ResponseProto.ReadExerciseRouteResponse.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -5753,7 +5753,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BasalBodyTemperature"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5762,7 +5762,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("temperature", doubleVal(temperature.inCelsius))"
errorLine2=" ~~~~~~~~~">
@@ -5771,7 +5771,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("measurementLocation", it) }"
errorLine2=" ~~~~~~~~~">
@@ -5780,7 +5780,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5789,7 +5789,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BasalMetabolicRate"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5798,7 +5798,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("bmr", doubleVal(basalMetabolicRate.inKilocaloriesPerDay)) }"
errorLine2=" ~~~~~~~~~">
@@ -5807,7 +5807,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5816,7 +5816,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BloodGlucose"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5825,7 +5825,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("level", doubleVal(level.inMillimolesPerLiter))"
errorLine2=" ~~~~~~~~~">
@@ -5834,7 +5834,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("specimenSource", it) }"
errorLine2=" ~~~~~~~~~">
@@ -5843,7 +5843,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("mealType", it)"
errorLine2=" ~~~~~~~~~">
@@ -5852,7 +5852,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("relationToMeal", it) }"
errorLine2=" ~~~~~~~~~">
@@ -5861,7 +5861,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5870,7 +5870,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BloodPressure"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5879,7 +5879,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("systolic", doubleVal(systolic.inMillimetersOfMercury))"
errorLine2=" ~~~~~~~~~">
@@ -5888,7 +5888,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("diastolic", doubleVal(diastolic.inMillimetersOfMercury))"
errorLine2=" ~~~~~~~~~">
@@ -5897,7 +5897,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("bodyPosition", it) }"
errorLine2=" ~~~~~~~~~">
@@ -5906,7 +5906,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("measurementLocation", it) }"
errorLine2=" ~~~~~~~~~">
@@ -5915,7 +5915,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5924,7 +5924,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BodyFat"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5933,7 +5933,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("percentage", doubleVal(percentage.value)) }"
errorLine2=" ~~~~~~~~~">
@@ -5942,7 +5942,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5951,7 +5951,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BodyTemperature"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5960,7 +5960,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("temperature", doubleVal(temperature.inCelsius))"
errorLine2=" ~~~~~~~~~">
@@ -5969,7 +5969,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("measurementLocation", it) }"
errorLine2=" ~~~~~~~~~">
@@ -5978,7 +5978,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -5987,7 +5987,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BodyWaterMass"))"
errorLine2=" ~~~~~~~~~~~">
@@ -5996,7 +5996,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("mass", doubleVal(mass.inKilograms)) }"
errorLine2=" ~~~~~~~~~">
@@ -6005,7 +6005,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6014,7 +6014,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("BoneMass"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6023,7 +6023,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("mass", doubleVal(mass.inKilograms)) }"
errorLine2=" ~~~~~~~~~">
@@ -6032,7 +6032,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6041,7 +6041,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("CervicalMucus"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6050,7 +6050,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("texture", it)"
errorLine2=" ~~~~~~~~~">
@@ -6059,7 +6059,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("amount", it)"
errorLine2=" ~~~~~~~~~">
@@ -6068,7 +6068,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6077,7 +6077,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.SeriesValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6086,7 +6086,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("rpm", doubleVal(sample.revolutionsPerMinute))"
errorLine2=" ~~~~~~~~~">
@@ -6095,7 +6095,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setInstantTimeMillis(sample.time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6104,7 +6104,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6113,7 +6113,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.SeriesValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6122,7 +6122,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("bpm", longVal(sample.beatsPerMinute))"
errorLine2=" ~~~~~~~~~">
@@ -6131,7 +6131,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setInstantTimeMillis(sample.time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6140,7 +6140,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6149,7 +6149,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Height"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6158,7 +6158,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("height", doubleVal(height.inMeters)) }"
errorLine2=" ~~~~~~~~~">
@@ -6167,7 +6167,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6176,7 +6176,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("HeartRateVariabilityRmssd"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6185,7 +6185,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("heartRateVariability", doubleVal(heartRateVariabilityMillis)) }"
errorLine2=" ~~~~~~~~~">
@@ -6194,7 +6194,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6203,7 +6203,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" instantaneousProto().setDataType(protoDataType("IntermenstrualBleeding")).build()"
errorLine2=" ~~~~~">
@@ -6212,7 +6212,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" instantaneousProto().setDataType(protoDataType("IntermenstrualBleeding")).build()"
errorLine2=" ~~~~~~~~~~~">
@@ -6221,7 +6221,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("LeanBodyMass"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6230,7 +6230,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("mass", doubleVal(mass.inKilograms)) }"
errorLine2=" ~~~~~~~~~">
@@ -6239,7 +6239,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6248,7 +6248,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Menstruation"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6257,7 +6257,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("flow", it)"
errorLine2=" ~~~~~~~~~">
@@ -6266,7 +6266,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6275,7 +6275,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" intervalProto().setDataType(protoDataType("MenstruationPeriod")).build()"
errorLine2=" ~~~~~">
@@ -6284,7 +6284,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" intervalProto().setDataType(protoDataType("MenstruationPeriod")).build()"
errorLine2=" ~~~~~~~~~~~">
@@ -6293,7 +6293,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("OvulationTest"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6302,7 +6302,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("result", it)"
errorLine2=" ~~~~~~~~~">
@@ -6311,7 +6311,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6320,7 +6320,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("OxygenSaturation"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6329,7 +6329,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("percentage", doubleVal(percentage.value)) }"
errorLine2=" ~~~~~~~~~">
@@ -6338,7 +6338,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6347,7 +6347,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.SeriesValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6356,7 +6356,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("power", doubleVal(sample.power.inWatts))"
errorLine2=" ~~~~~~~~~">
@@ -6365,7 +6365,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setInstantTimeMillis(sample.time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6374,7 +6374,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6383,7 +6383,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("RespiratoryRate"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6392,7 +6392,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("rate", doubleVal(rate)) }"
errorLine2=" ~~~~~~~~~">
@@ -6401,7 +6401,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6410,7 +6410,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("RestingHeartRate"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6419,7 +6419,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("bpm", longVal(beatsPerMinute)) }"
errorLine2=" ~~~~~~~~~">
@@ -6428,7 +6428,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6437,7 +6437,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("SexualActivity"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6446,7 +6446,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("protectionUsed", it) }"
errorLine2=" ~~~~~~~~~">
@@ -6455,7 +6455,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6464,7 +6464,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.SeriesValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6473,7 +6473,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("speed", doubleVal(sample.speed.inMetersPerSecond))"
errorLine2=" ~~~~~~~~~">
@@ -6482,7 +6482,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setInstantTimeMillis(sample.time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6491,7 +6491,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6500,7 +6500,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SeriesValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.SeriesValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6509,7 +6509,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("rate", doubleVal(sample.rate))"
errorLine2=" ~~~~~~~~~">
@@ -6518,7 +6518,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setInstantTimeMillis(sample.time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6527,7 +6527,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6536,7 +6536,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Vo2Max"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6545,7 +6545,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vo2", doubleVal(vo2MillilitersPerMinuteKilogram))"
errorLine2=" ~~~~~~~~~">
@@ -6554,7 +6554,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" ?.let { putValues("measurementMethod", it) }"
errorLine2=" ~~~~~~~~~">
@@ -6563,7 +6563,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6572,7 +6572,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Weight"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6581,7 +6581,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("weight", doubleVal(weight.inKilograms)) }"
errorLine2=" ~~~~~~~~~">
@@ -6590,7 +6590,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6599,7 +6599,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("ActiveCaloriesBurned"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6608,7 +6608,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("energy", doubleVal(energy.inKilocalories)) }"
errorLine2=" ~~~~~~~~~">
@@ -6617,7 +6617,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6626,7 +6626,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("ActivitySession"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6635,7 +6635,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("hasRoute", boolVal(exerciseRouteResult !is ExerciseRouteResult.NoData))"
errorLine2=" ~~~~~~~~~">
@@ -6644,7 +6644,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("activityType", exerciseType)"
errorLine2=" ~~~~~~~~~">
@@ -6653,7 +6653,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" title?.let { putValues("title", stringVal(it)) }"
errorLine2=" ~~~~~~~~~">
@@ -6662,7 +6662,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" notes?.let { putValues("notes", stringVal(it)) }"
errorLine2=" ~~~~~~~~~">
@@ -6671,7 +6671,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putSubTypeDataLists can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putSubTypeDataLists("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6680,7 +6680,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataPoint.SubTypeDataList.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6689,7 +6689,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllValues(segments.map { it.toProto() })"
errorLine2=" ~~~~~~~~~~~~">
@@ -6698,7 +6698,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6707,7 +6707,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putSubTypeDataLists can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putSubTypeDataLists("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6716,7 +6716,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataPoint.SubTypeDataList.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6725,7 +6725,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllValues(laps.map { it.toProto() })"
errorLine2=" ~~~~~~~~~~~~">
@@ -6734,7 +6734,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6743,7 +6743,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putSubTypeDataLists can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putSubTypeDataLists("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6752,7 +6752,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataPoint.SubTypeDataList.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6761,7 +6761,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllValues("
errorLine2=" ~~~~~~~~~~~~">
@@ -6770,7 +6770,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6779,7 +6779,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6788,7 +6788,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Distance"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6797,7 +6797,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("distance", doubleVal(distance.inMeters)) }"
errorLine2=" ~~~~~~~~~">
@@ -6806,7 +6806,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6815,7 +6815,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("ElevationGained"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6824,7 +6824,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("elevation", doubleVal(elevation.inMeters)) }"
errorLine2=" ~~~~~~~~~">
@@ -6833,7 +6833,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6842,7 +6842,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("FloorsClimbed"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6851,7 +6851,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("floors", doubleVal(floors)) }"
errorLine2=" ~~~~~~~~~">
@@ -6860,7 +6860,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6869,7 +6869,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Hydration"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6878,7 +6878,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("volume", doubleVal(volume.inLiters)) }"
errorLine2=" ~~~~~~~~~">
@@ -6887,7 +6887,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -6896,7 +6896,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Nutrition"))"
errorLine2=" ~~~~~~~~~~~">
@@ -6905,7 +6905,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("biotin", doubleVal(biotin.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6914,7 +6914,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("caffeine", doubleVal(caffeine.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6923,7 +6923,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("calcium", doubleVal(calcium.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6932,7 +6932,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("calories", doubleVal(energy.inKilocalories))"
errorLine2=" ~~~~~~~~~">
@@ -6941,7 +6941,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("caloriesFromFat", doubleVal(energyFromFat.inKilocalories))"
errorLine2=" ~~~~~~~~~">
@@ -6950,7 +6950,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("chloride", doubleVal(chloride.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6959,7 +6959,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("cholesterol", doubleVal(cholesterol.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6968,7 +6968,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("chromium", doubleVal(chromium.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6977,7 +6977,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("copper", doubleVal(copper.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6986,7 +6986,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("dietaryFiber", doubleVal(dietaryFiber.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -6995,7 +6995,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("folate", doubleVal(folate.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7004,7 +7004,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("folicAcid", doubleVal(folicAcid.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7013,7 +7013,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("iodine", doubleVal(iodine.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7022,7 +7022,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("iron", doubleVal(iron.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7031,7 +7031,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("magnesium", doubleVal(magnesium.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7040,7 +7040,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("manganese", doubleVal(manganese.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7049,7 +7049,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("molybdenum", doubleVal(molybdenum.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7058,7 +7058,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("monounsaturatedFat", doubleVal(monounsaturatedFat.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7067,7 +7067,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("niacin", doubleVal(niacin.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7076,7 +7076,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("pantothenicAcid", doubleVal(pantothenicAcid.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7085,7 +7085,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("phosphorus", doubleVal(phosphorus.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7094,7 +7094,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("polyunsaturatedFat", doubleVal(polyunsaturatedFat.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7103,7 +7103,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("potassium", doubleVal(potassium.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7112,7 +7112,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("protein", doubleVal(protein.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7121,7 +7121,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("riboflavin", doubleVal(riboflavin.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7130,7 +7130,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("saturatedFat", doubleVal(saturatedFat.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7139,7 +7139,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("selenium", doubleVal(selenium.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7148,7 +7148,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("sodium", doubleVal(sodium.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7157,7 +7157,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("sugar", doubleVal(sugar.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7166,7 +7166,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("thiamin", doubleVal(thiamin.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7175,7 +7175,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("totalCarbohydrate", doubleVal(totalCarbohydrate.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7184,7 +7184,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("totalFat", doubleVal(totalFat.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7193,7 +7193,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("transFat", doubleVal(transFat.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7202,7 +7202,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("unsaturatedFat", doubleVal(unsaturatedFat.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7211,7 +7211,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminA", doubleVal(vitaminA.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7220,7 +7220,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminB12", doubleVal(vitaminB12.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7229,7 +7229,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminB6", doubleVal(vitaminB6.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7238,7 +7238,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminC", doubleVal(vitaminC.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7247,7 +7247,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminD", doubleVal(vitaminD.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7256,7 +7256,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminE", doubleVal(vitaminE.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7265,7 +7265,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("vitaminK", doubleVal(vitaminK.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7274,7 +7274,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("zinc", doubleVal(zinc.inGrams))"
errorLine2=" ~~~~~~~~~">
@@ -7283,7 +7283,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("mealType", it)"
errorLine2=" ~~~~~~~~~">
@@ -7292,7 +7292,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" name?.let { putValues("name", stringVal(it)) }"
errorLine2=" ~~~~~~~~~">
@@ -7301,7 +7301,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7310,7 +7310,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("SleepSession"))"
errorLine2=" ~~~~~~~~~~~">
@@ -7319,7 +7319,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putSubTypeDataLists can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putSubTypeDataLists("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7328,7 +7328,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataList.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataPoint.SubTypeDataList.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7337,7 +7337,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllValues(stages.map { it.toProto() })"
errorLine2=" ~~~~~~~~~~~~">
@@ -7346,7 +7346,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7355,7 +7355,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" title?.let { putValues("title", stringVal(it)) }"
errorLine2=" ~~~~~~~~~">
@@ -7364,7 +7364,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" notes?.let { putValues("notes", stringVal(it)) }"
errorLine2=" ~~~~~~~~~">
@@ -7373,7 +7373,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7382,7 +7382,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("SleepStage"))"
errorLine2=" ~~~~~~~~~~~">
@@ -7391,7 +7391,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("stage", it)"
errorLine2=" ~~~~~~~~~">
@@ -7400,7 +7400,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7409,7 +7409,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("Steps"))"
errorLine2=" ~~~~~~~~~~~">
@@ -7418,7 +7418,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("count", longVal(count)) }"
errorLine2=" ~~~~~~~~~">
@@ -7427,7 +7427,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7436,7 +7436,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("TotalCaloriesBurned"))"
errorLine2=" ~~~~~~~~~~~">
@@ -7445,7 +7445,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("energy", doubleVal(energy.inKilocalories)) }"
errorLine2=" ~~~~~~~~~">
@@ -7454,7 +7454,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7463,7 +7463,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType("WheelchairPushes"))"
errorLine2=" ~~~~~~~~~~~">
@@ -7472,7 +7472,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { putValues("count", longVal(count)) }"
errorLine2=" ~~~~~~~~~">
@@ -7481,7 +7481,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7490,7 +7490,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setDataType(protoDataType(dataTypeName = dataTypeName))"
errorLine2=" ~~~~~~~~~~~">
@@ -7499,7 +7499,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addSeriesValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" addSeriesValues(getSeriesValue(sample))"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7508,7 +7508,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7517,7 +7517,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataType.newBuilder().setName(dataTypeName).build()"
errorLine2=" ~~~~~">
@@ -7526,7 +7526,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setName can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataType.newBuilder().setName(dataTypeName).build()"
errorLine2=" ~~~~~~~">
@@ -7535,7 +7535,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataType.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataType.newBuilder().setName(dataTypeName).build()"
errorLine2=" ~~~~~~~~~~">
@@ -7544,7 +7544,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataPoint.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7553,7 +7553,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInstantTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setInstantTimeMillis(time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7562,7 +7562,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" zoneOffset?.let { builder.setZoneOffsetSeconds(it.totalSeconds) }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7571,7 +7571,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataPoint.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataPoint.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7580,7 +7580,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setStartTimeMillis(startTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7589,7 +7589,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setEndTimeMillis(endTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7598,7 +7598,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" startZoneOffset?.let { builder.setStartZoneOffsetSeconds(it.totalSeconds) }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7607,7 +7607,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndZoneOffsetSeconds can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" endZoneOffset?.let { builder.setEndZoneOffsetSeconds(it.totalSeconds) }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7616,7 +7616,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" uid = metadata.id"
errorLine2=" ~~~">
@@ -7625,7 +7625,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" uid = metadata.id"
errorLine2=" ~~~">
@@ -7634,7 +7634,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigin ="
errorLine2=" ~~~~~~~~~~">
@@ -7643,7 +7643,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDataOrigin can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" dataOrigin ="
errorLine2=" ~~~~~~~~~~">
@@ -7652,7 +7652,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataOrigin.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7661,7 +7661,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DataOrigin.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.DataOrigin.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7670,7 +7670,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setApplicationId(metadata.dataOrigin.packageName)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7679,7 +7679,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setApplicationId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setApplicationId(metadata.dataOrigin.packageName)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7688,7 +7688,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7697,7 +7697,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7706,7 +7706,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUpdateTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" updateTimeMillis = metadata.lastModifiedTime.toEpochMilli()"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7715,7 +7715,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUpdateTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" updateTimeMillis = metadata.lastModifiedTime.toEpochMilli()"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7724,7 +7724,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClientId can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" metadata.clientRecordId?.let { setClientId(it) }"
errorLine2=" ~~~~~~~~~~~">
@@ -7733,7 +7733,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClientVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientVersion = metadata.clientRecordVersion"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7742,7 +7742,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClientVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" clientVersion = metadata.clientRecordVersion"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7751,7 +7751,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDevice can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" metadata.device?.let { setDevice(it.toProto()) }"
errorLine2=" ~~~~~~~~~">
@@ -7760,7 +7760,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRecordingMethod can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" recordingMethod = metadata.recordingMethod"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7769,7 +7769,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRecordingMethod can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" recordingMethod = metadata.recordingMethod"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7778,7 +7778,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Device.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DataProto.Device.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7787,7 +7787,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setManufacturer can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" obj.manufacturer?.let { setManufacturer(it) }"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7796,7 +7796,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModel can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" obj.model?.let { setModel(it) }"
errorLine2=" ~~~~~~~~">
@@ -7805,7 +7805,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setType can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" setType(DEVICE_TYPE_INT_TO_STRING_MAP.getOrDefault(obj.type, DeviceTypes.UNKNOWN))"
errorLine2=" ~~~~~~~">
@@ -7814,7 +7814,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7823,7 +7823,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DataProto.SubTypeDataValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7832,7 +7832,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setStartTimeMillis(startTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7841,7 +7841,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setEndTimeMillis(endTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7850,7 +7850,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" putValues("stage", it)"
errorLine2=" ~~~~~~~~~">
@@ -7859,7 +7859,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7868,7 +7868,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DataProto.SubTypeDataValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7877,7 +7877,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setStartTimeMillis(startTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7886,7 +7886,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setEndTimeMillis(endTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7895,7 +7895,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("type", longVal(segmentType.toLong()))"
errorLine2=" ~~~~~~~~~">
@@ -7904,7 +7904,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("reps", longVal(repetitions.toLong()))"
errorLine2=" ~~~~~~~~~">
@@ -7913,7 +7913,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7922,7 +7922,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DataProto.SubTypeDataValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7931,7 +7931,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setStartTimeMillis(startTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7940,7 +7940,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setEndTimeMillis(endTime.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7949,7 +7949,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { length?.let { putValues("length", doubleVal(it.inMeters)) } }"
errorLine2=" ~~~~~~~~~">
@@ -7958,7 +7958,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -7967,7 +7967,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SubTypeDataValue.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return DataProto.SubTypeDataValue.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7976,7 +7976,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setStartTimeMillis(time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7985,7 +7985,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndTimeMillis can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setEndTimeMillis(time.toEpochMilli())"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7994,7 +7994,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("latitude", doubleVal(latitude))"
errorLine2=" ~~~~~~~~~">
@@ -8003,7 +8003,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .putValues("longitude", doubleVal(longitude))"
errorLine2=" ~~~~~~~~~">
@@ -8012,7 +8012,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" horizontalAccuracy?.let { putValues("horizontal_accuracy", doubleVal(it.inMeters)) }"
errorLine2=" ~~~~~~~~~">
@@ -8021,7 +8021,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" verticalAccuracy?.let { putValues("vertical_accuracy", doubleVal(it.inMeters)) }"
errorLine2=" ~~~~~~~~~">
@@ -8030,7 +8030,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putValues can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" altitude?.let { putValues("altitude", doubleVal(it.inMeters)) }"
errorLine2=" ~~~~~~~~~">
@@ -8039,7 +8039,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -8048,7 +8048,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RegisterForDataNotificationsRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.RegisterForDataNotificationsRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -8057,7 +8057,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.RequestContext.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -8066,7 +8066,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCallingPackage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setCallingPackage(obj.callingPackage)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8075,7 +8075,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSdkVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setSdkVersion(obj.sdkVersion)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8084,7 +8084,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPermissionToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .apply { obj.permissionToken?.let { setPermissionToken(it) } }"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -8093,7 +8093,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIsInForeground can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setIsInForeground(obj.isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8102,7 +8102,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -8111,7 +8111,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.RequestContext.parseFrom(it).run {"
errorLine2=" ~~~~~~~~~">
@@ -8120,7 +8120,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getCallingPackage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8129,7 +8129,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getCallingPackage can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8138,7 +8138,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getIsInForeground can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8147,7 +8147,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getIsInForeground can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8156,7 +8156,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getPermissionToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8165,7 +8165,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getPermissionToken can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8174,7 +8174,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getSdkVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~">
@@ -8183,7 +8183,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RequestContext.getSdkVersion can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestContext(callingPackage, sdkVersion, permissionToken, isInForeground)"
errorLine2=" ~~~~~~~~~~">
@@ -8192,7 +8192,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeSpec.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return TimeProto.TimeSpec.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -8201,7 +8201,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" obj.startTime?.let { setStartTimeEpochMs(it.toEpochMilli()) }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8210,7 +8210,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndTimeEpochMs can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" obj.endTime?.let { setEndTimeEpochMs(it.toEpochMilli()) }"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8219,7 +8219,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" obj.localStartTime?.let { setStartLocalDateTime(it.toString()) }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -8228,7 +8228,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndLocalDateTime can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" obj.localEndTime?.let { setEndLocalDateTime(it.toString()) }"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8237,7 +8237,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -8246,7 +8246,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UnregisterFromDataNotificationsRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" RequestProto.UnregisterFromDataNotificationsRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -8255,7 +8255,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertDataRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return RequestProto.UpsertDataRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -8264,7 +8264,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addAllDataPoint can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .addAllDataPoint(obj.dataPoints)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8273,7 +8273,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -8282,7 +8282,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertDataRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.UpsertDataRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -8291,7 +8291,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertDataRequest.getDataPointList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return UpsertDataRequest(proto.dataPointList)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8300,7 +8300,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertDataRequest.getDataPointList can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return UpsertDataRequest(proto.dataPointList)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8309,7 +8309,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertExerciseRouteRequest.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return RequestProto.UpsertExerciseRouteRequest.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -8318,7 +8318,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSessionUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setSessionUid(obj.sessionUid)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8327,7 +8327,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExerciseRoute can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .setExerciseRoute(obj.route)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -8336,7 +8336,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" .build()"
errorLine2=" ~~~~~">
@@ -8345,7 +8345,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertExerciseRouteRequest.parseFrom can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" val proto = RequestProto.UpsertExerciseRouteRequest.parseFrom(it)"
errorLine2=" ~~~~~~~~~">
@@ -8354,7 +8354,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertExerciseRouteRequest.getExerciseRoute can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return UpsertExerciseRouteRequest(proto.sessionUid, proto.exerciseRoute)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8363,7 +8363,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertExerciseRouteRequest.getExerciseRoute can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return UpsertExerciseRouteRequest(proto.sessionUid, proto.exerciseRoute)"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8372,7 +8372,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertExerciseRouteRequest.getSessionUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return UpsertExerciseRouteRequest(proto.sessionUid, proto.exerciseRoute)"
errorLine2=" ~~~~~~~~~~">
@@ -8381,7 +8381,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UpsertExerciseRouteRequest.getSessionUid can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" return UpsertExerciseRouteRequest(proto.sessionUid, proto.exerciseRoute)"
errorLine2=" ~~~~~~~~~~">
@@ -8390,7 +8390,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setLongVal(value).build()"
errorLine2=" ~~~~~">
@@ -8399,7 +8399,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLongVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setLongVal(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -8408,7 +8408,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setLongVal(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -8417,7 +8417,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setDoubleVal(value).build()"
errorLine2=" ~~~~~">
@@ -8426,7 +8426,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDoubleVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setDoubleVal(value).build()"
errorLine2=" ~~~~~~~~~~~~">
@@ -8435,7 +8435,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setDoubleVal(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -8444,7 +8444,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setStringVal(value).build()"
errorLine2=" ~~~~~">
@@ -8453,7 +8453,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setStringVal(value).build()"
errorLine2=" ~~~~~~~~~~~~">
@@ -8462,7 +8462,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setStringVal(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -8471,7 +8471,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setEnumVal(value).build()"
errorLine2=" ~~~~~">
@@ -8480,7 +8480,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEnumVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setEnumVal(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -8489,7 +8489,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setEnumVal(value).build()"
errorLine2=" ~~~~~~~~~~">
@@ -8498,7 +8498,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.build can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setBooleanVal(value).build()"
errorLine2=" ~~~~~">
@@ -8507,7 +8507,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBooleanVal can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setBooleanVal(value).build()"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8516,7 +8516,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Value.newBuilder can only be called from within the same library group (referenced groupId=`__local_aars__` from groupId=`androidx.health.connect`)"
errorLine1=" DataProto.Value.newBuilder().setBooleanVal(value).build()"
errorLine2=" ~~~~~~~~~~">
diff --git a/leanback/leanback-preference/lint-baseline.xml b/leanback/leanback-preference/lint-baseline.xml
index a587861..b442697 100644
--- a/leanback/leanback-preference/lint-baseline.xml
+++ b/leanback/leanback-preference/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="PreferenceFragment.getCallbackFragment can only be called from within the same library (androidx.preference:preference)"
errorLine1=" public Fragment getCallbackFragment() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
diff --git a/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml b/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
index a062d9e..bb00717d 100644
--- a/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
+++ b/lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Lifecycle.internalScopeRef can only be accessed from within the same library group (referenced groupId=`androidx.lifecycle` from groupId=`androidx.lifecycle.integration-tests`)"
errorLine1=" assertThat(owner.lifecycle.internalScopeRef.get()).isSameInstanceAs(scope)"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Lifecycle.internalScopeRef can only be accessed from within the same library group (referenced groupId=`androidx.lifecycle` from groupId=`androidx.lifecycle.integration-tests`)"
errorLine1=" assertThat(owner.lifecycle.internalScopeRef.get()).isSameInstanceAs(scope)"
errorLine2=" ~~~~~~~~~~~~~~~~">
diff --git a/lifecycle/lifecycle-livedata-core/lint-baseline.xml b/lifecycle/lifecycle-livedata-core/lint-baseline.xml
deleted file mode 100644
index 4808888e..0000000
--- a/lifecycle/lifecycle-livedata-core/lint-baseline.xml
+++ /dev/null
@@ -1,148 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" new SafeIterableMap<>();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.iteratorWithAdditions can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" mObservers.iteratorWithAdditions(); iterator.hasNext(); ) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper existing = mObservers.putIfAbsent(observer, wrapper);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.remove can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper removed = mObservers.remove(observer);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.remove can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ObserverWrapper removed = mObservers.remove(observer);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getInstance can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().postToMainThread(mPostValueRunnable);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.postToMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().postToMainThread(mPostValueRunnable);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.postToMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().postToMainThread(mPostValueRunnable);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.size can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" return mObservers.size() > 0;"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getInstance can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" if (!ArchTaskExecutor.getInstance().isMainThread()) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.isMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" if (!ArchTaskExecutor.getInstance().isMainThread()) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveData.java"/>
- </issue>
-
-</issues>
diff --git a/lifecycle/lifecycle-livedata/lint-baseline.xml b/lifecycle/lifecycle-livedata/lint-baseline.xml
deleted file mode 100644
index 66dcbba..0000000
--- a/lifecycle/lifecycle-livedata/lint-baseline.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" internal val executor: Executor = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/ComputableLiveData.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" internal val executor: Executor = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/ComputableLiveData.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getInstance can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread(invalidationRunnable)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/ComputableLiveData.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread(invalidationRunnable)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/ComputableLiveData.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread(invalidationRunnable)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/ComputableLiveData.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" private SafeIterableMap<LiveData<?>, Source<?>> mSources = new SafeIterableMap<>();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/MediatorLiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" Source<?> existing = mSources.putIfAbsent(source, e);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/MediatorLiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" Source<?> existing = mSources.putIfAbsent(source, e);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/MediatorLiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" Source<?> existing = mSources.putIfAbsent(source, e);"
- errorLine2=" ~">
- <location
- file="src/main/java/androidx/lifecycle/MediatorLiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.remove can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" Source<?> source = mSources.remove(toRemote);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/MediatorLiveData.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.remove can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" Source<?> source = mSources.remove(toRemote);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/MediatorLiveData.java"/>
- </issue>
-
-</issues>
diff --git a/lifecycle/lifecycle-reactivestreams/lint-baseline.xml b/lifecycle/lifecycle-reactivestreams/lint-baseline.xml
deleted file mode 100644
index 9767dc0..0000000
--- a/lifecycle/lifecycle-reactivestreams/lint-baseline.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getInstance can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread("
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" Runnable {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getInstance can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance().executeOnMainThread {"
- errorLine2=" ^">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getInstance can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" ArchTaskExecutor.getInstance()"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" .executeOnMainThread { // Errors should be handled upstream, so propagate as a crash."
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="TaskExecutor.executeOnMainThread can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" .executeOnMainThread { // Errors should be handled upstream, so propagate as a crash."
- errorLine2=" ^">
- <location
- file="src/main/java/androidx/lifecycle/LiveDataReactiveStreams.kt"/>
- </issue>
-
-</issues>
diff --git a/lifecycle/lifecycle-runtime/lint-baseline.xml b/lifecycle/lifecycle-runtime/lint-baseline.xml
deleted file mode 100644
index 38b0dba..0000000
--- a/lifecycle/lifecycle-runtime/lint-baseline.xml
+++ /dev/null
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" private var observerMap = FastSafeIterableMap<LifecycleObserver, ObserverWithState>()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" observerMap = FastSafeIterableMap()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.size can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" if (observerMap.size() == 0) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.eldest can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val eldestObserverState = observerMap.eldest()!!.value.state"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.newest can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val newestObserverState = observerMap.newest()!!.value.state"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.ceil can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val map = observerMap.ceil(observer)"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val previous = observerMap.putIfAbsent(observer, statefulObserver)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val previous = observerMap.putIfAbsent(observer, statefulObserver)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.putIfAbsent can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val previous = observerMap.putIfAbsent(observer, statefulObserver)"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.contains can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" while (statefulObserver.state < targetState && observerMap.contains(observer)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.remove can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" observerMap.remove(observer)"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.remove can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" observerMap.remove(observer)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.size can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" return observerMap.size()"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.iteratorWithAdditions can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" observerMap.iteratorWithAdditions()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.contains can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" while (observer.state < state && !newEventOccurred && observerMap.contains(key)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.descendingIterator can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val descendingIterator = observerMap.descendingIterator()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="FastSafeIterableMap.contains can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" while (observer.state > state && !newEventOccurred && observerMap.contains(key)"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.eldest can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" if (state < observerMap.eldest()!!.value.state) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="SafeIterableMap.newest can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.lifecycle`)"
- errorLine1=" val newest = observerMap.newest()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/lifecycle/LifecycleRegistry.kt"/>
- </issue>
-
-</issues>
diff --git a/lint-checks/src/main/java/androidx/build/lint/AbstractAnnotationDetector.kt b/lint-checks/src/main/java/androidx/build/lint/AbstractAnnotationDetector.kt
new file mode 100644
index 0000000..3420fcc
--- /dev/null
+++ b/lint-checks/src/main/java/androidx/build/lint/AbstractAnnotationDetector.kt
@@ -0,0 +1,65 @@
+/*
+ * Copyright 2023 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 androidx.build.lint
+
+import com.android.tools.lint.checks.ResourceTypeDetector.Companion.RESOURCE_TYPE
+import com.android.tools.lint.detector.api.Detector
+import com.android.tools.lint.detector.api.Issue
+import com.android.tools.lint.detector.api.JavaContext
+import com.android.tools.lint.detector.api.LintFix
+import com.android.tools.lint.detector.api.Location
+import com.android.tools.lint.detector.api.SourceCodeScanner
+import org.jetbrains.uast.UElement
+
+/**
+ * Copied from com/android/tools/lint/checks/AbstractAnnotationDetector.kt in Android Studio repo.
+ */
+abstract class AbstractAnnotationDetector : Detector(), SourceCodeScanner {
+ protected fun report(
+ context: JavaContext,
+ issue: Issue,
+ scope: UElement?,
+ location: Location,
+ message: String
+ ) {
+ report(context, issue, scope, location, message, null)
+ }
+
+ protected fun report(
+ context: JavaContext,
+ issue: Issue,
+ scope: UElement?,
+ location: Location,
+ message: String,
+ quickfixData: LintFix?
+ ) {
+ // In the IDE historically (until 2.0) many checks were covered by the
+ // ResourceTypeInspection, and when suppressed, these would all be suppressed with the
+ // id "ResourceType".
+ //
+ // Since then I've split this up into multiple separate issues, but we still want
+ // to honor the older suppress id, so explicitly check for it here:
+ val driver = context.driver
+ if (issue !== RESOURCE_TYPE) {
+ if (scope != null && driver.isSuppressed(context, RESOURCE_TYPE, scope)) {
+ return
+ }
+ }
+
+ context.report(issue, scope, location, message, quickfixData)
+ }
+}
diff --git a/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt b/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt
index 4bcf319..4ebd4d0 100644
--- a/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt
+++ b/lint-checks/src/main/java/androidx/build/lint/AndroidXIssueRegistry.kt
@@ -78,6 +78,7 @@
BanVisibleForTestingParams.ISSUE,
PrereleaseSdkCoreDependencyDetector.ISSUE,
DeprecationMismatchDetector.ISSUE,
+ RestrictToDetector.RESTRICTED,
)
}
}
diff --git a/lint-checks/src/main/java/androidx/build/lint/RestrictToDetector.kt b/lint-checks/src/main/java/androidx/build/lint/RestrictToDetector.kt
new file mode 100644
index 0000000..e66adbf
--- /dev/null
+++ b/lint-checks/src/main/java/androidx/build/lint/RestrictToDetector.kt
@@ -0,0 +1,505 @@
+/*
+ * Copyright 2023 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 androidx.build.lint
+
+import com.android.SdkConstants.ATTR_VALUE
+import com.android.tools.lint.detector.api.AnnotationInfo
+import com.android.tools.lint.detector.api.AnnotationUsageInfo
+import com.android.tools.lint.detector.api.AnnotationUsageType
+import com.android.tools.lint.detector.api.AnnotationUsageType.ASSIGNMENT_LHS
+import com.android.tools.lint.detector.api.AnnotationUsageType.ASSIGNMENT_RHS
+import com.android.tools.lint.detector.api.Category
+import com.android.tools.lint.detector.api.Implementation
+import com.android.tools.lint.detector.api.Issue
+import com.android.tools.lint.detector.api.JavaContext
+import com.android.tools.lint.detector.api.Scope
+import com.android.tools.lint.detector.api.Severity
+import com.android.tools.lint.detector.api.SourceCodeScanner
+import com.android.tools.lint.detector.api.isKotlin
+import com.intellij.lang.jvm.annotation.JvmAnnotationConstantValue
+import com.intellij.psi.PsiClass
+import com.intellij.psi.PsiCompiledElement
+import com.intellij.psi.PsiField
+import com.intellij.psi.PsiMember
+import com.intellij.psi.PsiMethod
+import com.intellij.psi.impl.compiled.ClsAnnotationImpl
+import com.intellij.psi.util.PsiTypesUtil
+import org.jetbrains.uast.UAnnotated
+import org.jetbrains.uast.UAnnotation
+import org.jetbrains.uast.UCallExpression
+import org.jetbrains.uast.UClass
+import org.jetbrains.uast.UElement
+import org.jetbrains.uast.UExpression
+import org.jetbrains.uast.UReferenceExpression
+import org.jetbrains.uast.UTypeReferenceExpression
+import org.jetbrains.uast.UastEmptyExpression
+import org.jetbrains.uast.getParentOfType
+import org.jetbrains.uast.util.isArrayInitializer
+
+/**
+ * Adapted from com/android/tools/lint/checks/RestrictToDetector.kt in Android Studio repo.
+ */
+class RestrictToDetector : AbstractAnnotationDetector(), SourceCodeScanner {
+ override fun applicableAnnotations(): List<String> = listOf(RESTRICT_TO_ANNOTATION)
+
+ override fun inheritAnnotation(annotation: String): Boolean {
+ // Require restriction annotations to be annotated everywhere
+ return false
+ }
+
+ override fun isApplicableAnnotationUsage(type: AnnotationUsageType): Boolean {
+ return type != ASSIGNMENT_LHS &&
+ type != ASSIGNMENT_RHS &&
+ super.isApplicableAnnotationUsage(type)
+ }
+
+ override fun visitAnnotationUsage(
+ context: JavaContext,
+ element: UElement,
+ annotationInfo: AnnotationInfo,
+ usageInfo: AnnotationUsageInfo
+ ) {
+ val type = usageInfo.type
+ if (type == AnnotationUsageType.EXTENDS && element is UTypeReferenceExpression) {
+ // If it's a constructor reference we don't need to also check the type
+ // reference. Ideally we'd do a "parent is KtConstructorCalleeExpression"
+ // here, but that points to impl classes in its hierarchy which leads to
+ // class loading trouble.
+ val sourcePsi = element.sourcePsi
+ if (isKotlin(sourcePsi) && sourcePsi?.parent?.toString() == "CONSTRUCTOR_CALLEE") {
+ return
+ }
+ }
+
+ val member = usageInfo.referenced as? PsiMember
+ val annotation = annotationInfo.annotation
+ val qualifiedName = annotationInfo.qualifiedName
+ if (RESTRICT_TO_ANNOTATION == qualifiedName) {
+ checkRestrictTo(context, element, member, annotation, usageInfo)
+ }
+ }
+
+ private fun isTestContext(context: JavaContext, element: UElement): Boolean {
+ var current = element
+ // (1) Is this compilation unit in a test source path?
+ if (context.isTestSource) {
+ return true
+ }
+
+ // (2) Is this AST node surrounded by a test-only annotation?
+ while (true) {
+ val owner = current.getParentOfType<UAnnotated>(true) ?: break
+
+ //noinspection AndroidLintExternalAnnotations
+ for (annotation in owner.uAnnotations) {
+ val name = annotation.qualifiedName ?: continue
+ when {
+ RESTRICT_TO_ANNOTATION == name -> {
+ val restrictionScope = getRestrictionScope(annotation)
+ if (restrictionScope and RESTRICT_TO_TESTS != 0) {
+ return true
+ }
+ }
+ name.endsWith(VISIBLE_FOR_TESTING_SUFFIX) -> return true
+ name.endsWith(".TestOnly") -> return true
+ }
+ }
+
+ current = owner
+ }
+
+ return false
+ }
+
+ // TODO: Test XML access of restricted classes
+ private fun checkRestrictTo(
+ context: JavaContext,
+ node: UElement,
+ method: PsiMember?,
+ annotation: UAnnotation,
+ usageInfo: AnnotationUsageInfo
+ ) {
+ val scope = getRestrictionScope(annotation)
+ if (scope != 0) {
+ checkRestrictTo(
+ context,
+ node,
+ method,
+ usageInfo,
+ scope
+ )
+ }
+ }
+
+ private fun checkRestrictTo(
+ context: JavaContext,
+ node: UElement,
+ member: PsiMember?,
+ usageInfo: AnnotationUsageInfo,
+ scope: Int
+ ) {
+
+ val containingClass =
+ when {
+ node is UTypeReferenceExpression -> PsiTypesUtil.getPsiClass(node.type)
+ member != null -> member.containingClass
+ node is UCallExpression -> node.classReference?.resolve() as? PsiClass?
+ node is PsiClass -> node
+ else -> null
+ }
+
+ containingClass ?: return
+
+ if (
+ usageInfo.anyCloser {
+ it.qualifiedName == RESTRICT_TO_ANNOTATION
+ }
+ ) {
+ return
+ }
+
+ if (scope and RESTRICT_TO_LIBRARY_GROUP != 0 && member != null) {
+ val evaluator = context.evaluator
+ val thisCoordinates = evaluator.getLibrary(node) ?: context.project.mavenCoordinate
+ val methodCoordinates =
+ evaluator.getLibrary(member)
+ ?: run {
+ if (thisCoordinates != null && member !is PsiCompiledElement) {
+ // Local source?
+ context.evaluator.getProject(member)?.mavenCoordinate
+ } else {
+ null
+ }
+ }
+ val thisGroup = thisCoordinates?.groupId
+ val methodGroup = methodCoordinates?.groupId
+ if (thisGroup != methodGroup && methodGroup != null) {
+ val thisGroupDisplayText = thisGroup ?: "<unknown>"
+ val where =
+ "from within the same library group (referenced groupId=`$methodGroup` from " +
+ "groupId=`$thisGroupDisplayText`)"
+ reportRestriction(where, containingClass, member, context, node, usageInfo)
+ }
+ } else if (scope and RESTRICT_TO_LIBRARY_GROUP_PREFIX != 0 && member != null) {
+ val evaluator = context.evaluator
+ val thisCoordinates = evaluator.getLibrary(node) ?: context.project.mavenCoordinate
+ val methodCoordinates =
+ evaluator.getLibrary(member)
+ ?: run {
+ if (thisCoordinates != null && member !is PsiCompiledElement) {
+ // Local source?
+ context.evaluator.getProject(member)?.mavenCoordinate
+ } else {
+ null
+ }
+ }
+ val thisGroup = thisCoordinates?.groupId
+ val methodGroup = methodCoordinates?.groupId
+ if (
+ methodGroup != null &&
+ (thisGroup == null || !sameLibraryGroupPrefix(thisGroup, methodGroup))
+ ) {
+ val expectedPrefix =
+ methodGroup.lastIndexOf('.').let {
+ if (it < 0) {
+ "\"\""
+ } else {
+ methodGroup.substring(0, it)
+ }
+ }
+ val where =
+ "from within the same library group prefix (referenced " +
+ "groupId=`$methodGroup` with prefix $expectedPrefix" +
+ "${if (thisGroup != null) " from groupId=`$thisGroup`" else ""})"
+ reportRestriction(where, containingClass, member, context, node, usageInfo)
+ }
+ } else if (scope and RESTRICT_TO_LIBRARY != 0 && member != null) {
+ val evaluator = context.evaluator
+ val thisCoordinates = evaluator.getLibrary(node) ?: context.project.mavenCoordinate
+ val methodCoordinates = evaluator.getLibrary(member)
+ val thisGroup = thisCoordinates?.groupId
+ val methodGroup = methodCoordinates?.groupId
+ if (thisGroup != methodGroup && methodGroup != null) {
+ val thisArtifact = thisCoordinates?.artifactId
+ val methodArtifact = methodCoordinates.artifactId
+ if (thisArtifact != methodArtifact) {
+ val name = if (methodGroup == "__local_aars__") {
+ "missing Maven coordinate due to repackaging"
+ } else {
+ "$methodGroup:$methodArtifact"
+ }
+ val where = "from within the same library ($name)"
+ reportRestriction(where, containingClass, member, context, node, usageInfo)
+ }
+ } else if (member !is PsiCompiledElement) {
+ // If the resolved method is source, make sure they're part
+ // of the same Gradle project
+ val project = context.evaluator.getProject(member)
+ if (project != null && project != context.project) {
+ val coordinates = project.mavenCoordinate
+ val name =
+ if (coordinates != null) {
+ "${coordinates.groupId}:${coordinates.artifactId}"
+ } else {
+ project.name
+ }
+ val where = "from within the same library ($name)"
+ reportRestriction(where, containingClass, member, context, node, usageInfo)
+ }
+ }
+ }
+
+ if (scope and RESTRICT_TO_TESTS != 0) {
+ if (!isTestContext(context, node)) {
+ reportRestriction("from tests", containingClass, member, context, node, usageInfo)
+ }
+ }
+
+ if (scope and RESTRICT_TO_SUBCLASSES != 0) {
+ val qualifiedName = containingClass.qualifiedName
+ if (qualifiedName != null) {
+ val evaluator = context.evaluator
+
+ var outer: UClass?
+ var isSubClass = false
+ var prev = node
+
+ while (true) {
+ outer = prev.getParentOfType(UClass::class.java, true)
+ if (outer == null) {
+ break
+ }
+ if (evaluator.inheritsFrom(outer, qualifiedName, false)) {
+ isSubClass = true
+ break
+ }
+
+ if (evaluator.isStatic(outer)) {
+ break
+ }
+ prev = outer
+ }
+
+ if (!isSubClass) {
+ reportRestriction(
+ "from subclasses", containingClass, member, context, node, usageInfo
+ )
+ }
+ }
+ }
+ }
+
+ private fun reportRestriction(
+ where: String?,
+ containingClass: PsiClass,
+ member: PsiMember?,
+ context: JavaContext,
+ node: UElement,
+ usageInfo: AnnotationUsageInfo
+ ) {
+ var api: String
+ api =
+ if (member == null || member is PsiMethod && member.isConstructor) {
+ member?.name ?: (containingClass.name + " constructor")
+ } else
+ //noinspection LintImplPsiEquals
+ if (containingClass == member) {
+ member.name ?: "class"
+ } else {
+ containingClass.name + "." + member.name
+ }
+
+ var locationNode = node
+ if (node is UCallExpression) {
+ val nameElement = node.methodIdentifier
+ if (nameElement != null) {
+ locationNode = nameElement
+ }
+
+ // If the annotation was reported on the class, and the left hand side
+ // expression is that class, use it as the name node?
+ val annotation = usageInfo.annotations[usageInfo.index]
+ val annotated = annotation.annotated
+ //noinspection LintImplPsiEquals
+ if (where == null && annotated is PsiClass && annotated != usageInfo.referenced) {
+ val qualifier = node.receiver
+ val className = annotated.name
+ if (
+ qualifier != null &&
+ className != null &&
+ qualifier.asSourceString() == className
+ ) {
+ locationNode = qualifier
+ api = className
+ }
+ }
+ }
+
+ // If this error message changes, you need to also update ResourceTypeInspection#guessLintIssue
+ var message: String
+ if (where == null) {
+ message = "$api is marked as internal and should not be accessed from apps"
+ } else {
+ val refType = if (member is PsiMethod) "called" else "accessed"
+ message = "$api can only be $refType $where"
+
+ // Most users will encounter this for the support library; let's have a clearer error message
+ // for that specific scenario
+ if (where == "from within the same library (groupId=com.android.support)") {
+ // If this error message changes, you need to also update
+ // ResourceTypeInspection#guessLintIssue
+ message =
+ "This API is marked as internal to the support library and should not be " +
+ "accessed from apps"
+ }
+ }
+
+ val location =
+ if (locationNode is UCallExpression) {
+ context.getCallLocation(locationNode,
+ includeReceiver = false,
+ includeArguments = false
+ )
+ } else {
+ context.getLocation(locationNode)
+ }
+ report(context, RESTRICTED, node, location, message, null)
+ }
+
+ companion object {
+ private val IMPLEMENTATION =
+ Implementation(RestrictToDetector::class.java, Scope.JAVA_FILE_SCOPE)
+
+ private const val RESTRICT_TO_ANNOTATION = "androidx.annotation.RestrictTo"
+ private const val VISIBLE_FOR_TESTING_SUFFIX = ".VisibleForTesting"
+
+ /** `RestrictTo(RestrictTo.Scope.GROUP_ID` */
+ private const val RESTRICT_TO_LIBRARY_GROUP = 1 shl 0
+
+ /** `RestrictTo(RestrictTo.Scope.GROUP_ID` */
+ private const val RESTRICT_TO_LIBRARY = 1 shl 1
+
+ /** `RestrictTo(RestrictTo.Scope.GROUP_ID` */
+ private const val RESTRICT_TO_LIBRARY_GROUP_PREFIX = 1 shl 2
+
+ /** `RestrictTo(RestrictTo.Scope.TESTS` */
+ private const val RESTRICT_TO_TESTS = 1 shl 3
+
+ /** `RestrictTo(RestrictTo.Scope.SUBCLASSES` */
+ private const val RESTRICT_TO_SUBCLASSES = 1 shl 4
+
+ private fun getRestrictionScope(annotation: UAnnotation): Int {
+ val value = annotation.findDeclaredAttributeValue(ATTR_VALUE)
+ if (value != null) {
+ return getRestrictionScope(value, annotation)
+ }
+ return 0
+ }
+
+ @Suppress("UnstableApiUsage") // JvmAnnotation.findAttribute()
+ private fun getRestrictionScope(expression: UExpression?, annotation: UAnnotation): Int {
+ var scope = 0
+ if (expression != null) {
+ if (expression.isArrayInitializer()) {
+ val initializerExpression = expression as UCallExpression?
+ val initializers = initializerExpression!!.valueArguments
+ for (initializer in initializers) {
+ scope = scope or getRestrictionScope(initializer, annotation)
+ }
+ } else if (expression is UReferenceExpression) {
+ val resolved = expression.resolve()
+ if (resolved is PsiField) {
+ val name = resolved.name
+ scope = when (name) {
+ "GROUP_ID", "LIBRARY_GROUP" -> RESTRICT_TO_LIBRARY_GROUP
+ "SUBCLASSES" -> RESTRICT_TO_SUBCLASSES
+ "TESTS" -> RESTRICT_TO_TESTS
+ "LIBRARY" -> RESTRICT_TO_LIBRARY
+ "LIBRARY_GROUP_PREFIX" -> RESTRICT_TO_LIBRARY_GROUP_PREFIX
+ else -> 0
+ }
+ }
+ } else if (expression is UastEmptyExpression) {
+ // See JavaUAnnotation.findDeclaredAttributeValue
+ val psi = annotation.sourcePsi
+ if (psi is ClsAnnotationImpl) {
+ val otherwise = psi.findAttribute(ATTR_VALUE)
+ val v = otherwise?.attributeValue
+ if (v is JvmAnnotationConstantValue) {
+ val constant = v.constantValue
+ if (constant is Number) {
+ scope = constant.toInt()
+ }
+ }
+ }
+ }
+ }
+
+ return scope
+ }
+
+ /**
+ * Implements the group prefix equality that is described in the documentation for the
+ * RestrictTo.Scope.LIBRARY_GROUP_PREFIX enum constant.
+ */
+ fun sameLibraryGroupPrefix(group1: String, group2: String): Boolean {
+ // TODO: Allow group1.startsWith(group2) || group2.startsWith(group1) ?
+
+ if (group1 == group2) {
+ return true
+ }
+
+ // Implementation for AndroidX differs from the standard RestrictToDetector, since we
+ // treat LIBRARY_GROUP_PREFIX as anything in the androidx.* package. See b/297047524.
+ if (group1.startsWith(ANDROIDX_PREFIX) && group2.startsWith(ANDROIDX_PREFIX)) {
+ return true
+ }
+
+ val i1 = group1.lastIndexOf('.')
+ val i2 = group2.lastIndexOf('.')
+ if (i2 != i1 || i1 == -1) {
+ return false
+ }
+
+ return group1.regionMatches(0, group2, 0, i1)
+ }
+
+ private const val ANDROIDX_PREFIX = "androidx."
+
+ /** Using a restricted API. */
+ @JvmField
+ val RESTRICTED =
+ Issue.create(
+ id = "RestrictedApiAndroidX",
+ briefDescription = "Restricted API",
+ explanation =
+ """
+ This API has been flagged with a restriction that has not been met.
+
+ Examples of API restrictions:
+ * Method can only be invoked by a subclass
+ * Method can only be accessed from within the same library (defined by the Gradle library group id)
+ * Method can only be accessed from tests.
+
+ You can add your own API restrictions with the `@RestrictTo` annotation.""",
+ category = Category.CORRECTNESS,
+ priority = 4,
+ severity = Severity.ERROR,
+ implementation = IMPLEMENTATION
+ )
+ }
+}
diff --git a/lint-checks/src/test/java/androidx/build/lint/AbstractCheckTest.java b/lint-checks/src/test/java/androidx/build/lint/AbstractCheckTest.java
new file mode 100644
index 0000000..7413a05
--- /dev/null
+++ b/lint-checks/src/test/java/androidx/build/lint/AbstractCheckTest.java
@@ -0,0 +1,478 @@
+/*
+ * Copyright 2023 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 androidx.build.lint;
+
+import static com.android.SdkConstants.PLATFORM_WINDOWS;
+import static com.android.SdkConstants.VALUE_TRUE;
+import static com.android.SdkConstants.currentPlatform;
+
+import com.android.annotations.NonNull;
+import com.android.annotations.Nullable;
+import com.android.tools.lint.checks.infrastructure.LintDetectorTest;
+import com.android.tools.lint.checks.infrastructure.ProjectDescription;
+import com.android.tools.lint.checks.infrastructure.TestFile;
+import com.android.tools.lint.checks.infrastructure.TestIssueRegistry;
+import com.android.tools.lint.checks.infrastructure.TestLintTask;
+import com.android.tools.lint.checks.infrastructure.TestMode;
+import com.android.tools.lint.detector.api.Detector;
+import com.android.tools.lint.detector.api.Issue;
+import com.google.common.collect.Sets;
+import java.io.File;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+/**
+ * Copied from com/android/tools/lint/checks/AbstractCheckTest.java in Android Studio repo.
+ */
+public abstract class AbstractCheckTest extends LintDetectorTest {
+ @Override
+ protected List<Issue> getIssues() {
+ return getRegisteredIssuesFromDetector();
+ }
+
+ @NonNull
+ private List<Issue> getRegisteredIssuesFromDetector() {
+ List<Issue> issues = new ArrayList<>();
+ Class<? extends Detector> detectorClass = getDetectorInstance().getClass();
+ // Get the list of issues from the registry and filter out others, to make sure
+ // issues are properly registered
+ List<Issue> candidates = new TestIssueRegistry().getIssues();
+ for (Issue issue : candidates) {
+ if (issue.getImplementation().getDetectorClass() == detectorClass) {
+ issues.add(issue);
+ }
+ }
+
+ return issues;
+ }
+
+ @NonNull
+ @Override
+ public InputStream getTestResource(String relativePath, boolean expectExists) {
+ fail("We should not be using file-based resources in the lint builtin unit tests.");
+ return null;
+ }
+
+ @NonNull
+ protected ProjectDescription project() {
+ return new ProjectDescription();
+ }
+
+ @Override
+ @NonNull
+ protected TestLintTask lint() {
+ // instead of super.lint: don't set issues such that we can compute and compare
+ // detector results below
+ TestLintTask task = TestLintTask.lint();
+ task.testModes(TestMode.DEFAULT);
+
+ // Make sure we have access to compileSdkVersions specified by tests; if not,
+ // there's potential flakiness differences based on which SDKs are available
+ // when tests are running in the IDE when it's not using specific prebuilts.
+ task.requireCompileSdk();
+
+ task.testName(this.getClass().getSimpleName() + "_" + getName());
+
+ task.checkMessage(AbstractCheckTest.super::checkReportedError);
+
+ // We call getIssues() instead of setting task.detector() because the above
+ // getIssues call will ensure that we only check issues registered in the class
+ task.detector(getDetectorInstance());
+
+ // Now check check the discrepancy to look for unregistered issues and
+ // highlight these
+ // TODO: Handle problems from getRegisteredIssuesFromDetector and if no fields are found
+ // don't assert the below. Basically, let the ISSUE field live outside the detector class
+ // (such as in a companion.)
+ List<Issue> computedIssues = getRegisteredIssuesFromDetector();
+ if (getIssues().equals(computedIssues)) {
+ Set<Issue> checkedIssues = Sets.newHashSet(task.getCheckedIssues());
+ Set<Issue> detectorIssues = Sets.newHashSet(computedIssues);
+ if (!checkedIssues.equals(detectorIssues)) {
+ Set<Issue> difference = Sets.symmetricDifference(checkedIssues, detectorIssues);
+ fail(
+ "Discrepancy in issues listed in detector class "
+ + getDetectorInstance().getClass().getSimpleName()
+ + " and issues "
+ + "found in the issue registry: "
+ + difference
+ + ". If the issue fields "
+ + "are not meant to be included in the registry, you can rename them to "
+ + "begin with an underscore.");
+ }
+ }
+
+ task.showSecondaryLintContent(true);
+ task.issues(getIssues().toArray(new Issue[0]));
+ return task;
+ }
+
+ // Snapshot of support library: support-annotations-26.0.0-SNAPSHOT.jar
+ // Note: avoiding string concatenation here due to b/180148524.
+ // This is the toBase64gzip'ed version of
+ // https://dl.google.com/android/maven2/androidx/annotation/annotation/1.3.0-alpha01/annotation-1.3.0-alpha01.jar
+ public static String SUPPORT_ANNOTATIONS_JAR_BASE64_GZIP =
+ "H4sIAAAAAAAAALS8dVQUXNvGi3R3p3R3d3cNIdI95ABDCxLS0o20tCCdgoQgSHdLSDcijUidwSf1fX2e"
+ + "91vnHNbaa80fg6z12/e+9h3XFqAMA4sMBYWICAUFJQl1/wMN9dsPEmSpympLsiqqybHDQAF++GKNP/QB"
+ + "CeQTEWTh/v2LqpJqinKyWtpsqnInqoMDKsqsbGNoyqxMw4MjtZock9zLG6sb0D/9Yz//VTNHSxcnW8sn"
+ + "//FX//5F3L9/0czR0cnNzM3WyfE/fqd5noCN/AEU1CJkUf7idyQdbR00ga5sFiAzV9eQOFV1aE7M0CWq"
+ + "qsDnX905ur86L/eSi3i/rpJJ4I0LAR+Z9nNR0irPSLzoNTlZxjiUJ3rV/TxMFTTuWcQ94kZ3cnR5jr6M"
+ + "/4o8RoT0qQBWMfoEiEjrMT0NIFGOnUq/ftOuHHY4b1C3NafaeEdRajx1kqlUqxa7EZ1sjb5/0Ocs41DY"
+ + "NpO1Vzf9E5LhBjeWHt2sRUGdjmJ3VsZdThDP2FE3Xp20ICmy4TpB1KSLXEpTxrVPXByJU50XZWh/bMd2"
+ + "7hJWMaolzSWWzELuPIpUzFSnn0HoiAXR2bovIWImM7dRkfe3bxedL6OReBpuviUKftBZ5vIM/kycAQ0N"
+ + "1yYMfvVs9U0KwGp+tbjH48UJnhTe02LBCyTZ92K7auiZPJmkfg9+hDuil3JDAQG7AVm0/wDXzM3J5W+A"
+ + "RdWhJSGAZZdh8Y5Kqzj8cJMAuvrlYJkE7rigUd3UjdQ42p7spnnq4xmW6we3DGtlIQDDVbqr4f1BbuHE"
+ + "y2+3X2HBsSgYr8iHRTJRJnsUs+UmZziReArHmIGJPAVlrdr2tGCize5dPFX3ImtORQvs0jI1FTowiUAR"
+ + "DnPtdvE7mVcvZC4jogovg9pVOXESgIGickz2eFsLrWcYQkrmZA6Gkvxxa9Xtj5w7ZApRagYX8bZuUhee"
+ + "JA6RcGr7ntOrd2ZLONBI92GIr6PfBFCAy7BQm7meZPWDH1LAmCzrp3mlb19eHYQJG6yROT5Ft1aOYCHA"
+ + "i6k2AipL5HR5YhwkAW6nkF+D5knPZg9c2+SK16DChn0l08DBoYkW9Kr09OI/ErYgnAskg9Cdh6yHvyTs"
+ + "9d+iFzriq/to179Hb/r/FL1WOGOveR9DyOIDu3fhos+U1LETugt09LLSk9vdtwnFNaw2S5eClxTXQJLd"
+ + "46dqy0wvw3u5OsipC+uVuBwXrhHICsJj+CtyyPpXAMtU70wLUrghZNe3goIXnuQPoXBq+6HKYdzESAAf"
+ + "UvfFPlxFXzTGdCkjP5/n8iEfKKb/0imxbJi2wzU1MfOO4pZFJafaYeblIGMD9IsmHNCbWVxMhsPFAGE4"
+ + "3Hf1wVzz+PKiDc2ZlZivi81GmtQZsM81PF2WC1bWD1F+RCtaGGlF8rsyUP8arbaNC9DM8i+67yUgdD9I"
+ + "weEe7S0HQOgiIsRmp2uuPWC1fYyzZmtL31gAUv2IfWlP/j10KxAOR7tUz7P6Brkp0iq/xKpDzQi4O6+v"
+ + "zn5AkmYeHqDKNUjDku7Rsr/Vj1NAcK3GRrXWKKkzHE007LeVy9ZswtfftOsDCzYMcuDY8eFmdIGT6DcC"
+ + "k4pOQ1fy0sMVSN4/gS+plNFJ/3jjP6qY3WfpgHJdTdCD2roLzRZBZNtp9GgrKGrf2+dGDt5uAeGajZSz"
+ + "7uaQcnMsf6TzecfKSOKzXMEjqhHMAKSzYKVIw6Iv/hkOBx9GF9VQXrkq8XR6bUDPU58TEdptfmlvI840"
+ + "Kc8322+XMbLwVG1TtMmNFt1ra6fcz7fYaFea6V/B+JGtFzsG370wLEEW1a/YuriY/dfADQyEyO7Y72iZ"
+ + "WOIt0SwpDUVSa1QU+sZ5lf8KXLqIXwduTAJLdPErC+ziPp5HGXE65SH6zAG1HNw67LZ5j72JE3noqvt3"
+ + "u8pgK2B66iyAmw5nGTaeiQwGCdU8zTiN/dZSNSpVPQq25atRBvx3kmGKZfnRzNuwLjzYjb3shKVuave6"
+ + "20KRSOLU8l13b7+ajeIVowIZLlfCFnJnLmBipoIk5eFHcIjON3yXUSC6q4wj+vTmamWkH5Z4PjRoJ5CK"
+ + "GZwm3OkRq/ogAHqJrFFL4shAmaHWwXnSonngEjk3QnRfGKK7Umju9AhqxGro73661KxeVNn966Xm5uby"
+ + "j5fav9D9p0vtT7qK9hP/L+AK/38LtxsC1+8PuO89on8JdzLzKpjKjOIXcPuQgeP3cNcgi+4XcKVsHS2B"
+ + "Lv9VGmRzoP2eUSBgyJ22Y6GTik79gzSs/CQN0plCAi7g/eXgXCKgLPlEuUp4riv1IylB/yFFmpsmXaTQ"
+ + "2iqAPtu2ItsGD+3jEhUUVu56y0ZSA6s4ZF6S5++6TJM+fICIw3p6rsFwcAGamUjQpA4V6+DXT+LbNMrA"
+ + "lga4T7PRVKEnx9Bsx/fikLx1k/SbOLxeurpmI+Ssa1mmXF3J7wmKy+1/SS8mbbEaWkHpg7OLnLyepvLp"
+ + "TYbDy6jcViJClS1c+9DIcTI+z31ODu3BpQBfPG3/+tC31b447lGLvJfwueH452VXgUxmFAg66OV15W5+"
+ + "PxGOWsdCJPuX8JVycgL9a/gi/xW+PAUFdbBvZW7TEfyfifcL8MqJgMwT27izvIq402JH3nhCXQhggLGX"
+ + "edqJpL1sJh5RNSsphyoN6JMNuFuw8QWuUKlFa6EI6tjzjiWQWGSB+9N5Ox3W04rwraZx34Vb9dDtSBHT"
+ + "v8JA5f+owkKGtY6lOYuYpbn1TXy73S4Z5CspvNpJ2fnIo0OhzGocy/NFFkb96Vp0g7Ii4IiRVPRcGLXw"
+ + "Qayg6PtUIbenZjLVdpNOJ9vAwTVyJ1nKzkKOieRH3281UFRuwx7kVgOuElZwy8+WVw+3x+U3I/i79Prb"
+ + "P5CtQYuAt7xgNElgWIPC+yJGze78/PULanZe9h6TH9lmiCDwfoV8Kv+HW03aDATScgcDXf6gW612n5Dd"
+ + "Sa7g4o0Nv8/BTzI2s5WFsgjoABOQlG44SqWwNK/PUh/a4Ys9wwBm1kNFKi9YetKd+J98sWxrExd7ILLM"
+ + "9d4r2CMYRYrbGRh/lMinYnOWzKnYtL7qVzEdAeZlLJ9B8ZtgFuVdqJ322qivZX7/mYGjWsMDvzQLE8NQ"
+ + "h23We5gCiX9qMLgVMwFJ04RZq39p0X/0sbVbAxrajQa7IuLMFFoJk9V+SHPpdFho55Mdjz5oXuPQnZMn"
+ + "Dx37N0MmLjfZmw0Qclv5SdS3Mr2kXo37v8tnCwAkPn0GthO49t2zUdhX4E14QvONMz8cJzP0lKxLQHoP"
+ + "4UdwgvZF27QQaN/+IZeVtgFa2EOi0h3k9ju6+N9z2ZU93HcSY10QdjLEjCzliKYsHIQxs7qsPU/Y2J5u"
+ + "Osb2mtQeInzNj3KNBhiaV6elZVlvLrZc3Zxcwi3D00NklUeEFKeFBk1ajTTXeYp8eErTParGrMezumGF"
+ + "NfdTPZ9L/07v+aVsoRwA87VfUveDJdvOYP0vyUFvOOnHW4c9MNV6Sty9O9SFxrQ692iRVsyl5W94hW4Y"
+ + "FAhAZCMy5yIviWpxpLgk+5WBmhpON0FicnIIpaAc/v1vYiss/qZ5q3FZ4BeXNwEr+16JU8Io2l6EKgfy"
+ + "vlJaH/VIdz720DWbPZ+tNeZPHxaMK7WqeD9XiB/eAycoe8nJhKXEoPwo/nVqe+J0SgEcKJ+pmnE2pstI"
+ + "8pzwSkCCVfmlZJQQuv9PNcNU48MmMwhjZ0glx/pPnF21LO0VHd0k3VSAZq5/8Nbouw9V3yG+RqfGZewX"
+ + "hCGRpCLeVCzxsEFmzwnUh1TCo6Ux0nYojyEaCyWuVC7IYEdXnXjw2vts91Hht883G3jttOesuKz7+rM4"
+ + "CgPVq2+0HZHKHtWfR/P0z7h7x8Vbj1P4wB7HfElIocZmSOr/nJvZG0F/lmOeIbHTkQwFu9nNZRqRK/Fw"
+ + "q09jKRn6pIECDp03uadeuF7eJVtq3tfOVovXISG36fkH2IhFBRLePGG8123ytZJSAWsUaBueeZoXWTYy"
+ + "c3EDN7EJgkbk8j3kWjU4O7IiHz6KTxosaQ3zsBXXlzawguMg+V/HM9QTtYQTtNjVI+8JTk5Gz4ltI8/d"
+ + "sjkQ7xxopNADxqRpRNweG5+mSijxy2nYOodb6qxzQz13B0XCasYmxoglLFevS9Iaw2LgBwlyVxOJ517w"
+ + "+Ldc+P4Pyhq6HJEHdM2e9veXgmZSa9RmJR5kVD+NxTVDmT+qPUH6ca923DcB5P+Sxkk7gZxcIPv0P6dx"
+ + "90pttfPnNTgpc1QVrvpt2PKTtdCQj09bK0zjB9tn+VA9D9QIX1NnFIbvM7IS2ZGVOszxV9Rj2neA8a27"
+ + "Swozi5PT7fqiq9UEgEMRK0LHKgYo3E6RJvmL9YoNSd19H8k6H4nhKMvDAoOTpqWsed5eYgjV6dOSLI2G"
+ + "f7XpAscvceDvGAqtOh7fAJTvWo82ZbG1iY5TxUPXOKwYtHwI3Yh2x3I687eQYq+uxZBtLSsp5CwzUbiV"
+ + "y9Nbb30PrYGo0Z/bO9wocZiMNm/NmnvoYKQDDtCvGXO+ltMmMTYUEwMWaN9RaXwgP/f9Fpwng+bOjmBM"
+ + "bPwfiUaco4vbQwjZ1X+S6nu6Kk6O1v+JF1LeHUpcC4CDg+TV92og5Z0y/vpqR1IhJW3h3/M48vZOOr4d"
+ + "4cS2kUGek7ObI6RldAJyNdFMLwHr4liV7MI89mRTG1i5NBYu7096h7zWjSouDhuaKutKasmH9XwpBran"
+ + "ESt0LiqPnUW/HJePfU7jMUF2+LCfvfI2VTGYNpBLism+wiV98RaBjJh2Ag1PW/7IFTsYtXw1gnNk8z32"
+ + "E4P9MKXGu2h+p8CcuVH161dgUrrJtFWLhXxRGedl+UoccaKvGFjRr08RzGTkIvf0rNb3b5w6P48TpjeH"
+ + "H7lRag6AH30NX6SbR0WlffsU/Cr4uFIHUDib+zh2VeySN0AIHbw9TpAEFzMKdtkv2Flf/0nSraxgdv+n"
+ + "8P2/VSGKtkPjtMczIl9hrjW6p38PX7fNtGFLMbGlTw8WVnnaNZ6tQdGjTsX3jQd7a2JJl1skKVro1+Ob"
+ + "sxIOr6oYNBWEG/aVUFXUV79Xyn+MOhNvPae07WVwTTdnlGipPJ5i5Yn6+FJFZRpr2FXBllV7U/8+T5br"
+ + "s1xDEcKiiCZkO0bppspKdF9Q9RPTXu8hcTLuldzoAV9zbHNph4psHmB1V0hDIpZNJxaejFxU/cnC1oVG"
+ + "L5jtlIXX5fy++ZPMydOAhjABR5uywuUZ+pk8AxUVztNzWf3BByfW3H3QgCyMtadRm1SxOcbVJ1+peID0"
+ + "4kDAi9AXnew/0uXrDug5gHyK+acL08nRDejopmML9PwdMOD7hekbtMr4NaCQU85CcgcvRWc9D++od1HR"
+ + "op4Up8byI28Pef/v12UtvoRzeMbgsPKnHsvNq60TlHbRYepMOYHIUWo3l8ePacUh96Dxapn1Xk/60pdN"
+ + "u0JEAj2HVuNDXfazrsN2/a3kmWE2JP7OnPDomlpdh+cCa3GU2wGjxoxayi53FDu9REYVQZRE6MeZ4CkQ"
+ + "gzavBfvbeavbsUMp7MgzksjijIIRr/hWGtl0rIrkLB01dXEPNGGSgdv5QTeurfHIEufBc1Rf6Fza+rBD"
+ + "/dm7q3mBOD9GBuyDOOdg9LcP2gIJewQu4X4EhgZ2yvq3cJSxdQA6/h+L4jla0N/KNgUVvmrFpbRhkYm0"
+ + "87WTz2TtrGqipF4C52AqABntR6a87BjFnOkpdkspJQOUeh1oazMrljA6oamJ1ALO8Ec69HR4jeikEzHJ"
+ + "aW+mnPIWVfOivlT9LzXxVCaLK/+llzgd/6cntTQ/lG3LvyjbDGi9z79tdYib0I3O8pGqEODqBQwsEDXc"
+ + "fW/nfAow+LmdM9vZ5voSQDMJ+O/tHGJNZ6kQCNko6F+r6Xe6rpBPv+PVVFWfl8D0xdnKByAWJI1LaImh"
+ + "I7Ktt8dPYJOY9XWlWMiWez/n6wuMGiSm3UO8JUbwk/DHNccvQUumejQds9Ry0S2cvbjErj4CpVZt0nlB"
+ + "7GE/S5208FxCzKw+ca8kfu4UqMMQFm3K+80Mi3NXFj8ZcUPqVegyKZnrI2mbLBLbccPmXX18IuaB1pbU"
+ + "qEnZdEapRdUvSdk1fi7M1gmjUSgOqXuvJtxSS7xukqoodNWFE78Vsd4hO/BT4F1j5XdbB7d+yNYl8uAw"
+ + "VwZa+QeAv1LYJ1nvbI/hu0GP7WHpR6JgCzZphPoiRLqzazW0rh8ZV5d4b9C+yFXWjZBhETgy/7Ty/gJ6"
+ + "c1dyFqsjh93cJBOB3EzVrdmMClt8Hz3hJRY3a0lPogiZ+DV3oLgWTdnIU8SwN3ZdOEtGs9M+dWGWIwkv"
+ + "OtVxgNqEjz8753VfhnleYm8NfDmOzeEygysdnExz9mlIqjqnq8g/8sgl9Vm9gDcQYwatojSwXIdEvH/M"
+ + "4zDbYNYT6sRXZ/xTdugp7ND5GfIp/B9ERcZJzclN0RFk6wj845gMqUFz4oaMyJph3oEVo8YaTXdYDN9S"
+ + "BQYEU3SqLDQydaIxMpYTCckYD4VgLEsTORkhRiqCxs9ptoRfNd381k+ORLTGGqbmQYruwvPqVp/jyP3o"
+ + "brGFMG0z4KlcrxE8XVdlXPlVtvJsENzzXVYqILLS3iX3UbbsNupJf7YDACN4Vy5NKn3+LmdkeBtEAh3b"
+ + "qZaAWdEPU9JPAClbWC+ehj4eT3Vc0s2ZK35xTm/0vr7mZGHn8kqsmb8sqq00YzAl0wspua3qKoAvABDv"
+ + "+6yKSeBatLS4z5eRCbtyWEAKpkcSoin0Ajc/8XqKYIPybx14GRczTzNzEPAvWfldhCPbkZhWH5uZXTMw"
+ + "5FbV6TdRJ2QGkAZ3v2fpCWYRPB+sDvurAd+1js3/kb/25NPA4PDWzBXCM4PMe01ZXdHOEVM6YSnKVlPI"
+ + "2bHefaSKE2EzZVxcjy0Q62JxlkDnXZgW91ebmCdLJs1L/gabTDz6hJZIuVY4oNRcVSYFL7O6oEZHcXjR"
+ + "4E4hzDZvLZrbTVqQGMkQl6SbKSMRuKjKSUGz3g25557LTvWYXnMcwtlJEyn6wWJ5bp8FxdlHg0eTV05k"
+ + "5Hy9KOChX/QP1miPfLr1edLM+2mlYcv0bc5sTQk46jOTATQ07f2MI/gYQwewMbv5usf5xSVxbozofvMp"
+ + "EvD9A2J0dDIeMlJfmB8JHxbrCIRC6L6E6ArNLwjLgZzM3DTNHK3/CEjN+4DEzO43kcG6w/PHFMBs7e3I"
+ + "f9XPFm8J7KvhxMIoYElmYTSodQvP9GHHEHumvoZTrIX9AAc7w01oiX/JjW7Cz6e1FaYdL0kTnBIohRwB"
+ + "u6qeS4r9PMuEELbBBlPhQxI7TJB4tULx+gW9CkEAHm1iJXfSmNdZO85YL8XJDtzn1BhMXS0XyjjHPobT"
+ + "J0MEiDW8lGkuuqNbL2D4rGBd1HAZ/Hu/3MQv4fl8an8uMTaeHiHhFTIEjSftPRaHEHFRgYSbYk9aAQgg"
+ + "V8K2oKNiMb6Vn0t6f0EnlGs3phPZvnMM+yLEtwLwWJ+cH27mc1OidUzeetbOpzmBhSk6dwboiQ7k+re2"
+ + "lG/MPj6ycz8o0XrFnxIOkxcd+lnzjSO/0IE0TpoIinfu6VP2SNpNC5oqQaf3B+iNrxAzWT/bi81zjX0J"
+ + "N3inKxLzDgr7ecJzc/iCOF0jmnGFMunNFzad8NgfxWE/NYQfIIM6zk9jP5gijBgl7TvPhsEITB5Q0wis"
+ + "LytkWDio1QlO0d39tI9nJUwa/9YzlYOkK/86CNQ3C6exf4iyAsm1gVJKKdP/6yBQtUGluFQTu9g9uoGz"
+ + "XN+1KQXa2rmoXH9Ut3ySplDC3qLwkVwlbAV1z9eSSW6TW7rrGMUaOFvlCcgZ8aGjG4B9GpU0zTXU6HpC"
+ + "4WaqmQwylBRGDpUOiLwOjDcc7uXyTHyJoeWyFs3H3gW45CQVPRWGTpbERLhGtDgY/RyC1bOr8Y5MZmTt"
+ + "4QHchQYDmO3MzXby9OxLmDgJjg3o6ozeVamsHXiAOM/LBweL7OO5rPY9Fxxs+KAR+5ltizmY6RzgeoAT"
+ + "Eew7mUUqYCsgeA39I1xEaIY88n+RITkXM4v7D/+/DwKvSiLK1FQU9J6WTCstcw1GTzGn76qMmCd00+gI"
+ + "0uA0opFOhCfruU2a5E0o5/nIdo9fSy4XpSL13U+rkusjXA8+fUMgo62O4avIIek90l1+3WiaNw6nt3kQ"
+ + "ceKn4tjStxlN+FrsKvGVmXoOX0LuehiFS9htO4bANGKoEVGLGlAgLjaAHVw+KKJ6eu170ZlVfoT+RjSs"
+ + "llY2JRK5Z7aihvYhYLUZwVOJ4c4O7lGDQ4w36ELQhHrS+Zn0VluOioBUZ191YlFiIsWPgClavQz/aEr/"
+ + "SoXkXcw8bN28/laL/43vYWnVYW1O8PtxuxBpxWEJdCkLsxQLqRTSp5uzf8Or+x0vpBT34Du5PLt98N96"
+ + "/uIFduWfi5xA9rkQvCyDUVPK6dvJ2d000YplNUKczAF77ZyfddO8DG6IPztiA5W5IOUMNKScUUhBGiZk"
+ + "LH+UeXS4Kb7NEe5e54yWJREjB711iWaRPNwHCeEvV5xNX6L5K7sAQAbpy/XYG0DO4JEzJI2EC4pBNabj"
+ + "2h+4at+Kb22jqHLOHWRRPd3//CVovhCJp4EaUs3IGr4dvPngkfhX119emcEV5Dy11jjgFwKAFONG36Ko"
+ + "VqB46d3p0ejDln7kW1HkA0CEsK3+h1pc3t3MxRJoKeX1B95WtU4O3JBY6XGJAE0/fHiZD4AOKXi5ImjG"
+ + "h3B4vFgoiRmGshWar5SyIlqIYTDapSkdCefQ4wl9fNevsixM/O98/B40dlRHVkRKE8hDD2ta0SJlGhrD"
+ + "aTUlGdO574YUAYRa8WzCvPS6eLSJuLN6NPGRaD2n3KORM2OUHSajPk1KqXIR36eR2hUE0NYkzi5Th1R6"
+ + "BZYCl3lNX6x5qB3y7NRQBTutxZ9g2rR+HZt4Llv5kZeuk05nf+cuqGUzLaJU6FqMMJjynfZuQe+j4+rw"
+ + "Sjm87YoTuUTGD3LLLUcRZ9e+Dx5EzuD7N1bBgQTKWOpuX0c6fHpa5pFavWSGNTdbPkB+vkcthYDw7keQ"
+ + "jWzYFxT/0tRQMANZfb8y/0hHvo9OsmSV4PD+NlRlqgsoKCrQZiMfHI+x7Kux70/5Q2etRZ+F0TnWfFHd"
+ + "bL3s9fH194FuJzNsBO++T0PZQiXGMVpnhJeiCtqMG5iRsHN8i9K2icq2JkVU3VWiG54mo87o0IilX064"
+ + "EDw9kWg49NSH+RReiDWlGNXqArViQJST2AUgg289BJSsFb7T7dGPcJOGq1c8xb3whf98HBG85cpj2cI6"
+ + "4xvu8c7yJNTydWzr7NNTHPGi4a5OGwlPxPw2gjaV1ifrosE8/UhyfgpSGaUsM1RP7+bBT3ngyxe7bBra"
+ + "kzQfFyrvs300a8+R8sfYL5U4IyArxvJk3MP+kmgsb9P+gHTukOg1ovxoHRiUC1z5uadxsYhBQAxh+xGy"
+ + "KH7BV9HybxrbrAYtiRt6J2kKgaujS8gOR4ubokP9WwHJg281K0opnaLXOYztxYtC0R7GlZ2LGamaaXnr"
+ + "ejWc2fcfEmvbFlFcibNqihmWVE9gVw7L1rmg21pQMnzKQmmrYpc8VdIH6wjT44YN3CQ7M9g+HWcwSajG"
+ + "FUdcwOWm/G5luc/yXA3ucvJ5xsa6ed1gBMlRDPH4VSbt1FKamlffvoy7+mR5Iof66OVN30QVPYCkD+Cy"
+ + "HCaSK34IM8wbaPYYvlKLCH3dYvlEKCn8cUnM0p1Y4+ILCVd+BwEDgCVcBYp4lYH5nz6LT9/1dRiir03G"
+ + "/6qv2ejwukIQpGyQLI//V1gdXcFAC7f7VBrg4gQGurh50cg6ujvIOrq5/K4J0fFGyve4l/piVWtrario"
+ + "IhAnMmje7jNZwlACJgO37SaDogaH+/fL6vzLI/0kxJmEniYas0x+AA9nXqSd8JosUbyEOgBcVH1ZGe2M"
+ + "l/jU+wzWbmh6wpANaKDMbY+R9cjKgx2gq0RWm2nf8BZ6w4xwHkmUaSjXe0YGJV1AcHryzUpgmbLjOC40"
+ + "fdCsAN5oZARuKUZ3sJoQXrrCMqg86hpvjtrWer1xFdhwYI/c26hR8zD0OH+mjR0cP4Tey9lPnhgtHudX"
+ + "PEVjViWwL4oh1BZmEWBgW8SnPXFxRk+0ZnxJh+6zBqIC6J8wG1n0etRFUa3Gl5bie68JbmEKjOzb1TME"
+ + "7Pmfj2Jizi4nrlUu9p44AqBm8VecacKGeGKw+0HqH+fNG77CSxabkgjvRFdFMtmhJsUXzXdK5p/+lKx1"
+ + "PMd8pA/ZDpv/43bIgcysf9iOETWIsnS/2zCB05DUkOQhtsBkw14bS+xI4OEMgEonVEcpU3Vupv2cMvv4"
+ + "ZBnmK6CbEWFlVAYjI23o+nzeyer7cGthebY9ICA9gDo0arXCtJjHAIO7bdmhL3mR3G5J45xVWs11CT+d"
+ + "chGkB9ss8sSCYYlxw7aCTH0x8jG5UhadEQduqPG2usxMPI1evTYHAc5Qj+aprxObD5nRB3+OSfjc8Rjm"
+ + "7Mz23F0lNlMBvZMOf5TPY+OIev1sjaiKtyJp3IXgkPF8GzbE4ajsK7pOPS5hzHRA/3PQdcCp6I5K3hOa"
+ + "zk9rORbExdyGrrxnotbf2m5pcj9HVqw3lNRRcK7PHOcVJh0KJyAE5EwrM6O0HkXxEKrhGJXDd4Mv1THQ"
+ + "5FCUxsI9k4dHQXFwDJumLGvwsjUEj1lxEecLeEKoGhimGeeLjodRUiWQgPvd/AGi2gDanGe6/hRh0dc/"
+ + "2T0CsvWi9iBbNQr3f9suHTOQO1DbC/x72ZSlraeOo4F7y0YmNMEl8fFCVsZWkrF3VVPGjsgucS5dzZZr"
+ + "LBgV2EUJVApN6X13OIRg4nOmqkTFNna4HHQkTzTSqoIoY55k69J2uZm9IUx/cbpVObIENbisAYW9GZja"
+ + "40BEzXUAPxb+dKEL1w1uh6NbFB/31LmlMuflWl7ggxgMXFQXQ02OLs4K09Q1aSIkeMbEIRvUgEC91/qX"
+ + "N2SRkqqCMRt0SpsHFfUDHIl8WWhvQE4tUekxWhWpeM37MlrDBzGPylL3aPfCDT5VL/TfbtvGEAYl9JfZ"
+ + "NGU2sBif2OtbnVVfvE2IoSfaxfnoxtfzkN71SIrJiYNnnUe0OV3Zxp4xIkEe5ej0dRH3oFhrEvQdOf1k"
+ + "u4+ASxOqZl6L5ImN2nxMcoljpYFj9lUCX7zQVSYlkZpT2lOrOkuhDI3W1blhKxaXEvPyHZcxFjyVmU02"
+ + "Y8o+zjesfufyWLtOHR77/VTSW3DEmvHQso+NZyf9Jd7wk9VqujMmsg9iJIWY96FMD3fZqbk/XcFeJVBU"
+ + "BbA/XsyrN3f9uEjwVf1YiKnikEQkz5woPQovdOeO7ZU5qiIeP1hLlsD70anzxMgQFH/QAqozd5RxaNHJ"
+ + "zdgH5pR+9HAQhvzwabbRUl7EZO+sOLJ5qrCwZzVbdSRb5+W36kLbuVY1fRCwJGwPAfFKZP8C3N4piREm"
+ + "QrpJuLuhVYCKDd0YocFhSM0n1fvSFG0fZjdm5al61IqQ3juBp6q3FohPb2uLcUyCyse/yk9SSK/eum9d"
+ + "U1tO4bBHWUhlTiz3HaNOHI5hxPXQf4tdFv+q3BilyEamscINFxL4SoRyqQTrtuUbdJ9Nsq88AB0Lk4YB"
+ + "afzhc312hfyHqn6S6XBIfYF1iOOvEcfpFJ5ud1VS0/jTHpSO8RFqoqG91TCRznf8am8zjdYUir8IsLOZ"
+ + "iMb03R3F6EBX6+GX8g7gt+ky2F0lQ6uWW7sKFoiJ78AQyTf2NXZ6s02Rscbi3TVrg+aMsKgs+u6nLs6+"
+ + "nDgOLOT8vIL99Uz0v5yf30+NlpE6jiSuqLRBCjQVA5Vs9XNdfXEb1DECExo3kozntA4bAWKq87lsH4cd"
+ + "PazDb+zFvs8taoMdSSZk+jv390UvFoQvsoVPrkZGTKDQNRoANYf97+1RnGBrrMejte23mQM20qeZBDyA"
+ + "hK9H3xt4l1bsz8/BSqMg8DiQoVWoBtSlwHSXESibsG0kszRrXgyo4gi8vdMw/axgP6Kw9uRtHpvlOvED"
+ + "RBZFaTl6rtfTOAp4yvW4kXkWG82osbdHWT1iHVqV3bRtW86aF9AjOzcMA+tRLqphbbvEH52nbJcvmTg6"
+ + "Wwu4p12fvCoOmZt5vWgzi6dTMfst/NT3nP4wV9duSciCipibzQgw2lyoKNfBE6nKjvz29W7jpKUr8tXD"
+ + "bCQvvA2E18zReQVNcgXR3ABrte04oWwAQ5UoZ1e4kD7XNnMnDPcMN+Zs1nCtES9gbqGXz9/8jdgM49yw"
+ + "m4c0UcKlvOOKeJLWiPtb54GToW9vuqtZqzixOB1jo24MmBirhIYBXwzHWeNe6nfrUgd4ci/lEJknrAxj"
+ + "Ji6UBi6jpK9FUAz6pL9BHag7GFMK0aUEU5RS54TyQmMcgmEzLbLaqUELUEQhPbM0SZ3TzyfgEUU6JpCg"
+ + "bEEnwmHWvT2xhMKGXtOHmQWLfMHvUfZXgCBG3KpYc0PyGXxF2/dp6oK6CwTIepZN7Pg1P4/Yi+hmUVgg"
+ + "t+fhP5hGIVWiDNDqj6m6qrIUJILWtExsC88VZXFZZfjf2nxU6pdAfLnN3PvmuUYlF9cwThb95Yz+Kcw3"
+ + "jTFfGb2HdYSbn1xHBDtFT26PvsEvI8uznRuRNgrgKrAWxCg81GNCQAuQGkodVSqVclWWJrIdyM9NoX7w"
+ + "SvtAqAyBeiUpSqIIR65WbJFxCP5jaDVLSdSGFDLpG2qLqWDyKcMznnLDLWiCC85XrwuJHm2M5MzRKdNV"
+ + "VMBF3AH0c3VuaHEmyL7k+moRCBhUHm6AZFLCX+xtuaviNJy+0DLXrJgGefsNOT0Zsr4r+dBAP45qlUvc"
+ + "co3v68AUZ6Ln3cp5Jlh6Ul9ZNs2OHMPeQa82ruiSpOD8IqYZyrT9Qzf/6Ac6mDRxqMhaQ7qqEIc29aa5"
+ + "cP/gOGnykEbUh4jNs1ewP5K2+2p5YAmhDID+9UgHQvrvrcEEYfVODsyeOzpVasy6JE+vzmemuTDUibmS"
+ + "sCFFSvlKz3O5SgzgCpGQ0QORxAhgKJ5hwGVKjqInV62fiPptCV9ef6eNmIE/zVJmMGvKcFrj1m66T2HI"
+ + "of0koUCpmEF1t4b+WDeN/aseKg4T70txf/xObeahWkC2bLVlqjP2RmQBO4bThyDT4m9eeXkBIPmLMVWW"
+ + "sDefuPcb00s+BM90meToqHf6PMShbe5BnV8jMmGiUqDu8sF0Viu8uJXMsCUNURdamdwox+/s/hosYelb"
+ + "8nyejOKNRck8SvYBjeQHZWGBi13URNUDVy7QS6ZMwQbltoS9LJc3E5ttneqGGbmDJGjsywFrvEIdjxJF"
+ + "9qh2rGwnfUlZj66eo9Z24rdkGBAxhZZXG6GZeMTuYI3x2ejiwBGzqNREWBIRVPVyCu6mUnnoJ6ZK7lxp"
+ + "ETJMCCoryJqjn+iO7vKqhMuy2FaXfYjAf8Sq8/OY/c1N6Oy/tU4gewS0Bv7Co/631smPHfLeavn1Sr3v"
+ + "cqqHUt14b+b7mGYtVvPS5AsF1IHzwUpXZ0kYd8AuQ9/4c28hugDvJd10LeLxt/UAElowllX3Lq3qqb66"
+ + "xX1jSi8rtb7dYTnVo2ywpdwP53vnZFWuFiEgw4eO5nvzj49p+MmTEwq31C6hubeBag/lqQMGrgOrlbYs"
+ + "05oHRq44m8665/E4tf3Oe9SDKiSADN8d6kitbRTgMnxUIa4nWb1V7PcOdaU0vfTtj/NLoc3qODb7cuhF"
+ + "KBFl7e4H+M0vQciIuF8POrKgI8T1pdIcIvPJ532HHyM+Il0ebWJnwI4BuGp6joNdrtF+5MvJF8pIDWH7"
+ + "GbIY/4GvC9gJ9NNDgL+ZGYqfHJpeKwm878h/hWxPowejh0iAUcSCxsjIqveXq+/sYffvrr5N6puvPk8R"
+ + "wJET90YRaB7C19IZheE+AH0uHu/uPjfbejBf9MZrXoLf/SIhpKXJ6TZ/+kWYvvtF7CNfyjTbJ4IoS+ZP"
+ + "Y1a4XoYXUgeKSCnZ53LP5VxiCFXp05KYjIZ/BfeCs004sHdUhFYrTk5yU/xax6wYkZjEQ/J7/F7kci1z"
+ + "vpInnAgOMybUKMM/ExbxJjpp7PmSH7cil2prN3V65tkpLt4DWBr+rL7J5YxK0FQKelfb1w7IaYbxR2bw"
+ + "s0cC1rBGwFt6MprE/zZwl9NYheJlDzPeNY5p+ymS31frn90bRoYgi/wXpJWBQPDf2yq4mbI50ExfiUQJ"
+ + "oxFiXNozXhXh05oqz011PeFQ9qJU7k9J+rOt4smLhUHjWMOd6HvySe1Tz9a88DO+GJZ9A4EqcC8ALVEk"
+ + "upjawrz49LnVC5xqTFR6yQouwUJ5wRedqaDCBBVLLg3X0JO2ozrz3G7WIwMbuKR4rt303DpM5wp5vrtq"
+ + "9ARdOeWJ5dPPHJYCRkvtskJFKlds0zOLqUXeVCbDChllAZ9P9w1e5Pa+hE/fbdi6XNg0Wnp66VUi2EZw"
+ + "vNyx4tcOaPO8zPLPt3B762hyUg3I54nPn3n3MvWMg0fnwfVKcF7UCsihaGo4HRUVzpff9L5/zZJbdqnE"
+ + "rDzDh4SnrcF9TAR8j9+Atk9YTGJDOMtbdfHTcL4U803CvSd15R/6VipmXk7u/31AcG/GMf3djIOXolAD"
+ + "X4PJRq6iR1dgaYvmFn7Ni3EL5Z/kvPvgN1fqZ5GJN79Zfi8aEcHEyyztTRLuNrVAKaOsBAlWTZKMplSd"
+ + "oSZ95oABAW41dpuyx94JCTzdQht1vMwB873c5dppesoOKOUxqjVwRPIT30WCrgfWOippmmlotvkIErsl"
+ + "anxtuWR9K4BlpndmBSncLoOLGzOdSdcXchn85sXXpDHZ38gC+iW6EzDMBtEXjQndrwW+ORC1xgAXEmM1"
+ + "elP6VV7oqN+3V7LSJHy3Zl8OMjpDzzS9nEWroXwIWG5FeIfMcGuHBIxRbUMTOHBtlSpehQoT85WMBwen"
+ + "v7Bgd2f/+RmLU46QIyuE7PE/DF/uXU7/mZLMMNdOiiGF54VsF725T0lyMCEpiQIB5+4ZJ9fw87a/UhLA"
+ + "f6Qk2PLo52SkApCUhP0+JXlUcn4AF8FrAWKQBg6hRVsWSJNH16HCJiTb8fd5c5i/soStISMZgncr5SFZ"
+ + "J56GLWsiHAjBFXCUp9PG8dZ2nZqpq8lCyeQ1jyktRDK85AbP4yaElzIHHIsnpUzZVVmaF62J1lXuQdPv"
+ + "4bVlwuFyHfnctFTYvk+5dVFS6Z9JVx2pvPQ0Pvnob1ftoJi+Mvh6ZcBpbOY1dEjyqxmKiWcTQkZXg3Z3"
+ + "NctQOD6rLImM6Di2B1zOMzCE4KojNLfqPolzjPZVVjacXrOML9iPhY9eYh4z5BC+EEV8z3Yu9lP2Ryfy"
+ + "1J7kd5vJr+47VTNbx189bNE+3FvuGIGRF3hyOikRjVCl2pxOqK4s3EEL/FsL1lP0+fcWrIpV9mWvj1+r"
+ + "P1Rjd3UkDEEYWwyhvrMxPtJifxShEA4lnj+jQsF373pisbY+27YG2wYPtXqJIQqr6+/edSRekudLXab/"
+ + "/WHLSqv/KMeIZU0DXOf9w5ZXU3CGuNzjoc2vh6+IPp59/ZaMOpn69bt3PazDdzA/jBKDCj5MPERMmvuU"
+ + "agSzDSkLKRm/SWXplm+eNCq3mYhAZSvJJvSkH43v8T4nx+TgUqAvr4C4vnznbFv4227HDJ/EUSkS4Wnf"
+ + "UOnZD9nJMckVyTdOP8IVODEi/rcpoirQ0f1/enmB9NfLC9rRPx1lJZyrZjgZp1k7g9xZfb8ZInuawnDu"
+ + "e7Cw/Z00RrKTY5xI2t6W43HT0U1zDAGRHLw6EI2Y8cb+4+UFnCNMD48F0Er1LMOmIZHBKK6axxezsc/q"
+ + "NwuPWf5qkvDMnSSCYll+ObMNnIsAbmM/G2HJVBSLq+fH7xYem2aa0AhR/9NJJ5QkeK6k60Ppg9Gdbw96"
+ + "Xku+ow16UY3afMx5CMeWnFaBLer728sLu2a/m75MKmZwluB7x2j3BwGkS6KNidK3BigMNQ7gSYvmkUvs"
+ + "3CgY7cyrKJEVzEf08mp2ajE/Z2p3aIGX9/fbDmTR/wKumpmHrbXZT3PEkftpe/e7ex1+7g3RYdc/EeP9"
+ + "qcM72NvYXrwY3x3sLpiqfNWK79KGr4u4P3+3MwhnPi32EjgD0wHIaXa48mJiFHPOy6a9X98PEku7VcqT"
+ + "22VTiUu3eMaZRWMUiRNnWWuwG5FIJ6KS0/im1PM+quW5qXWPrxsvC2X8NkgMqY/QOjC5Q/hM/32QiNfb"
+ + "IbHM1WxanKJVM7ho9f1BYedQICGT2GVnj7FBzuSL3PUgCpcwtRkMAR0kb1ailhjL2WSMgBF1HasaldP1"
+ + "zxch/reqOW/35khGGGqgH6cF7YvVsj2MW2tFeOPS61T/jGoeXl604SqTHatfoD3X1SSOnjR3dX1Wcaqv"
+ + "j/9HyOrYsvCCEMAw0L+OYDUnRzV3EOhPd40SDCdmD/2Uh0O5w42czLXA6TZ5C2K2efPU6ttm0IvAJww7"
+ + "fElJPPF8BvulXocPfBicqcxFWQhT71Ss/DpRvw/CoR6Dt9uzYa7QSTGLT934lL3kFdRyiG3wLDWN1WYD"
+ + "sQQiuIFdSRcfDFFpXynZdkaN2qktL7yJYk4jbt5/s9zgnq7axOXjJr3M8jK8SRKaWiYChY47c+EaIboO"
+ + "d2ecr85nbg9LoM9JYRY0iOZCcOmu7tJsXOOzgphM3rouBsJhkOcp+npknjm64y22aec3m3ebo77G1nom"
+ + "Cu1ODGsmlehIiJrwCpFbTcYA4xQ936JIjptVrtI/7MYwUcKiXlkg83ASU2DIyMl9le4BNFwdb1Ul1N6S"
+ + "fjD2N/tBoW3+KuNNQIBq8dwhkRJpQ45VoWOhGXC+PyZ58Se7ZOlWOfieO9w/lIr30O8bPH9Kh3LnvSiX"
+ + "N1RP+X2NzvnqvD1GCgE/zTdlriJFjLyaC5ooLADh2Caa333PkJUy8erIodn2hWu/iHSiXn13ICCHwZ+j"
+ + "7pMImBafJoDw+9UKaKSn+pKwpWnZ6c0pCWOuWdTyS/blT54bkvcoMo0zhG+hbjVYqdCuVjP6oVgJI9WW"
+ + "RGkJvjUTGLD2ScOWJKL8EAIgina8DfIOj3hf6GjzsWXGAkIesQvEorXKdryXkuDdanpJhcQkqt/ROm/F"
+ + "8HRh67TKJ310R5/Pi3fewfnp6Jbfi6U5fOks4RiSw5w9oaDlPuqewyd7AUsaHiyrYyzh38n70Etb1EcJ"
+ + "Z/ZyAAWGFp3OelThQ6EXebe12r+9wdfIe6JaIekctAsMR+arLpywTqJ5XWxbYm9r83G6Jh948ZMxsONW"
+ + "7ftE8p/qPwDI3cUM5Pov9d9uMHX6X/Wf3vngInn8O6uV7yNJ1q5VbP6PnlbW2R/TBn93SHkLHIP3V2Ry"
+ + "xNSOeYoCxmlGSXdEkoUiGfZYNvSRM2Wbqu1ktZJL0uiWUruUSrETkQzDYnbsbPGNLjO2zxMFTOKred7h"
+ + "NDJZUX2XbSCr+/DQ/F1OvkzpkzVk71xxcpRMAgIVy7cPBxZUncVG17szQMbhubtaHF6E53B21OLH96/A"
+ + "zQ4Jg0ntgzuzKdpUbrbH3mHABKDYbtrmbTr5iy+wqebUOwhmst4/pA3RAvF/xMdkOFoMEKZN8q8LZJpH"
+ + "/815ibX73XmpQUeas1KwU7CxfkjyI2BMF54UUQhcDkhkk/4K8JMfrXrqWIQPZK+lwzlvWXTfvy8sRZbO"
+ + "tERNDKhyNusfjUvItciRXp4y/AollnTERxzeR8Pm7Th/tfjp02+mGnQ0BHcEa/Rhov4gGiOZmlfmfcuw"
+ + "e9MqZbDS1Cr1Gq6Cmsq8MbQzQpzvi2XYiRx9Buoscl85HH1/hZil7LC+nr0CkelCykCPYFwdKrUS2xMK"
+ + "HgVzPAeQZM9W0INOoEcHgKVoHNMzI8vTwvYd/0KLUmCE+sFh9RKQAU5k3Q0svTt6Yvjy4LXfu86bF1gY"
+ + "orfLzagE4h5PvJPNepPZTy3ji/u+xVJ07W1clF1qM9dKb3KHeuOTlhHZzTtd9HATEXkLuiY4nNDBSMek"
+ + "+JIUeI2TIjNogsY+5jYqXybIEOHtf/zMfYx9VawvWKVZ6/Kc2pwZlnRC6Aj87aeKxa5J4OLfnoZrmnn+"
+ + "mIlIooYuSZreP17OCT9aa8dCJxeN/v40PAB8ZBpaSCmdYgRdy+A/FCTeTgHcB8elglZpfOdtXxapvvs+"
+ + "C1tb6AwP08Kwht6QTGCT3k19Dsuk9I5Rn9fKuxyOTZvYgPtVvF6aswxXDE5pueJq8n1Lw6pgzVbrDj/9"
+ + "M43KFq5BugjigiV3BAsOKaem7h7DRseZ/6gfdhp4jVg/gBQVtqKGJNRbkHZgwchjMba3nH+B5Xnuaq24"
+ + "z249nJJvCY2/zwccISPxZUPe7XrLQ6GE18z3LQ3NnkSgOd0Xf74FcpWcBpIZyB1ZBz2TRrJfoUuA2Vv9"
+ + "uaOV9NiANae3rUMv9kZsRjmYi0kAvIJyHCytnUUqWCIoePtTCu1NhmzuAsFaAP1rO5Mm0Nnd1gXoKgm2"
+ + "/aOzN6AGqbdD76onmWQ+XN28ffg2PkT5MVqOjoZCCV33FFQQkWaRbpGMyW8m1JFiLPxovrQJbtc27ru+"
+ + "pTb/lrYHAh0VQawI8+gehPuUGDgdpmTkXqgnFZrxm/pyr1mERJDqZcmizCbUk1JEV0pySXutGOSWn5m9"
+ + "6n8kHGN51dTrPxKZPS72OHY1iXIiPD87+ktYRe0TEy5LEg3sN11pqLbPWtizsYkiA+Zf9BiJraPuied5"
+ + "MiZcPerElcYmnGGRLy+gT8J30FxUtvbJDc+JinsvriCKDNwLkWjWdidBC/18GvqsJ1YKxzPOuDL4fRRe"
+ + "y+m7fcSDPbzQvj0lsAYz97pSfYbc8lJKYLq6prVxodIrtUVWo6Yt2IOij8KbBE38muW8zXmFJYzucfHh"
+ + "cPChSPqbOOqWNkyzdS8LsjY6OnBpBZnUJ/qNqeS7Bpdgp6yGjFKlb/fkaznUv8AxWcPiVwcDE8Xa8XU7"
+ + "XiPZ05VlVJm936T/cdMYbbuGeH5/wPerPtQfmyYHNHNzdwH+WWveFz++kSFMXwMiiDHk8pE0MFwOt/tM"
+ + "w+lsFA1Uol7BydUUgOpBf9bxKUEKUqtmSy1Dg0+5ha++P6rBfsrGxOZhuI8soI+umOPiPU3aW132QfPC"
+ + "Plcx+cAEKUnhHY3ti9CCaAlOFa42Hm0Q3oNWIFOhRlBBn+bbKpeAm4cTcmg7GtHa9EX25TjU0UqnCsvb"
+ + "6iiXGcVwlrPZRPyDscDM6qdnL8d1sEsPguFCRp0Q3NWXTaupEmxfohKQsw8/PTp1HltPbuwNz9bfT3Za"
+ + "8Boi4Xt3kWfwUrHkQDxYY7RC3u8hmMqdXVX7i69fXZM7YpL1zfXws7ct7Z0h1IMe2niYvUd6q/79giIY"
+ + "x1A9gdGZzq8ao/BitgYjqvyDH5WZLY5bCwSjJbGC9Gdrqm5+Gtcz1/Bas0Gws0DOC+e/oAcAXRxsXe9N"
+ + "+DSaf9af0RrfqyRfuBQ8Gbh3z+m6uwih0xsRYo1pamSwUS1pjUXwCBUVd3Y9Xmz/4QGyoKJzWeY4Ecqa"
+ + "aeP/LYdX1jbSNtx/O4sD3tSkpwHrOLkVEsnnEr/zHk/lSKlGjiYYVc6jqvGNsOrX//QWu5jHH4nVOyE8"
+ + "Bm63lIL9U5giT17DOIvhjXpTan8TrgAiNk4pkShDaWg6frrOcnGGiwjr0HrlgoQcToTeqqXX0gwPNQ7G"
+ + "p+xwRbXmNU8D6Ethf/D8mmzuEmq64deASN+Akyk6ITSFGDgXccAuofRYdMo0Ngkru89pqBbxkTIZe30D"
+ + "oXpOQzpYVeJhZ/yGE55gA1RYqcjjYV7DUJZpAWuARPxRXMYeaZO8JRItqMCWW9VgdsUPaycECJpB/sm6"
+ + "tvhs8YDjd+sK1/8O/7GLrRvwl/QDu3s78gnCWeJhYfTCye/p9zk+fmOU9/vNkKkaldob0Nkys9NyPlT3"
+ + "vd/NBnDXcK7+bC7fntb3kDJg4pvi411n0pIje2k7Mj3bRwUkYq00THQTrwS0uw+nCyUKL5ltxhJVoJkB"
+ + "JrdPjtiUVrHqH7V3T90lnJRkKgaIio/phLhVRhHD81zwQCMsak8gFmRf15P0PpFKYY3Bn2l9JjXucXiu"
+ + "wuIyR1Y5j9275B2UQc6OfFO0tN51YrSPnMnKP3YkXcaivnoNLsnn/TATwBPaOHXckvgJrETtV9oZMjSE"
+ + "gFvMam2Eg9kLtry0kFV7iBBWK2I9jGdYxKJDyM2Q09sy8uFRzAJ1TTD2tKauuhmMgSE7VWtV1JD+yk/p"
+ + "D3OYEfoAhL8WDOQA/M/8fyefoOqEw4kZasKv+KIObm5cEznJrxI7oDeA+tWjGrx4Kb45FlkehPUDNerH"
+ + "MQTn+VT+0TDizyhCCKmVciJkMMjn16y7K3tObnpmnKCMO9yrviy3d+QGUQfMXang0VSN84bWNKR4qTUF"
+ + "WQTYKXCZLSvtJgREy9V6MlZaKitzO6JFqqQd2QfwjqTWxYUoqYaxWZagPAAnTQo1Ys6CeORP3tuNq3y+"
+ + "dMlMl/loUwLHFL2pF/LIJbDQTN+KM4thyNMp5LRJm2gDpp+OaYTI3zYRGRRWyDgZrPaoYph3qGsd+srf"
+ + "iOWOtE7I1lCtFzepKqb1UkUBDqfFvOsGg0uhPuLVuernbH5S5P1BjOeWfEWBTUGXW210zMzpflShB09v"
+ + "/DC9NPi3/aPEUH0CPrzxO6XbBg/NSfoThnyZ08A8Lqc3etfz6Vs7iqicz3nTOI3e6wT2O+Q2PemAqbSE"
+ + "5esE89uWxaZVqxC8J87N+/LvhPcuWZ3nHSuWK02WzZpz9Dcem4V7DrSUruua9RgtNHtEEa5ILbqVmX+e"
+ + "cw51Hz599gJltn2z8rZymXLEIGoSKbYqusdDUCr6EFa9/GP1Zhpv8/S+WTzMtKDsFF+DQVjnCdmbW5wf"
+ + "gyKsq+ViC3IgM+CgoJh+GRSubi62Fm7aTjRaFk5/mGCitc3U5wC4oslSKCklz9VGS1xBgY55GY5qqYHP"
+ + "Q4OLcxXkrk2Z3CrgDWA+sHxUn3sR3mfYADo68ZusucqOlrJCpV0Y2Gm9aHH98jRW3N//Gv4Q2cD4ue7x"
+ + "Cu8nhdSEw+mwhzqpir2ExxocHVwJXFKD7xKxrPwedTOc2HPRpar3pVqKsZoZPUsaKScYD6mBeqNfreb+"
+ + "QGmY58y7qIiX2Fu6vbbFSmcvReMGd0ZlooZ3vmrwiaTTrHu+OUE5Irsy4qGwCoJBSFar0YMOdJ8qg17H"
+ + "zU8ocZVmjtLPnKTFy/fwhqZLoaVCimxJ6L37bAjDeEV9a/FtCYcp7K31W4rS5I/mifUnjAZfyyanTrae"
+ + "qYiVv9aD1ixIGv5SbTJxtRhxkWlbT2fPjx/tbkRjVcaEVsbulPrN42QdUEnAm6CGLDA/jPCAeYxvhwkr"
+ + "VT5c9811QMujMTvackcO/TADnnqcrA+3a4VsCaG2s6U8VcIpQx+UtB38eYqVK+1I09IXy3ASmfuhXWo0"
+ + "XSNezNvVWp3QfMz6NAU7j1CqV7mdAa8155nB1UOIJ2LV46EkCU+CXQNNtYjJnNpdFLj1JNcUkRpZajA4"
+ + "jQhoFZimGIX4ZLQkI0a+0CqtgIYwuv6szvVJ2WOQprDf3TF0ylxPr5PMasXnfUO+eP2cebwCZuZCKRVO"
+ + "CbH1r1VrikLeHPDnInmVCAVh8nSZUYqbV50gG1yClQ84Mgx7jLmMx/tH9Q99pEfwDE2QxoDuqc/w+l/K"
+ + "TfaZFNTPGphIZF6iX+DJpCxNxFNQlxpam8HXiqhJ0w8Q4i/nYZzxcAt7II1cim5gb6a6dXkNi1gyZXsG"
+ + "++TKzZ5c0ne5SLgYSbU9ewHzsleSHSEiA0YcAUOE9NR5lN2Zo11SYtO0aukkMqdUFqGZpWG0NGWR9etU"
+ + "zasQsXqWeo6clA18+CkUxC3+RGL6knbi697xtmKeSt/0pFAeVJCWMturkBenWwPXVOTHO6O877lCtXL9"
+ + "fzwupLHYC/d+P+N/eGTz13H549ZSvk/bsjceweH6RHbLo1K6xAd9apmdfN01h/02nRDdipEEkrapNmP+"
+ + "8dSchQ4bJ498M4O9dknEY/Nm7QwNSs1s5hkrTANaMWGV9MM9hDFuegBIqc+C2VLxPQ5qrJ7Ae/BN4yfn"
+ + "1P0P8dutPKlJ8eZKMjVjm+ERsjk22lk6AvRxF/kapIfMWObmtnQCRFWc1ADb2AJs6duH2GNoTZdGKPNk"
+ + "QvoTiGn7d6C8xknU0pnbuLo8ACwOrhVrz6kv9NMTHIbIK8PcA5vbZrJjSp2CxJ2XSkV73pMFqiO+ebGs"
+ + "GRKbAxsHIO81I2wG3ey9ifNW2VY+vnd2c+hy0Sm2i+kzDAt3vk9h+2s5Ww6eIUS0dyz0WZFQA25GVO1g"
+ + "EQtGx594JXSUmD7QI8bH0ooLg/7GbSk7SUiaYkqklO7xsCcXlZlYh7fMVnemKtcMxyU1Td4WnvWpxuVP"
+ + "Hgfu9RWUJ5C9CYP+9dRRy9b7T3/D913psQ4IxKT4Co/nlfrb2yc8pWBtJSVpc5E4OJ2aAgxo1gfs35pE"
+ + "vj64BuyWYWwHdIkODl9vvblx8vh2P7uBegzGDzJEPeZkwAQUDR4LBhxeyma187mTzlhkg7OQ/S3bNhhf"
+ + "vkPBMhDoR7lm0atJO27ZrvioEBn/IVk8UCJv49saeSUyCtkq61EXexioH7EAbekoeGjenOotvslbNcR1"
+ + "3r4klk1UJdAYw6OFbCfXnrUbe+imqagOURoO6YKvGONurGMZ1MVJvHN2WL1lYqY1R8+e9uLpXDyKHLBP"
+ + "O8GSZ/hUAN+qpTr1sKpkB/jafW6yeIxElRbzQ3e5seSAneoUeCkvOtRRs7aIX2jTFyce1/WbxeNTa0mU"
+ + "SzBsgvLTVuF10VgJj43olEo9GoFXcZl4w9TYlJgP4EoZdFaEugDPEUJgkfckzWBCynPiuio/mxIHGs1e"
+ + "3b54XxV79YAKCz0sLrBOhUJiBQzbw5XZGxe/oh26T/DjntWBR66YIHv25R+mmVqQ0/T3iVucujK0JGH3"
+ + "y7EpVuY7bXgsDTfM1u1cC3rGoIeGem8einYVO3FxDfcLMV9OCZ0++AYYa5bZldzmGLzauhD7Mvjbfy1A"
+ + "TM8WY0jazIBiia/ZQwOomP4Wi9MUh8Y61DhWH8+1RhKgOfGbJUjeiWtapx3J2hJ2fEqffSgQs9e9U4B4"
+ + "vHWcJfmOzKolGxE581t1tZ3SiF0FfPp0hGvAQHShy5TNV8s+Gizx3GOMcaR6YjaiQY9W+rsGWnCbL1Xc"
+ + "2P/TyZnHQ7X+cbxLyF6Wa8u4jVA0LYRBlnCt5SIhSyFLSM0PKaKSUtYyZIukyIjURGXrlp0bEVrppiyp"
+ + "3LRIstTPzNCjr+TU+KuX13mfcebpzMzz/XzeictCrNpGCOs3xHPFKzhRmrZfu35aZM2e/+53ZMbWGimE"
+ + "aysGPFloE2R5utDyAyu/6OWNQrZCF8Qp8/xWVMmsku++dK2WFN+97DFbYYfT84tNFcvziw5V4gY/aXT2"
+ + "HmjjWXSMKdzwwZE/4khD4LsPXjbh/GyDY8alnq1/+fToYrc/dk/pX05Jl1yipUsa+kqVR6QZVxo3IXEQ"
+ + "oui7n6pqvc/Ovhp/0l2B153evizk8mG0L7PYDbea5+SaNBh1KJGSTc7Ul569qpuVUP2JHJn5MOTmeqr0"
+ + "4lsct63NN+Usduu/p9lslty7p1O0ODgSH5zzLJT6T4/zpt1W9SPsRW+rTyo7mX14KKHJvZfpSgyXlObo"
+ + "cfFhZs0OG0lhP5c3qjFPtTRYNWxlFW6Zq+/9MvLUz42pIbWTVHz6AYedEA/V1hn5D6s4zi9ss/tAfK3A"
+ + "6D0lMHL5ZdSQcyEwly+2YaHybJ35Db7+U8utP+zMJ0wYEF2mGhB/JJLTc78amZ3Fzd6KL1kl0DyhQHQN"
+ + "u8sp+urEKWGyIdnGZVcyw3UWZeRKd521EG1NndwDZEgnGg85Jzkci2m2SWKU5rNpAk9fJpE/mYQ+sUhe"
+ + "SYlxeS2t2S822du7I6HOVcx0Ip1+cdUGhvfdpAas7K3t8F9W8Xcpb2Cwz4l1Cdmn/v489sbNhSnKq6LM"
+ + "2YQqWFif6lhSc+6AVnA/TztDQfLwKvEl9XF3IL31lDpyCJ8eWhzLTGs9AVnUy9OXXtG2xp//QHVGv7oz"
+ + "1ocPShw+/PYsCke1LxDlzKdZHIokL01ZvumTy1dCjd5xwJFePK2vKDrCGewR55qTGPDouJbkZVsdD6cl"
+ + "Gbs885SMOmTr+XKEVt/zbDi0jtwqm9PiTCAJEde3UZzvWe7XLTlZ/fAgn3GLfnBb4HqDeME+akaBmXTn"
+ + "YMP+jIrW3j2v+FRp6/fV6KEYm4bay6810j5yF73Va5OiUkafHTvFZh/8j2koWWJfrXhAkGaHNUHY1/mN"
+ + "UrzjFg0Wjf36Ui0bz2f1j7B8vC9t+kRRfF2PgG3wyXYVvxJ6Ogp3M5Up/Ib1RDpKp0fukGw0qa/dSoBd"
+ + "hqJC3GW6u2kIbCVm5iicXjB+eVt/MNO08Hbc4eMOZpqMt9EvnNosW45uXiNcxRwmpLJnoNUgTDqRnBnw"
+ + "tqCAn/7hRurdXfq7aPUm3jOG/MpJNbdHe2I+0bNRUVt5j+CKcdFzH7Xk1m8VfRE3t9gsb136hduRGc88"
+ + "0i2NOnTjq19Kqb/QbjR/F1WX622wqElMzfW4rIIEJa3SIbGqe/we0aXXUZocQ1/F1UaZUo39X0JMLlvU"
+ + "eC7fZlKh7y82L8XSSlc2LdblzRlViYyuwYh7K7qK1efesScKbFsf+OK9zPHSll4NYZ/crHVkN1X/sZYv"
+ + "H1Pnqp5c9HT7WqogMSelRGXzFq3T1eZH9ipuD3rFmrx9hcr4yu0JjGiq5vFLHYlUdeQdMREn3v0E+qY3"
+ + "5JmlF07sfc90W9joPpOf78zEbcGAF6euaErz8wlN+vkMp/j5wp6lh53sU4tNcht8XE+PQ3kuVCOSSL0d"
+ + "R5GgTz1+VEomZsDVSUrYpFzbXSVLvyguNm5NpjyhoL6V/NR7m4iyoMfL8CeharXPnEyMNnhXkMzodj55"
+ + "up0vctdHCd+4TPnNbcGfmyLwofnvflv+binNzvdxLK7v41DA2gk738qC4TKdyor/pbEt0jmhGRUYWl3L"
+ + "qa4zdM5X1oLsJu8/NvKgsVhYVSzfQf6stUJKwvBOvwcuDpTEEpa9spR9nty7+Peee5lY6DXMrc1P6Hsw"
+ + "ILJRW6zEcjDXN7cPpoej3pZWaYxfV7bxz3tyM1xbS3cf9/Fbgt5Ob4vxT+XuX/VEZvQtcHWdMo7wA7wC"
+ + "9r16Z8Q2FfrejXM6Oje5+ZIicyQxwyTWT2tMUWjfAQmXUp3I1Xcqqxrqi57XJ40MMRYtv5i+kqhStMh2"
+ + "zd7olKatDvahl8VyLHwy9dfYzItoVQkN7y/cffvC7i8ERfeI9F62kCYfnYtefP6hgfubtsSw4LeOLSG7"
+ + "JXGwvnpGzvWMNqf22FSfJ+CG8M1cmY6lBtJnJCXJd/XlT3Qa+D5bLJAd7+Gn+Nz4dtO8341uybxtuBhk"
+ + "Hpp/6k4BPs+V8FmngCn9sPw1sdDy5oHyplH9lzUxKaXJbDsaRXhEbhclS1NT/nbuvhHuTMkLYussSjTd"
+ + "mrV/35W8UsNOvehybRx3ONNj5frCtRFlrqxC7AnyeyLe+LEmlG0bVKOYnvNQapGKWOgh5y2015c8d0SA"
+ + "jWnXNLcyd01D+GwaSqud3p5YNJTjyzyzmtmmOU+Uvsytr55De9n3Q0jb6KXfnqRj9fc/1sgcMP52lV8Z"
+ + "X+XvE7svxr1PSNFtTgvLdCCyc2Z2p+C6tE3MvU/8U9Akv4Ez9H2MC2u2aUvwkDFX6Ca7ekN3ozzh4u51"
+ + "Bo/mVysYeC1tLo/sHwuJzreolrPtiGpf4kQkrOjAp5GV2v/0//evurwaq53Op4cvNO48uEjnFudrPO7f"
+ + "vWvmiZwfde9TWF29o1e0XDk9z9TwVF1XUP7DnjrhR6+Cy5z1qK5EuceOQTU4Zp2qUcIDq7UfrDwpYm3K"
+ + "ZjUPvGJ3zk/e5lhT3Ejh86O6uTwxajN6DqqUdvgaG9wsAzRrr+9aKL+6lafYeCorQ5beOhS3zJ7JHj+5"
+ + "TeqBx3218TBuIWgqvMag2UVXXDxWq9sdd6TAo77Vhj3lcDY1wETyenPnhI3HVYokTjwnIqfgdf6Jbn6q"
+ + "7ouUyMy61JsblRjaag5Pwaz2ws+8j/6ia6vljocE3/zTr8yUkOWcVFJ3e2RV0dvQkyyrLAIHjvBev6qV"
+ + "vYKhrU7NkyDlig7YyO8Rqbsk18+8pcMuqU7+TuyEXPmq1316yiQhiX/7NdoEjTYTVum6MZkyKaGlTCgO"
+ + "jUWNtfyDZru8OzJ6ptl4aI9JVTvfnCmCeJL3Tjdaj3qaqP0vk0CHxDmMBrbsd4+YfH0I6PXxWT7+2wtN"
+ + "xhzlWlysHWMpeGOC33LTpfaFC8rU1qkt5Tbhf6Ere3T3Ncsyt90N8nVf1pJx84/JCR0cML+XZa0i5bjk"
+ + "qGDJo43zooNkuhrvrYqI3loipi19XT89MVlH0C7y+E2purweqvrVlYMZ6yO8wuwDvUSEPWxsr1GihhLd"
+ + "XHkuSHPlO1ZmfCq3KRl9d6q5f/+TFzfe6A2eseWpHPIf5jY1/o1JgHlmzz3jMX/Of/Rfff174WHQtT/5"
+ + "yAheOuf75n3sJ/abuux/dJjAN4elzTTlBwQo30dPvWUGwjcqfoiDunmEo0UPMMnnIRL61RGSzDy7bR3S"
+ + "oFIc0f6bi0kwDoHQo42AhqxYrNqQB8XRiEdhw6CRhjioSkY4Fnas4mTIhHJgxHTjwKAKhjjow0W4Ck5M"
+ + "dlwIhJ5YBBzlwmiNhUioREVIZ56fFKRCNDR4IvT8+Vh8npAHnZWIt2MBJoPltBUJHI0I2MiHxdgIedBK"
+ + "iHgEAYyOQoiE3j6E3CyIxeIHedBUh3ilv2Py1kEglKYh4EFhjAo1iIReMYS8LILRMgaRUKSFkAJi2LRa"
+ + "kAiVTojYvhCD4AnioMQI4VRwGJVGEAm1PQiZLIFN4gOJUFSDiMN/YNLWQCAUtiCgDh6TvgUCoaEEAc9K"
+ + "zuorgTDo5Zjy5y7+ZUsHPAm0TaCThEn/snsCngQ6EtBJiEt+2ZgATwKL5Ogke+R+slYO0bBUjNA1hNkr"
+ + "xpAGi7OItmoFlhot5MGSJ+LdXYmt8gmJsNaIiIryP1FyhFjY4UPYNIXZGn2QBTtriDWyGlODDQJhTQsB"
+ + "NylhKG1BHGwiIVyVMrZeEiTC+g0i4lUwlHEgDhZOEG6/Kub6CYTCggWCdqlhqFtMe5FBbwDh7NSxtAim"
+ + "3exAHH7K/xQNbOF4SIT5b0RU0vpxGnzaXQFEmhHpwtrZA86QBlO8iDZPB2OmFyJhxhQhr+v+ROIUYmF+"
+ + "EmGJer+QpoR4mBBE+Cv6v5IXnPb0QQIO8RUNfy4PB8kwRoXIRsY/E6qCXJg3QVx/E2zpE0iEKQlEFDSd"
+ + "LTMBWXB6j1h1Zphm+RAIZ9QIuHoDpok1BMKxLAKSLbAMaSEPDiIR781GrGNJyISTN8TcYIV5DgehcPCE"
+ + "oNnWWMZQkAeHLYjHYvNTo5dpX1rB+ACBI22xDhMgE26YI+Zru9m3z3+0vcj3lUXbXjTa/L3t32nvs2DD"
+ + "GD2bwO8eP9P2sakxCyvtON3xn6zxL/R2W2j/+j/MR0DQGXUAAA==";
+
+ public static TestFile SUPPORT_ANNOTATIONS_JAR =
+ base64gzip("libs/support-annotations.jar", SUPPORT_ANNOTATIONS_JAR_BASE64_GZIP);
+}
diff --git a/lint-checks/src/test/java/androidx/build/lint/RestrictToDetectorTest.kt b/lint-checks/src/test/java/androidx/build/lint/RestrictToDetectorTest.kt
new file mode 100644
index 0000000..2a9fb72
--- /dev/null
+++ b/lint-checks/src/test/java/androidx/build/lint/RestrictToDetectorTest.kt
@@ -0,0 +1,1026 @@
+/*
+ * Copyright 2023 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 androidx.build.lint
+
+import androidx.build.lint.RestrictToDetector.Companion.sameLibraryGroupPrefix
+import com.android.tools.lint.checks.infrastructure.ProjectDescription
+import com.android.tools.lint.checks.infrastructure.TestFile
+import com.android.tools.lint.checks.infrastructure.TestFiles.mavenLibrary
+import com.android.tools.lint.checks.infrastructure.TestMode
+import com.android.tools.lint.detector.api.Detector
+import com.android.tools.lint.detector.api.Issue
+import com.android.tools.lint.detector.api.Project
+import java.io.File
+
+class RestrictToDetectorTest : AbstractCheckTest() {
+ override fun getDetector(): Detector = RestrictToDetector()
+
+ override fun getIssues(): List<Issue> = listOf(RestrictToDetector.RESTRICTED)
+
+ fun testRestrictToSubClass() {
+ val expected =
+ """
+ src/test/pkg/RestrictToSubclassTest.java:26: Error: Class1.onSomething can only be called from subclasses [RestrictedApiAndroidX]
+ cls.onSomething(); // ERROR: Not from subclass
+ ~~~~~~~~~~~
+ src/test/pkg/RestrictToSubclassTest.java:27: Error: Class1.counter can only be accessed from subclasses [RestrictedApiAndroidX]
+ int counter = cls.counter; // ERROR: Not from subclass
+ ~~~~~~~
+ 2 errors, 0 warnings
+ """
+
+ lint()
+ .files(
+ java(
+ """
+ package test.pkg;
+
+ import androidx.annotation.RestrictTo;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class RestrictToSubclassTest {
+ public static class Class1 {
+ @RestrictTo(RestrictTo.Scope.SUBCLASSES)
+ public void onSomething() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.SUBCLASSES)
+ public int counter;
+ }
+
+ public static class SubClass extends Class1 {
+ public void test1() {
+ onSomething(); // OK: Call from subclass
+ int counter = cls.counter; // OK: Reference from subclass
+ }
+ }
+
+ @SuppressWarnings("MethodMayBeStatic")
+ public static class NotSubClass {
+ public void test2(Class1 cls) {
+ cls.onSomething(); // ERROR: Not from subclass
+ int counter = cls.counter; // ERROR: Not from subclass
+ }
+ }
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .run()
+ .expect(expected)
+ }
+
+ fun testRestrictToGroupId() {
+ val project =
+ project()
+ .files(
+ java(
+ """
+ package test.pkg;
+ import library.pkg.internal.InternalClass;
+ import library.pkg.Library;
+ import library.pkg.PrivateClass;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class TestLibrary {
+ public void test() {
+ Library.method(); // OK
+ Library.privateMethod(); // ERROR
+ PrivateClass.method(); // ERROR
+ InternalClass.method(); // ERROR
+ }
+
+ @Override
+ public method() {
+ super.method(); // ERROR
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ "src/test/java/test/pkg/UnitTestLibrary.java",
+ """
+ package test.pkg;
+ import library.pkg.PrivateClass;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class UnitTestLibrary {
+ public void test() {
+ PrivateClass.method(); // Not enforced in tests
+ }
+ }
+ """
+ )
+ .indented(),
+ library,
+ gradle(
+ """
+ apply plugin: 'com.android.application'
+
+ dependencies {
+ compile 'my.group.id:mylib:25.0.0-SNAPSHOT'
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ lint()
+ .projects(project)
+ .testModes(TestMode.DEFAULT)
+ .run()
+ .expect(
+ """
+ src/main/java/test/pkg/TestLibrary.java:10: Error: Library.privateMethod can only be called from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ Library.privateMethod(); // ERROR
+ ~~~~~~~~~~~~~
+ src/main/java/test/pkg/TestLibrary.java:11: Error: PrivateClass.method can only be called from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ PrivateClass.method(); // ERROR
+ ~~~~~~
+ src/main/java/test/pkg/TestLibrary.java:12: Error: InternalClass.method can only be called from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ InternalClass.method(); // ERROR
+ ~~~~~~
+ 3 errors, 0 warnings
+ """
+ )
+ }
+
+ fun testRestrictToLibrary() {
+ // 120087311: Enforce RestrictTo(LIBRARY) when the API is defined in another project
+ val library =
+ project()
+ .files(
+ java(
+ """
+ package com.example.mylibrary;
+
+ import androidx.annotation.RestrictTo;
+
+ public class LibraryCode {
+ // No restriction: any access is fine.
+ public static int FIELD1;
+
+ // Scoped to same library: accessing from
+ // lib is okay, from app is not.
+ @RestrictTo(RestrictTo.Scope.LIBRARY)
+ public static int FIELD2;
+
+ // Scoped to same library group: whether accessing
+ // from app is okay depends on whether they are in
+ // the same library group (=groupId). In this test
+ // project we don't know what they are so there's
+ // no warning generated.
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+ public static int FIELD3;
+
+ public static void method1() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.LIBRARY)
+ public static void method2() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+ public static void method3() {
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package test.pkg;
+
+ import com.example.mylibrary.LibraryCode;
+
+ // Access within the same library -- all OK
+ public class LibraryCode2 {
+ public void method() {
+ LibraryCode.method1(); // OK
+ LibraryCode.method2(); // OK
+ LibraryCode.method3(); // OK
+ int f1 = LibraryCode.FIELD1; // OK
+ int f2 = LibraryCode.FIELD2; // OK
+ int f3 = LibraryCode.FIELD3; // OK
+ }
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .name("lib")
+ .type(ProjectDescription.Type.LIBRARY)
+
+ val app =
+ project()
+ .files(
+ kotlin(
+ """
+ package com.example.myapplication
+
+ import com.example.mylibrary.LibraryCode
+
+ fun test() {
+ LibraryCode.method1()
+ LibraryCode.method2()
+ LibraryCode.method3()
+ val f1 = LibraryCode.FIELD1
+ val f2 = LibraryCode.FIELD2
+ val f3 = LibraryCode.FIELD3
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .dependsOn(library)
+ .name("app")
+
+ lint()
+ .projects(library, app)
+ .run()
+ .expect(
+ """
+ src/com/example/myapplication/test.kt:7: Error: LibraryCode.method2 can only be called from within the same library (lib) [RestrictedApiAndroidX]
+ LibraryCode.method2()
+ ~~~~~~~
+ src/com/example/myapplication/test.kt:10: Error: LibraryCode.FIELD2 can only be accessed from within the same library (lib) [RestrictedApiAndroidX]
+ val f2 = LibraryCode.FIELD2
+ ~~~~~~
+ 2 errors, 0 warnings
+ """
+ )
+ }
+
+ fun testHierarchy() {
+ val project =
+ project()
+ .files(
+ java(
+ """
+ package test.pkg;
+ import library.pkg.PrivateClass;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class TestLibrary1 extends PrivateClass {
+ @Override
+ public void method() {
+ super.method(); // ERROR
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package test.pkg;
+ import library.pkg.PrivateClass;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class TestLibrary2 extends PrivateClass {
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package test.pkg;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class Inheriting1 extends TestLibrary1 {
+ public void test() {
+ method(); // OK -- overridden without annotation
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package test.pkg;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class Inheriting2 extends TestLibrary2 {
+ public void test() {
+ method(); // ERROR - not overridden, pointing into library
+ }
+ }
+ """
+ )
+ .indented(),
+ library,
+ gradle(
+ """
+ apply plugin: 'com.android.application'
+
+ dependencies {
+ compile 'my.group.id:mylib:25.0.0-SNAPSHOT'
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ lint()
+ .projects(project)
+ .run()
+ .expect(
+ """
+ src/main/java/test/pkg/Inheriting2.java:6: Error: PrivateClass.method can only be called from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ method(); // ERROR - not overridden, pointing into library
+ ~~~~~~
+ src/main/java/test/pkg/TestLibrary1.java:5: Error: PrivateClass can only be accessed from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ public class TestLibrary1 extends PrivateClass {
+ ~~~~~~~~~~~~
+ src/main/java/test/pkg/TestLibrary1.java:8: Error: PrivateClass.method can only be called from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ super.method(); // ERROR
+ ~~~~~~
+ src/main/java/test/pkg/TestLibrary2.java:5: Error: PrivateClass can only be accessed from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ public class TestLibrary2 extends PrivateClass {
+ ~~~~~~~~~~~~
+ 4 errors, 0 warnings
+ """
+ )
+ }
+
+ fun testRestrictedInheritedAnnotation() {
+ // Regression test for http://b.android.com/230387
+ // Ensure that when we perform the @RestrictTo check, we don't incorrectly
+ // inherit annotations from the base classes of AppCompatActivity and treat
+ // those as @RestrictTo on the whole AppCompatActivity class itself.
+ lint()
+ .files(
+ /*
+ Compiled version of these two classes:
+ package test.pkg;
+ import androidx.annotation.RestrictTo;
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+ public class RestrictedParent {
+ }
+ and
+ package test.pkg;
+ public class Parent extends RestrictedParent {
+ public void myMethod() {
+ }
+ }
+ */
+ base64gzip(
+ "libs/exploded-aar/my.group.id/mylib/25.0.0-SNAPSHOT/jars/classes.jar",
+ "" +
+ "H4sIAAAAAAAAAAvwZmYRYeDg4GB4VzvRkwEJcDKwMPi6hjjqevq56f87xcDA" +
+ "zBDgzc4BkmKCKgnAqVkEiOGafR39PN1cg0P0fN0++5457eOtq3eR11tX69yZ" +
+ "85uDDK4YP3hapOflq+Ppe7F0FQtnxAvJI9JSUi/Flj5boia2XCujYuk0C1HV" +
+ "tGei2iKvRV8+zf5U9LGIEeyWNZtvhngBbfJCcYspmlvkgbgktbhEvyA7XT8I" +
+ "yCjKTC5JTQlILErNK9FLzkksLp4aGOvN5Chi+/j6tMxZqal2rK7xV+y+RLio" +
+ "iRyatGmWgO2RHdY3blgp7978b/28JrlfjH9XvMh66Cxwg6fY/tze73Mknz3+" +
+ "/Fb2gOaqSJXAbRvyEpsVi/WmmojznPzbrOe8al3twYCCJULbP25QP8T3nrVl" +
+ "iszbjwtOO1uerD8wpXKSoPNVQyWjby925u8WablkfCj/Y4BG8bEJua8tvhzZ" +
+ "OsdnSr35HJ4fM4RbpbWV2xctPGY0ySUu2Es6b0mYyobnBU/bo36VifS7WZmY" +
+ "zZ+aPknWN+mlIX9S4kKnxNuXlSedMZ0ilGj7IFCl43WF3bq5L00Mn809NjW6" +
+ "+L18/p1nsdrtIpd4ptrLnwmYs+cE345Xt8/ec6g4dkjs8EX7EMmy56+OmQl9" +
+ "mT75aMblsyfSNDYvt5xgV8NavVCBsTsnjSttg4PZ97sNrikn1TeavD2l6L/P" +
+ "Y2uqVSu7QWPomoUuGdMmKJltLIr8yQSKpPpfEa8iGBkYfJjwRZIociQhR01q" +
+ "n7//IQeBo/cv1AesjsiX2cmp9u1B4OOjLcGmbpzfl949oFRytszwY3Kl0cMD" +
+ "7B+cJZetzex5l3hvj/nn0+euf8/jf8BVyMGuzviL0Y/zX6/WlL2qFs8XSx7c" +
+ "e3mnypfg0BPtb9P0zoacuT5nzlIr4dczDVZ9sl+YPX2VypGVU5f6xsWLnVxs" +
+ "sGnD9ZZ3z/7G3Vp6jvPh5nuzfPxCWmVMpadrf1RT2vHhx2Z7k8QLav53JKZG" +
+ "zjQ35rn48PPq64yhNuHzYw95rbn3Q/hLYD/zujpZqxdFvbNYvwhs+qSpWxNY" +
+ "/Yd9b7zC1oSQfFl5cErewhTw/BEwCIIYQYHEyCTCgJqvYDkOlClRAUoWRdeK" +
+ "nEFEULTZ4sigyCaA4gg59uRRTDhJOFuhG4bsS1EUw/KYcER/gDcrG0gBCxDy" +
+ "ArVNZgbxABAMMsu2BAAA"
+ ),
+ java(
+ "" +
+ "package test.pkg;\n" +
+ "\n" +
+ "public class Cls extends Parent {\n" +
+ " @Override\n" +
+ " public void myMethod() {\n" +
+ " super.myMethod();\n" +
+ " }\n" +
+ "}\n"
+ ),
+ gradle(
+ "" +
+ "apply plugin: 'com.android.application'\n" +
+ "\n" +
+ "dependencies {\n" +
+ " compile 'my.group.id:mylib:25.0.0-SNAPSHOT'\n" +
+ "}"
+ ),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .run()
+ .expectClean()
+ }
+
+ fun testRestrictedClassOrInterfaceUsage() {
+ lint()
+ .files(
+ kotlin(
+ """
+ package test.pkg
+
+ class MyClass : RestrictedClass()
+ """
+ ),
+ java(
+ """
+ package test.pkg;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class MyJavaClass extends RestrictedClass implements RestrictedInterface {
+ }
+ """
+ )
+ .indented(),
+ java(
+ "src/androidTest/java/test/pkg/MyTestJavaClass.java",
+ """
+ package test.pkg;
+
+ @SuppressWarnings("ClassNameDiffersFromFileName")
+ public class MyTestJavaClass extends RestrictedClass {
+ }
+ """
+ )
+ .indented(),
+ kotlin(
+ """
+ package test.pkg
+
+ import androidx.annotation.RestrictTo
+
+ @RestrictTo(RestrictTo.Scope.TESTS)
+ open class RestrictedClass
+ """
+ )
+ .indented(),
+ kotlin(
+ """
+ package test.pkg
+
+ import androidx.annotation.RestrictTo
+
+ @RestrictTo(RestrictTo.Scope.TESTS)
+ interface RestrictedInterface
+ """
+ )
+ .indented(),
+ gradle(
+ """
+ android {
+ lintOptions {
+ checkTestSources true
+ }
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .skipTestModes(TestMode.TYPE_ALIAS)
+ .run()
+ .expect(
+ """
+ src/main/kotlin/test/pkg/MyClass.kt:4: Error: RestrictedClass can only be called from tests [RestrictedApiAndroidX]
+ class MyClass : RestrictedClass()
+ ~~~~~~~~~~~~~~~
+ src/main/java/test/pkg/MyJavaClass.java:4: Error: RestrictedClass can only be accessed from tests [RestrictedApiAndroidX]
+ public class MyJavaClass extends RestrictedClass implements RestrictedInterface {
+ ~~~~~~~~~~~~~~~
+ src/main/java/test/pkg/MyJavaClass.java:4: Error: RestrictedInterface can only be accessed from tests [RestrictedApiAndroidX]
+ public class MyJavaClass extends RestrictedClass implements RestrictedInterface {
+ ~~~~~~~~~~~~~~~~~~~
+ 3 errors, 0 warnings
+ """
+ )
+ }
+
+ fun test123545341() {
+ // Regression test for
+ // 123545341: RestrictTo(TESTS) doesn't allow same class to use methods
+ // (Note that that test asks for the following not to be an error, but this is
+ // deliberate and we're testing the enforcement here)
+ lint()
+ .files(
+ java(
+ """
+ package test.pkg;
+
+ import androidx.annotation.RestrictTo;
+ import static androidx.annotation.RestrictTo.Scope.TESTS;
+
+ class Outer {
+ private Inner innerInstance;
+
+ @RestrictTo(TESTS)
+ class Inner {
+ public void method() {
+ }
+ }
+
+ private void outerMethod() {
+ // This is marked as invalid
+ innerInstance.method();
+ }
+ }
+ """
+ ),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .run()
+ .expect(
+ """
+ src/test/pkg/Outer.java:18: Error: Inner.method can only be called from tests [RestrictedApiAndroidX]
+ innerInstance.method();
+ ~~~~~~
+ 1 errors, 0 warnings
+ """
+ )
+ }
+
+ fun test169255669() {
+ // Regression test for 169255669: ClassCastException in RestrictToDetector.
+ @Suppress("ConvertSecondaryConstructorToPrimary")
+ lint()
+ .files(
+ kotlin(
+ """
+ package test.pkg
+
+ import androidx.annotation.RestrictTo
+
+ class Foo {
+ @RestrictTo(RestrictTo.Scope.SUBCLASSES)
+ constructor()
+ }
+
+ @RestrictTo(RestrictTo.Scope.SUBCLASSES)
+ val foo = Foo()
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .run()
+ .expect(
+ """
+ src/test/pkg/Foo.kt:11: Error: Foo can only be called from subclasses [RestrictedApiAndroidX]
+ val foo = Foo()
+ ~~~
+ 1 errors, 0 warnings
+ """
+ )
+ }
+
+ fun test169610406() {
+ // 169610406: Strange warning from RestrictToDetector for Kotlin property
+ // initialized by constructor call
+ lint()
+ .files(
+ kotlin(
+ """
+ package test.pkg
+
+ import androidx.annotation.RestrictTo
+ import androidx.annotation.RestrictTo.Scope.SUBCLASSES
+
+ class Foo
+ open class Bar {
+ // No use site target specified; Kotlin will take this to refer to the
+ // field only; lint will also interpret this as applying to getters and setters
+ @RestrictTo(SUBCLASSES)
+ val foo1: Foo = Foo()
+
+ // Field explicitly requested; lint only enforce this on field references, not getters/setters
+ @field:RestrictTo(SUBCLASSES)
+ val foo2: Foo = Foo()
+
+ // Setter only; don't enforce on getter
+ @set:RestrictTo(SUBCLASSES)
+ var foo3: Foo? = Foo()
+
+ // Getter only, don't enforce on setter
+ @get:RestrictTo(SUBCLASSES)
+ var foo4: Foo? = Foo()
+ }
+ """
+ )
+ .indented(),
+ kotlin(
+ """
+ package test.pkg
+ class Sub : Bar() {
+ fun test() {
+ val test = foo1 // OK 1
+ println(foo1) // OK 2
+ println(foo2) // OK 3
+ println(foo3) // OK 4
+ println(foo5) // OK 5
+ }
+ }
+ class NotSub(private val bar: Bar) {
+ fun test() {
+ val test = bar.foo1 // WARN 1
+ println(bar.foo1) // WARN 2
+ val test2 = bar.foo2 // OK 6
+ println(bar.foo2) // OK 7
+ val test3 = bar.foo3 // OK 8
+ println(bar.foo3) // OK 9
+ bar.foo3 = null // WARN 3
+ println(bar.foo4) // WARN 4
+ bar.foo4 = null // OK 10
+ }
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .run()
+ .expect(
+ """
+ src/test/pkg/Sub.kt:13: Error: Bar.getFoo1 can only be called from subclasses [RestrictedApiAndroidX]
+ val test = bar.foo1 // WARN 1
+ ~~~~
+ src/test/pkg/Sub.kt:14: Error: Bar.getFoo1 can only be called from subclasses [RestrictedApiAndroidX]
+ println(bar.foo1) // WARN 2
+ ~~~~
+ src/test/pkg/Sub.kt:19: Error: Bar.setFoo3 can only be called from subclasses [RestrictedApiAndroidX]
+ bar.foo3 = null // WARN 3
+ ~~~~
+ src/test/pkg/Sub.kt:20: Error: Bar.getFoo4 can only be called from subclasses [RestrictedApiAndroidX]
+ println(bar.foo4) // WARN 4
+ ~~~~
+ 4 errors, 0 warnings
+ """
+ )
+ }
+
+ companion object {
+ val library: TestFile =
+ mavenLibrary(
+ "my.group.id:mylib:25.0.0-SNAPSHOT",
+ stubSources =
+ listOf(
+ java(
+ """
+ package library.pkg;
+
+ import androidx.annotation.RestrictTo;
+
+ public class Library {
+ public static void method() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.GROUP_ID)
+ public static void privateMethod() {
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package library.pkg;
+
+ import androidx.annotation.RestrictTo;
+
+ @RestrictTo(RestrictTo.Scope.GROUP_ID)
+ public class PrivateClass {
+ public static void method() {
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package library.pkg.internal;
+
+ public class InternalClass {
+ public static void method() {
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ @RestrictTo(RestrictTo.Scope.GROUP_ID)
+ package library.pkg.internal;
+
+ import androidx.annotation.RestrictTo;
+ """
+ )
+ .indented()
+ ),
+ compileOnly = listOf(SUPPORT_ANNOTATIONS_JAR)
+ )
+ }
+
+ fun testRestrictToLibraryViaGradleModel() {
+ val library =
+ project()
+ .files(
+ java(
+ """
+ package com.example.mylibrary;
+
+ import androidx.annotation.RestrictTo;
+
+ public class LibraryCode {
+ // No restriction: any access is fine.
+ public static int FIELD1;
+
+ // Scoped to same library: accessing from
+ // lib is okay, from app is not.
+ @RestrictTo(RestrictTo.Scope.LIBRARY)
+ public static int FIELD2;
+
+ // Scoped to same library group: whether accessing
+ // from app is okay depends on whether they are in
+ // the same library group (=groupId). In this test
+ // project we don't know what they are so there's
+ // no warning generated.
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+ public static int FIELD3;
+
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX)
+ public static int FIELD4;
+
+ public static void method1() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.LIBRARY)
+ public static void method2() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
+ public static void method3() {
+ }
+
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX)
+ public static void method4() {
+ }
+ }
+ """
+ )
+ .indented(),
+ java(
+ """
+ package test.pkg;
+
+ import com.example.mylibrary.LibraryCode;
+
+ // Access within the same library -- all OK
+ public class LibraryCode2 {
+ public void method() {
+ LibraryCode.method1(); // OK
+ LibraryCode.method2(); // OK
+ LibraryCode.method3(); // OK
+ LibraryCode.method4(); // OK
+ int f1 = LibraryCode.FIELD1; // OK
+ int f2 = LibraryCode.FIELD2; // OK
+ int f3 = LibraryCode.FIELD3; // OK
+ int f4 = LibraryCode.FIELD4; // OK
+ }
+ }
+ """
+ )
+ .indented(),
+ gradle(
+ """
+ apply plugin: 'com.android.library'
+ group=test.pkg.library
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .name("lib1")
+
+ // Add library3 to test case when group doesn't contain any dots.
+ val library3 =
+ project()
+ .files(
+ java(
+ """
+ package com.example.dotless;
+
+ import androidx.annotation.RestrictTo;
+
+ public class DotlessCode {
+ @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX)
+ public static void method() {
+ }
+ }
+ """
+ )
+ .indented(),
+ gradle(
+ """
+ apply plugin: 'com.android.library'
+ group=dotless
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .name("lib3")
+
+ val library2 =
+ project()
+ .files(
+ kotlin(
+ """
+ package com.example.myapplication
+
+ import com.example.mylibrary.LibraryCode
+ import com.example.dotless.DotlessCode
+
+ fun test() {
+ LibraryCode.method1() // OK
+ LibraryCode.method2() // ERROR
+ LibraryCode.method3() // ERROR
+ LibraryCode.method4() // ERROR
+ val f1 = LibraryCode.FIELD1 // OK
+ val f2 = LibraryCode.FIELD2 // ERROR
+ val f3 = LibraryCode.FIELD3 // ERROR
+ val f4 = LibraryCode.FIELD4 // ERROR
+ DotlessCode.method() // ERROR
+ }
+ """
+ )
+ .indented(),
+ gradle(
+ """
+ apply plugin: 'com.android.library'
+ group=other.app
+ """
+ )
+ .indented()
+ )
+ .name("lib2")
+ .dependsOn(library)
+ .dependsOn(library3)
+
+ // Make sure projects are placed correctly on disk: to do this, record
+ // project locations with a special client, then after the lint run make
+ // sure the locations are correct.
+ library2.under(library)
+ library3.under(library)
+ var libDir1: File? = null
+ var libDir2: File? = null
+ var libDir3: File? = null
+ val factory: () -> com.android.tools.lint.checks.infrastructure.TestLintClient = {
+ object : com.android.tools.lint.checks.infrastructure.TestLintClient() {
+ override fun registerProject(dir: File, project: Project) {
+ if (project.name == "lib1") {
+ libDir1 = dir
+ } else if (project.name == "lib2") {
+ libDir2 = dir
+ } else if (project.name == "lib3") {
+ libDir3 = dir
+ }
+ super.registerProject(dir, project)
+ }
+ }
+ }
+ assertEquals("LIBRARY:lib1", library.toString())
+
+ lint()
+ .projects(library, library2, library3)
+ .reportFrom(library2)
+ .clientFactory(factory)
+ .run()
+ .expect(
+ """
+ src/main/kotlin/com/example/myapplication/test.kt:8: Error: LibraryCode.method2 can only be called from within the same library (test.pkg.library:test_project-lib1) [RestrictedApiAndroidX]
+ LibraryCode.method2() // ERROR
+ ~~~~~~~
+ src/main/kotlin/com/example/myapplication/test.kt:9: Error: LibraryCode.method3 can only be called from within the same library group (referenced groupId=test.pkg.library from groupId=other.app) [RestrictedApiAndroidX]
+ LibraryCode.method3() // ERROR
+ ~~~~~~~
+ src/main/kotlin/com/example/myapplication/test.kt:10: Error: LibraryCode.method4 can only be called from within the same library group prefix (referenced groupId=test.pkg.library with prefix test.pkg from groupId=other.app) [RestrictedApiAndroidX]
+ LibraryCode.method4() // ERROR
+ ~~~~~~~
+ src/main/kotlin/com/example/myapplication/test.kt:12: Error: LibraryCode.FIELD2 can only be accessed from within the same library (test.pkg.library:test_project-lib1) [RestrictedApiAndroidX]
+ val f2 = LibraryCode.FIELD2 // ERROR
+ ~~~~~~
+ src/main/kotlin/com/example/myapplication/test.kt:13: Error: LibraryCode.FIELD3 can only be accessed from within the same library group (referenced groupId=test.pkg.library from groupId=other.app) [RestrictedApiAndroidX]
+ val f3 = LibraryCode.FIELD3 // ERROR
+ ~~~~~~
+ src/main/kotlin/com/example/myapplication/test.kt:14: Error: LibraryCode.FIELD4 can only be accessed from within the same library group prefix (referenced groupId=test.pkg.library with prefix test.pkg from groupId=other.app) [RestrictedApiAndroidX]
+ val f4 = LibraryCode.FIELD4 // ERROR
+ ~~~~~~
+ src/main/kotlin/com/example/myapplication/test.kt:15: Error: DotlessCode.method can only be called from within the same library group prefix (referenced groupId=dotless with prefix "" from groupId=other.app) [RestrictedApiAndroidX]
+ DotlessCode.method() // ERROR
+ ~~~~~~
+ 7 errors, 0 warnings
+ """
+ )
+
+ // Make sure project directories are laid out correctly
+ assertTrue(libDir2!!.parentFile.path == libDir1!!.path)
+ assertTrue(libDir3!!.parentFile.path == libDir1!!.path)
+ }
+
+ fun testLibraryGroupPrefixMatches() {
+ assertTrue(sameLibraryGroupPrefix("foo", "foo"))
+ assertFalse(sameLibraryGroupPrefix("foo", "bar"))
+ assertTrue(sameLibraryGroupPrefix("foo.bar", "foo.bar"))
+ assertFalse(sameLibraryGroupPrefix("foo.bar", "bar"))
+ assertFalse(sameLibraryGroupPrefix("foo.bar", "foo"))
+
+ assertTrue(sameLibraryGroupPrefix("foo.bar", "foo.baz"))
+ assertTrue(sameLibraryGroupPrefix("com.foo.bar", "com.foo.baz"))
+ assertFalse(sameLibraryGroupPrefix("com.foo.bar", "com.bar.qux"))
+
+ // Implementation for AndroidX differs from the standard RestrictToDetector, since we
+ // treat LIBRARY_GROUP_PREFIX as anything in the androidx.* package. See b/297047524.
+ assertTrue(sameLibraryGroupPrefix("androidx.foo.foo", "androidx.bar.bar"))
+ }
+
+ fun test278573413() {
+ // Regression test for b/278573413.
+ lint()
+ .files(
+ kotlin(
+ """
+ package test.pkg
+
+ import library.pkg.PrivateKotlinClass
+
+ class Test : PrivateKotlinClass {
+ override fun method() {}
+ }
+ """
+ )
+ .indented(),
+ mavenLibrary(
+ "my.group.id:myklib:25.0.0-SNAPSHOT",
+ stubSources =
+ listOf(
+ kotlin(
+ """
+ package library.pkg
+
+ import androidx.annotation.RestrictTo
+
+ @RestrictTo(RestrictTo.Scope.GROUP_ID)
+ open class PrivateKotlinClass {
+ open fun method() {}
+ }
+ """
+ )
+ .indented(),
+ ),
+ compileOnly = listOf(SUPPORT_ANNOTATIONS_JAR)
+ ),
+ gradle(
+ """
+ apply plugin: 'com.android.application'
+
+ dependencies {
+ compile 'my.group.id:myklib:25.0.0-SNAPSHOT'
+ }
+ """
+ )
+ .indented(),
+ SUPPORT_ANNOTATIONS_JAR
+ )
+ .allowKotlinClassStubs(true)
+ .run()
+ .expect(
+ """
+ src/main/kotlin/test/pkg/Test.kt:5: Error: PrivateKotlinClass can only be accessed from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ class Test : PrivateKotlinClass {
+ ~~~~~~~~~~~~~~~~~~
+ src/main/kotlin/test/pkg/Test.kt:6: Error: PrivateKotlinClass.method can only be called from within the same library group (referenced groupId=my.group.id from groupId=<unknown>) [RestrictedApiAndroidX]
+ override fun method() {}
+ ~~~~~~
+ 2 errors, 0 warnings
+ """
+ )
+ }
+}
diff --git a/media2/integration-tests/testapp/lint-baseline.xml b/media2/integration-tests/testapp/lint-baseline.xml
index 751410f..7db1f02 100644
--- a/media2/integration-tests/testapp/lint-baseline.xml
+++ b/media2/integration-tests/testapp/lint-baseline.xml
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaItem.getMediaId can only be called from within the same library group (referenced groupId=`androidx.media2` from groupId=`androidx.media2.integration-tests`)"
errorLine1=" && TextUtils.equals(currentItem.getMediaId(), mUri.toString())"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BaseResult.RESULT_SUCCESS can only be accessed from within the same library group (referenced groupId=`androidx.media2` from groupId=`androidx.media2.integration-tests`)"
errorLine1=" if (playerResult.getResultCode() != SessionPlayer.PlayerResult.RESULT_SUCCESS) {"
errorLine2=" ~~~~~~~~~~~~~~">
diff --git a/media2/media2-common/lint-baseline.xml b/media2/media2-common/lint-baseline.xml
index 34f7604..37d6a19 100644
--- a/media2/media2-common/lint-baseline.xml
+++ b/media2/media2-common/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ParcelImpl can only be accessed from within the same library (androidx.versionedparcelable:versionedparcelable)"
errorLine1=" return (ParcelImpl) ParcelUtils.toParcelable(item);"
errorLine2=" ~~~~~~~~~~">
@@ -11,6 +11,42 @@
</issue>
<issue
+ id="RestrictedApiAndroidX"
+ message="ParcelImpl can only be accessed from within the same library (androidx.versionedparcelable:versionedparcelable)"
+ errorLine1=" private static class MediaItemParcelImpl extends ParcelImpl {"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/media2/common/MediaParcelUtils.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ParcelImpl can only be called from within the same library (androidx.versionedparcelable:versionedparcelable)"
+ errorLine1=" super(new MediaItem(item));"
+ errorLine2=" ~~~~~">
+ <location
+ file="src/main/java/androidx/media2/common/MediaParcelUtils.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ParcelImpl can only be called from within the same library (androidx.versionedparcelable:versionedparcelable)"
+ errorLine1=" super(new MediaItem(item));"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/media2/common/MediaParcelUtils.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ParcelImpl.getVersionedParcel can only be called from within the same library (androidx.versionedparcelable:versionedparcelable)"
+ errorLine1=" public MediaItem getVersionedParcel() {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/media2/common/MediaParcelUtils.java"/>
+ </issue>
+
+ <issue
id="KotlinPropertyAccess"
message="This method should be called `getMediaItem` such that `mediaItem` can be accessed as a property from Kotlin; see https://android.github.io/kotlin-guides/interop.html#property-prefixes"
errorLine1=" public abstract MediaItem getCurrentMediaItem();"
diff --git a/media2/media2-session/lint-baseline.xml b/media2/media2-session/lint-baseline.xml
index da49040..089c752 100644
--- a/media2/media2-session/lint-baseline.xml
+++ b/media2/media2-session/lint-baseline.xml
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaBrowserServiceCompat.onSubscribe can only be called from within the same library (androidx.media:media)"
errorLine1=" public void onSubscribe(final String id, final Bundle option) {"
errorLine2=" ~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaBrowserServiceCompat.onUnsubscribe can only be called from within the same library (androidx.media:media)"
errorLine1=" public void onUnsubscribe(final String id) {"
errorLine2=" ~~~~~~~~~~~~~">
diff --git a/navigation/navigation-fragment/lint-baseline.xml b/navigation/navigation-fragment/lint-baseline.xml
index 69f70619..f8e3e41 100644
--- a/navigation/navigation-fragment/lint-baseline.xml
+++ b/navigation/navigation-fragment/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FragmentManager.isLoggingEnabled can only be called from within the same library (androidx.fragment:fragment)"
errorLine1=" if (FragmentManager.isLoggingEnabled(Log.VERBOSE)) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
diff --git a/paging/paging-runtime/lint-baseline.xml b/paging/paging-runtime/lint-baseline.xml
deleted file mode 100644
index 208e816..0000000
--- a/paging/paging-runtime/lint-baseline.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getMainThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" internal var mainThreadExecutor = ArchTaskExecutor.getMainThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/AsyncPagedListDiffer.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" fetchExecutor: Executor = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedList.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" fetchExecutor: Executor = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedList.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" fetchDispatcher: CoroutineDispatcher = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedList.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getMainThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" ArchTaskExecutor.getMainThreadExecutor().asCoroutineDispatcher(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedList.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" fetchDispatcher: CoroutineDispatcher = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedList.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getMainThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" ArchTaskExecutor.getMainThreadExecutor().asCoroutineDispatcher(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedList.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" private var fetchDispatcher = ArchTaskExecutor.getIOThreadExecutor().asCoroutineDispatcher()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedListBuilder.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getMainThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.paging`)"
- errorLine1=" ArchTaskExecutor.getMainThreadExecutor().asCoroutineDispatcher(),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/LivePagedListBuilder.kt"/>
- </issue>
-
-</issues>
diff --git a/room/integration-tests/kotlintestapp/lint-baseline.xml b/room/integration-tests/kotlintestapp/lint-baseline.xml
index e356edd..ccd47d1 100644
--- a/room/integration-tests/kotlintestapp/lint-baseline.xml
+++ b/room/integration-tests/kotlintestapp/lint-baseline.xml
@@ -64,31 +64,4 @@
file="src/androidTest/java/androidx/room/integration/kotlintestapp/test/Rx3PagingSourceTest.kt"/>
</issue>
- <issue
- id="RestrictedApi"
- message="CursorUtil.useCursor can only be called from within the same library group prefix (referenced groupId=`androidx.room` with prefix androidx from groupId=`androidx.room.integration-tests`)"
- errorLine1=" getUsers().useCursor {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/androidTestWithKspGenJava/java/androidx/room/integration/kotlintestapp/NullabilityAwareTypeConversionTest.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="CursorUtil.useCursor can only be called from within the same library group prefix (referenced groupId=`androidx.room` with prefix androidx from groupId=`androidx.room.integration-tests`)"
- errorLine1=" getUsers().useCursor {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/androidTestWithKspGenJava/java/androidx/room/integration/kotlintestapp/NullabilityAwareTypeConversionTest.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="CursorUtil.useCursor can only be called from within the same library group prefix (referenced groupId=`androidx.room` with prefix androidx from groupId=`androidx.room.integration-tests`)"
- errorLine1=" getUsers().useCursor {"
- errorLine2=" ^">
- <location
- file="src/androidTestWithKspGenJava/java/androidx/room/integration/kotlintestapp/NullabilityAwareTypeConversionTest.kt"/>
- </issue>
-
</issues>
diff --git a/room/room-guava/lint-baseline.xml b/room/room-guava/lint-baseline.xml
index 02cd583..4e529ae 100644
--- a/room/room-guava/lint-baseline.xml
+++ b/room/room-guava/lint-baseline.xml
@@ -1,5 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Api16Impl.cancel can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
+ errorLine1=" SupportSQLiteCompat.Api16Impl.cancel(cancellationSignal);"
+ errorLine2=" ~~~~~~">
+ <location
+ file="src/main/java/androidx/room/guava/GuavaRoom.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="Api16Impl.cancel can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
+ errorLine1=" SupportSQLiteCompat.Api16Impl.cancel(cancellationSignal);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/room/guava/GuavaRoom.java"/>
+ </issue>
<issue
id="UnknownNullness"
diff --git a/room/room-ktx/lint-baseline.xml b/room/room-ktx/lint-baseline.xml
index ff52e62..99873f6 100644
--- a/room/room-ktx/lint-baseline.xml
+++ b/room/room-ktx/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api16Impl.cancel can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api16Impl.cancel(cancellationSignal)"
errorLine2=" ~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api16Impl.cancel can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api16Impl.cancel(cancellationSignal)"
errorLine2=" ~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api16Impl.cancel can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api16Impl.cancel(cancellationSignal)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api16Impl.cancel can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api16Impl.cancel(cancellationSignal)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
diff --git a/room/room-runtime/lint-baseline.xml b/room/room-runtime/lint-baseline.xml
index 1998151..c295a53 100644
--- a/room/room-runtime/lint-baseline.xml
+++ b/room/room-runtime/lint-baseline.xml
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)"
errorLine2=" ~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)"
errorLine2=" ~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api29Impl.setNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api29Impl.setNotificationUris(delegate, cr, uris)"
errorLine2=" ~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api19Impl.getNotificationUri can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" return SupportSQLiteCompat.Api19Impl.getNotificationUri(delegate)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api19Impl.getNotificationUri can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" return SupportSQLiteCompat.Api19Impl.getNotificationUri(delegate)"
errorLine2=" ~~~~~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api29Impl.getNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" return SupportSQLiteCompat.Api29Impl.getNotificationUris(delegate)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api29Impl.getNotificationUris can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" return SupportSQLiteCompat.Api29Impl.getNotificationUris(delegate)"
errorLine2=" ~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api23Impl.setExtras can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api23Impl.setExtras(delegate, extras)"
errorLine2=" ~~~~~~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api23Impl.setExtras can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api23Impl.setExtras(delegate, extras)"
errorLine2=" ~~~~~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api23Impl.setExtras can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api23Impl.setExtras(delegate, extras)"
errorLine2=" ~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api16Impl.createCancellationSignal can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api16Impl.createCancellationSignal()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -272,16 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="SafeIterableMap can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.room`)"
- errorLine1=" internal val observerMap = SafeIterableMap<Observer, ObserverWrapper>()"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/InvalidationTracker.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api19Impl.isLowRamDevice can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api19Impl.isLowRamDevice(activityManager)"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -290,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Api19Impl.isLowRamDevice can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" SupportSQLiteCompat.Api19Impl.isLowRamDevice(activityManager)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -299,16 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="ArchTaskExecutor.getIOThreadExecutor can only be called from within the same library group prefix (referenced groupId=`androidx.arch.core` with prefix androidx.arch from groupId=`androidx.room`)"
- errorLine1=" transactionExecutor = ArchTaskExecutor.getIOThreadExecutor()"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/RoomDatabase.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProcessLock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" val copyLock = ProcessLock("
errorLine2=" ~~~~~~~~~~~">
@@ -317,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProcessLock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" name,"
errorLine2=" ~~~~">
@@ -326,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProcessLock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" context.filesDir,"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -335,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProcessLock.lock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" copyLock.lock()"
errorLine2=" ~~~~">
@@ -344,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProcessLock.unlock can only be called from within the same library group (referenced groupId=`androidx.sqlite` from groupId=`androidx.room`)"
errorLine1=" copyLock.unlock()"
errorLine2=" ~~~~~~">
diff --git a/samples/AndroidXDemos/lint-baseline.xml b/samples/AndroidXDemos/lint-baseline.xml
index 756fa6d..0866c46 100644
--- a/samples/AndroidXDemos/lint-baseline.xml
+++ b/samples/AndroidXDemos/lint-baseline.xml
@@ -338,7 +338,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx`)"
errorLine1=" checkArgument(selectionTracker != null);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -347,7 +347,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx`)"
errorLine1=" checkArgument(selectionTracker != null);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -356,7 +356,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx`)"
errorLine1=" checkArgument(tracker != null);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -365,7 +365,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SelectionObserver.onSelectionCleared can only be called from within the same library (androidx.recyclerview:recyclerview-selection)"
errorLine1=" public void onSelectionCleared() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -374,7 +374,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx`)"
errorLine1=" Preconditions.checkArgument(group != null);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -383,7 +383,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkArgument can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx`)"
errorLine1=" Preconditions.checkArgument(isCheese(uri));"
errorLine2=" ~~~~~~~~~~~~~">
diff --git a/samples/MediaRoutingDemo/lint-baseline.xml b/samples/MediaRoutingDemo/lint-baseline.xml
index 35e82c3..96b93f7 100644
--- a/samples/MediaRoutingDemo/lint-baseline.xml
+++ b/samples/MediaRoutingDemo/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-beta01" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-beta01)" variant="all" version="8.2.0-beta01">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RouteInfo.isDefaultOrBluetooth can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" if (!routeInfo.isDefaultOrBluetooth()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RouteInfo.DEVICE_TYPE_BLUETOOTH can only be accessed from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" BLUETOOTH(MediaRouter.RouteInfo.DEVICE_TYPE_BLUETOOTH),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="RouteInfo.DEVICE_TYPE_UNKNOWN can only be accessed from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" UNKNOWN(MediaRouter.RouteInfo.DEVICE_TYPE_UNKNOWN);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteProvider.onCreateRouteController can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" public RouteController onCreateRouteController(@NonNull String routeId,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" if (initialRoute.getGroupMemberIds().isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" memberIds.addAll(initialRoute.getGroupMemberIds());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" .addGroupMemberIds(memberIds);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" for (String memberRouteId : routeDescriptor.getGroupMemberIds()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.clearGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" .clearGroupMemberIds();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addGroupMemberId can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" groupDescriptorBuilder.addGroupMemberId(memberRouteId);"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" if (!routeDescriptor.getGroupMemberIds().isEmpty()"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" && mMemberRouteIds.containsAll(routeDescriptor.getGroupMemberIds())) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" if (routeDescriptor.getGroupMemberIds().isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaRouteDescriptor.getGroupMemberIds can only be called from within the same library (androidx.mediarouter:mediarouter)"
errorLine1=" for (String routeId : routeDescriptor.getGroupMemberIds()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
diff --git a/samples/SupportEmojiDemos/lint-baseline.xml b/samples/SupportEmojiDemos/lint-baseline.xml
index 747d878..67b1517 100644
--- a/samples/SupportEmojiDemos/lint-baseline.xml
+++ b/samples/SupportEmojiDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="BanSynchronizedMethods"
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmojiCompat.reset can only be called from within the same library (androidx.emoji2:emoji2)"
errorLine1=" EmojiCompat.reset(config);"
errorLine2=" ~~~~~">
diff --git a/samples/SupportLeanbackDemos/lint-baseline.xml b/samples/SupportLeanbackDemos/lint-baseline.xml
index bee5f2e..213e53b 100644
--- a/samples/SupportLeanbackDemos/lint-baseline.xml
+++ b/samples/SupportLeanbackDemos/lint-baseline.xml
@@ -596,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GuidedStepFragment.SLIDE_FROM_BOTTOM can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -605,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GuidedStepFragment.setEntranceTransitionType can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -614,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GuidedStepSupportFragment.SLIDE_FROM_BOTTOM can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepSupportFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -623,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="GuidedStepSupportFragment.setEntranceTransitionType can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepSupportFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -632,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" MediaPlayerGlue mediaPlayerGlue = new MediaPlayerGlue(getActivity());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -641,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.REPEAT_ONE can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE);"
errorLine2=" ~~~~~~~~~~">
@@ -650,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setMode can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE);"
errorLine2=" ~~~~~~~">
@@ -659,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setArtist can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setArtist("A Googler");"
errorLine2=" ~~~~~~~~~">
@@ -668,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setTitle can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setTitle("Diving with Sharks Trailer");"
errorLine2=" ~~~~~~~~">
@@ -677,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setMediaSource can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMediaSource(Uri.parse("android.resource://com.example.android.leanback/""
errorLine2=" ~~~~~~~~~~~~~~">
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" MediaPlayerGlue mediaPlayerGlue = new MediaPlayerGlue(getActivity());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.REPEAT_ONE can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE);"
errorLine2=" ~~~~~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setMode can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE);"
errorLine2=" ~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setArtist can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setArtist("A Googler");"
errorLine2=" ~~~~~~~~~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setTitle can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setTitle("Diving with Sharks Trailer");"
errorLine2=" ~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MediaPlayerGlue.setMediaSource can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMediaSource(Uri.parse("android.resource://com.example.android.leanback/""
errorLine2=" ~~~~~~~~~~~~~~">
diff --git a/samples/SupportSliceDemos/lint-baseline.xml b/samples/SupportSliceDemos/lint-baseline.xml
index 1a9fe29..9f29484 100644
--- a/samples/SupportSliceDemos/lint-baseline.xml
+++ b/samples/SupportSliceDemos/lint-baseline.xml
@@ -1,5 +1,167 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ListContent can only be called from within the same library (androidx.slice:slice-view)"
+ errorLine1=" ListContent content = new ListContent(loadedSlice);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ListContent can only be called from within the same library (androidx.slice:slice-view)"
+ errorLine1=" ListContent content = new ListContent(loadedSlice);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ListContent.getHeader can only be called from within the same library (androidx.slice:slice-view)"
+ errorLine1=" SliceItem headerItem = content.getHeader() != null"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="ListContent.getHeader can only be called from within the same library (androidx.slice:slice-view)"
+ errorLine1=" ? content.getHeader().getSliceItem() : null;"
+ errorLine2=" ~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceContent.getSliceItem can only be called from within the same library (androidx.slice:slice-view)"
+ errorLine1=" ? content.getHeader().getSliceItem() : null;"
+ errorLine2=" ~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" SliceItem title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_TITLE, null);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" SliceItem title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_TITLE, null);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" SliceItem title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_TITLE, null);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" SliceItem title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_TITLE, null);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" SliceItem title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_TITLE, null);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_LARGE, null);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_LARGE, null);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_LARGE, null);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_LARGE, null);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT, HINT_LARGE, null);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT);"
+ errorLine2=" ~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT);"
+ errorLine2=" ~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="SliceQuery.find can only be called from within the same library group prefix (referenced groupId=`androidx.slice` with prefix androidx from groupId=`androidx`)"
+ errorLine1=" title = SliceQuery.find(headerItem, FORMAT_TEXT);"
+ errorLine2=" ~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
+ </issue>
<issue
id="UnknownNullness"
diff --git a/testutils/testutils-espresso/lint-baseline.xml b/testutils/testutils-espresso/lint-baseline.xml
index 806832a..d8f96fd 100644
--- a/testutils/testutils-espresso/lint-baseline.xml
+++ b/testutils/testutils-espresso/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="UiThreadStatement.runOnUiThread can only be called from within the same library (androidx.test:runner)"
errorLine1=" if (requestLayout) UiThreadStatement.runOnUiThread { requestLayout() }"
errorLine2=" ~~~~~~~~~~~~~">
diff --git a/testutils/testutils-macrobenchmark/lint-baseline.xml b/testutils/testutils-macrobenchmark/lint-baseline.xml
index 814f280..9a090d91 100644
--- a/testutils/testutils-macrobenchmark/lint-baseline.xml
+++ b/testutils/testutils-macrobenchmark/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CompilationModeKt.isSupportedWithVmSettings can only be called from within the same library group prefix (referenced groupId=`androidx.benchmark` with prefix androidx from groupId=`androidx`)"
errorLine1=" if (compilationMode.isSupportedWithVmSettings()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="CompilationModeKt.isSupportedWithVmSettings can only be called from within the same library group prefix (referenced groupId=`androidx.benchmark` with prefix androidx from groupId=`androidx`)"
errorLine1=" if (compilationMode.isSupportedWithVmSettings()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
diff --git a/text/text/lint-baseline.xml b/text/text/lint-baseline.xml
deleted file mode 100644
index 7bcb892..0000000
--- a/text/text/lint-baseline.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="BanInlineOptIn"
- message="Inline functions cannot opt into experimental APIs."
- errorLine1="internal inline fun <T> List<T>.fastForEach(action: (T) -> Unit) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/text/android/TempListUtils.kt"/>
- </issue>
-
- <issue
- id="BanInlineOptIn"
- message="Inline functions cannot opt into experimental APIs."
- errorLine1="internal inline fun <T, R, C : MutableCollection<in R>> List<T>.fastMapTo("
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/text/android/TempListUtils.kt"/>
- </issue>
-
- <issue
- id="BanInlineOptIn"
- message="Inline functions cannot opt into experimental APIs."
- errorLine1="internal inline fun <T, R> List<T>.fastZipWithNext(transform: (T, T) -> R): List<R> {"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/compose/ui/text/android/TempListUtils.kt"/>
- </issue>
-
-</issues>
diff --git a/text/text/src/main/java/androidx/compose/ui/text/android/TempListUtils.kt b/text/text/src/main/java/androidx/compose/ui/text/android/ListUtils.kt
similarity index 97%
rename from text/text/src/main/java/androidx/compose/ui/text/android/TempListUtils.kt
rename to text/text/src/main/java/androidx/compose/ui/text/android/ListUtils.kt
index 982d05c..16946ed 100644
--- a/text/text/src/main/java/androidx/compose/ui/text/android/TempListUtils.kt
+++ b/text/text/src/main/java/androidx/compose/ui/text/android/ListUtils.kt
@@ -19,8 +19,6 @@
import kotlin.contracts.ExperimentalContracts
import kotlin.contracts.contract
-// TODO: remove these when we can add new APIs to ui-util outside of beta cycle
-
/**
* Iterates through a [List] using the index and calls [action] for each item.
* This does not allocate an iterator like [Iterable.forEach].
@@ -29,6 +27,7 @@
* access in an efficient way, and this method may actually be a lot slower. Only use for
* collections that are created by code we control and are known to support random access.
*/
+@Suppress("BanInlineOptIn")
@OptIn(ExperimentalContracts::class)
internal inline fun <T> List<T>.fastForEach(action: (T) -> Unit) {
contract { callsInPlace(action) }
@@ -46,6 +45,7 @@
* access in an efficient way, and this method may actually be a lot slower. Only use for
* collections that are created by code we control and are known to support random access.
*/
+@Suppress("BanInlineOptIn")
@OptIn(ExperimentalContracts::class)
internal inline fun <T, R, C : MutableCollection<in R>> List<T>.fastMapTo(
destination: C,
@@ -68,6 +68,7 @@
* access in an efficient way, and this method may actually be a lot slower. Only use for
* collections that are created by code we control and are known to support random access.
*/
+@Suppress("BanInlineOptIn")
@OptIn(ExperimentalContracts::class)
internal inline fun <T, R> List<T>.fastZipWithNext(transform: (T, T) -> R): List<R> {
contract { callsInPlace(transform) }
diff --git a/transition/transition/lint-baseline.xml b/transition/transition/lint-baseline.xml
index 0e4b999..fba6654 100644
--- a/transition/transition/lint-baseline.xml
+++ b/transition/transition/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="ResourceType"
@@ -217,4 +217,13 @@
file="src/main/java/androidx/transition/Styleable.java"/>
</issue>
+ <issue
+ id="RestrictedApiAndroidX"
+ message="PathParser.createPathFromPathData can only be called from within the same library (androidx.core:core)"
+ errorLine1=" Path pattern = PathParser.createPathFromPathData(pathData);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/transition/PatternPathMotion.java"/>
+ </issue>
+
</issues>
diff --git a/tv/tv-foundation/build.gradle b/tv/tv-foundation/build.gradle
index 96e8a5e..d99a8ab 100644
--- a/tv/tv-foundation/build.gradle
+++ b/tv/tv-foundation/build.gradle
@@ -40,11 +40,11 @@
api("androidx.compose.runtime:runtime:$composeVersion")
api(project(":compose:foundation:foundation"))
+ api(project(":compose:ui:ui-util"))
api("androidx.compose.ui:ui:$composeVersion")
api("androidx.compose.foundation:foundation-layout:$composeVersion")
api("androidx.compose.ui:ui-graphics:$composeVersion")
api("androidx.compose.ui:ui-text:$composeVersion")
- api("androidx.compose.ui:ui-util:$composeVersion")
androidTestImplementation(libs.truth)
androidTestImplementation(project(":compose:runtime:runtime"))
diff --git a/tv/tv-material/lint-baseline.xml b/tv/tv-material/lint-baseline.xml
index 5087d0f..68659db 100644
--- a/tv/tv-material/lint-baseline.xml
+++ b/tv/tv-material/lint-baseline.xml
@@ -1,50 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabMeasurables.map { it.measure(constraints.copy(minWidth = 0, minHeight = 0)) }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/tv/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" separatorMeasurables.map {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/tv/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" (tabMeasurables.maxOfOrNull { it.maxIntrinsicHeight(Constraints.Infinity) } ?: 0)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/tv/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" tabPlaceables.forEachIndexed { index, tabPlaceable ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/tv/material3/TabRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/tv/material3/TabRow.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta05" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta05)" variant="all" version="8.1.0-beta05">
<issue
id="PrimitiveInLambda"
diff --git a/tv/tv-material/src/main/java/androidx/tv/material3/TabRow.kt b/tv/tv-material/src/main/java/androidx/tv/material3/TabRow.kt
index 7fb80c5..a76a111 100644
--- a/tv/tv-material/src/main/java/androidx/tv/material3/TabRow.kt
+++ b/tv/tv-material/src/main/java/androidx/tv/material3/TabRow.kt
@@ -49,6 +49,10 @@
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.height
import androidx.compose.ui.unit.width
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMaxOfOrNull
import androidx.compose.ui.zIndex
/**
@@ -119,7 +123,7 @@
// Tab placeables
val tabPlaceables =
- tabMeasurables.map { it.measure(constraints.copy(minWidth = 0, minHeight = 0)) }
+ tabMeasurables.fastMap { it.measure(constraints.copy(minWidth = 0, minHeight = 0)) }
val tabsCount = tabMeasurables.size
val separatorsCount = tabsCount - 1
@@ -127,7 +131,7 @@
val separators = @Composable { repeat(separatorsCount) { separator() } }
val separatorMeasurables = subcompose(TabRowSlots.Separator, separators)
val separatorPlaceables =
- separatorMeasurables.map {
+ separatorMeasurables.fastMap {
it.measure(
constraints.copy(
minWidth = 0,
@@ -138,9 +142,9 @@
val separatorWidth = separatorPlaceables.firstOrNull()?.width ?: 0
val layoutWidth = tabPlaceables.sumOf { it.width } + separatorsCount * separatorWidth
- val layoutHeight =
- (tabMeasurables.maxOfOrNull { it.maxIntrinsicHeight(Constraints.Infinity) } ?: 0)
- .coerceAtLeast(0)
+ val layoutHeight = (tabMeasurables.fastMaxOfOrNull {
+ it.maxIntrinsicHeight(Constraints.Infinity)
+ } ?: 0).coerceAtLeast(0)
// Position the children
layout(layoutWidth, layoutHeight) {
@@ -148,7 +152,7 @@
// Place the tabs
val tabPositions = mutableListOf<DpRect>()
var left = 0
- tabPlaceables.forEachIndexed { index, tabPlaceable ->
+ tabPlaceables.fastForEachIndexed { index, tabPlaceable ->
// place the tab
tabPlaceable.placeRelative(left, 0)
@@ -172,7 +176,7 @@
subcompose(TabRowSlots.Indicator) {
indicator(tabPositions, isActivated)
}
- .forEach {
+ .fastForEach {
it.measure(Constraints.fixed(layoutWidth, layoutHeight)).placeRelative(0, 0)
}
}
diff --git a/wear/compose/compose-foundation/lint-baseline.xml b/wear/compose/compose-foundation/lint-baseline.xml
index 3557074..83c5cbf 100644
--- a/wear/compose/compose-foundation/lint-baseline.xml
+++ b/wear/compose/compose-foundation/lint-baseline.xml
@@ -1,284 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.maxOfOrNull { it.estimateThickness(maxRadius) } ?: 0f"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedBox.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val maxSweep = children.maxOfOrNull { child ->"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedBox.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEach { child ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedBox.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" maxRadius - children.fold(maxRadius) { currentMaxRadius, node ->"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val weights = childrenInLayoutOrder.map { node ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val extraSpace = parentThickness - childrenInLayoutOrder.mapIndexed { ix, node ->"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" childrenInLayoutOrder.forEachIndexed { ix, node ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" var maxSweep = childrenInLayoutOrder.maxOfOrNull { it.sweepRadians } ?: 0f"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEach { child ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" ) = children.forEach { node ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" override fun DrawScope.draw() = children.forEach { with(it) { draw() } }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.forEach { with(it) { placeIfNeeded() } }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.reversed().toTypedArray()),"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedDraw.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" }.sortedBy { it.first }"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedDraw.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" children.maxOfOrNull { it.estimateThickness(maxRadius) } ?: 0f"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" var totalSweep = children.sumOf { child ->"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val weights = childrenInLayoutOrder.map { node ->"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val extraSpace = parentSweepRadians - childrenInLayoutOrder.mapIndexed { ix, node ->"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" childrenInLayoutOrder.forEachIndexed { ix, node ->"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/CurvedRow.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeables = measurables.map { it.measure(constraints) }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/Expandable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val currentItem = items.find { it.index == index }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { animationState.value + it.unadjustedOffset + snapOffset }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumnSnapFlingBehavior.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .minByOrNull { abs(it - decayTarget) } ?: decayTarget)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumnSnapFlingBehavior.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.find { it.index == itemIndexToFind }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.map {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.find { it.index == itemIndexToFind }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.map {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return this.visibleItemsInfo.find { it.index == index }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItemsInfo.forEach { totalSize += it.unadjustedSize }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" awaitPointerEvent(PointerEventPass.Initial).changes.forEach { change ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/foundation/SwipeToDismissBox.kt"/>
- </issue>
+<issues format="6" by="lint 8.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.0-beta02)" variant="all" version="8.1.0-beta02">
<issue
id="PrimitiveInLambda"
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedBox.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedBox.kt
index 71d9aa0..a360536 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedBox.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedBox.kt
@@ -18,6 +18,8 @@
import androidx.compose.foundation.layout.Box
import androidx.compose.ui.geometry.Offset
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMaxOfOrNull
/**
* A layout composable that places its children on top of each other and on an arc. This is
@@ -67,14 +69,14 @@
) : ContainerChild(curvedLayoutDirection, reverseLayout = false, contentBuilder) {
override fun doEstimateThickness(maxRadius: Float) =
- children.maxOfOrNull { it.estimateThickness(maxRadius) } ?: 0f
+ children.fastMaxOfOrNull { it.estimateThickness(maxRadius) } ?: 0f
override fun doRadialPosition(
parentOuterRadius: Float,
parentThickness: Float,
): PartialLayoutInfo {
// position children, take max sweep.
- val maxSweep = children.maxOfOrNull { child ->
+ val maxSweep = children.fastMaxOfOrNull { child ->
var childRadialPosition = parentOuterRadius
var childThickness = parentThickness
if (radialAlignment != null) {
@@ -102,7 +104,7 @@
parentSweepRadians: Float,
centerOffset: Offset
): Float {
- children.forEach { child ->
+ children.fastForEach { child ->
var childAngularPosition = parentStartAngleRadians
var childSweep = parentSweepRadians
if (angularAlignment != null) {
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt
index 2980e45..825a3ee 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedColumn.kt
@@ -18,6 +18,12 @@
import androidx.compose.foundation.layout.Column
import androidx.compose.ui.geometry.Offset
+import androidx.compose.ui.util.fastFold
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMapIndexed
+import androidx.compose.ui.util.fastMaxOfOrNull
/**
* A curved layout composable that places its children stacked as part of an arc (the first child
@@ -59,7 +65,7 @@
contentBuilder: CurvedScope.() -> Unit
) : ContainerChild(curvedLayoutDirection, !curvedLayoutDirection.outsideIn(), contentBuilder) {
override fun doEstimateThickness(maxRadius: Float): Float =
- maxRadius - children.fold(maxRadius) { currentMaxRadius, node ->
+ maxRadius - children.fastFold(maxRadius) { currentMaxRadius, node ->
currentMaxRadius - node.estimateThickness(currentMaxRadius)
}
@@ -68,11 +74,11 @@
parentThickness: Float,
): PartialLayoutInfo {
// Compute space used by weighted children and space left
- val weights = childrenInLayoutOrder.map { node ->
+ val weights = childrenInLayoutOrder.fastMap { node ->
(node.computeParentData() as? CurvedScopeParentData)?.weight ?: 0f
}
val sumWeights = weights.sum()
- val extraSpace = parentThickness - childrenInLayoutOrder.mapIndexed { ix, node ->
+ val extraSpace = parentThickness - childrenInLayoutOrder.fastMapIndexed { ix, node ->
if (weights[ix] == 0f) {
node.estimatedThickness
} else {
@@ -82,7 +88,7 @@
// position children
var outerRadius = parentOuterRadius
- childrenInLayoutOrder.forEachIndexed { ix, node ->
+ childrenInLayoutOrder.fastForEachIndexed { ix, node ->
val actualThickness = if (weights[ix] > 0f) {
extraSpace * weights[ix] / sumWeights
} else {
@@ -95,7 +101,7 @@
)
outerRadius -= actualThickness
}
- var maxSweep = childrenInLayoutOrder.maxOfOrNull { it.sweepRadians } ?: 0f
+ var maxSweep = childrenInLayoutOrder.fastMaxOfOrNull { it.sweepRadians } ?: 0f
return PartialLayoutInfo(
maxSweep,
@@ -110,7 +116,7 @@
parentSweepRadians: Float,
centerOffset: Offset
): Float {
- children.forEach { child ->
+ children.fastForEach { child ->
var childAngularPosition = parentStartAngleRadians
var childSweep = parentSweepRadians
if (angularAlignment != null) {
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt
index 5a6622e..32e7a1f 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedContainer.kt
@@ -21,6 +21,7 @@
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.layout.Measurable
import androidx.compose.ui.layout.Placeable
+import androidx.compose.ui.util.fastForEach
/**
* Layout scope used for curved containers.
@@ -53,14 +54,14 @@
@Composable
override fun SubComposition() {
- children.forEach {
+ children.fastForEach {
it.SubComposition()
}
}
override fun CurvedMeasureScope.initializeMeasure(
measurables: Iterator<Measurable>
- ) = children.forEach { node ->
+ ) = children.fastForEach { node ->
with(CurvedMeasureScope(
subDensity = this,
curvedContainerScope.curvedLayoutDirection,
@@ -72,9 +73,9 @@
}
}
- override fun DrawScope.draw() = children.forEach { with(it) { draw() } }
+ override fun DrawScope.draw() = children.fastForEach { with(it) { draw() } }
override fun (Placeable.PlacementScope).placeIfNeeded() {
- children.forEach { with(it) { placeIfNeeded() } }
+ children.fastForEach { with(it) { placeIfNeeded() } }
}
}
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedDraw.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedDraw.kt
index 28421be..c9ad3fb 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedDraw.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedDraw.kt
@@ -53,6 +53,7 @@
cap: StrokeCap = StrokeCap.Butt
) = background(cap) { layoutInfo ->
val radiusRatio = layoutInfo.innerRadius / layoutInfo.outerRadius
+ @Suppress("ListIterator")
Brush.radialGradient(
*(colorStops.map { (step, color) ->
1f - step * (1f - radiusRatio) to color
@@ -89,6 +90,7 @@
vararg colorStops: Pair<Float, Color>,
cap: StrokeCap = StrokeCap.Butt
) = background(cap) { layoutInfo ->
+ @Suppress("ListIterator")
val actualStops = colorStops.map { (step, color) ->
(layoutInfo.startAngleRadians + layoutInfo.sweepRadians * step) /
(2 * PI).toFloat() to color
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedRow.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedRow.kt
index af2d5f2..f4fa3ca 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedRow.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/CurvedRow.kt
@@ -18,6 +18,10 @@
import androidx.compose.foundation.layout.Row
import androidx.compose.ui.geometry.Offset
+import androidx.compose.ui.util.fastForEachIndexed
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMapIndexed
+import androidx.compose.ui.util.fastMaxOfOrNull
/**
* A layout composable that places its children in an arc, rotating them as needed. This is
@@ -60,13 +64,14 @@
) : ContainerChild(curvedLayoutDirection, !curvedLayoutDirection.clockwise(), contentBuilder) {
override fun doEstimateThickness(maxRadius: Float) =
- children.maxOfOrNull { it.estimateThickness(maxRadius) } ?: 0f
+ children.fastMaxOfOrNull { it.estimateThickness(maxRadius) } ?: 0f
override fun doRadialPosition(
parentOuterRadius: Float,
parentThickness: Float,
): PartialLayoutInfo {
// position children, sum angles.
+ @Suppress("ListIterator")
var totalSweep = children.sumOf { child ->
var childRadialPosition = parentOuterRadius
var childThickness = parentThickness
@@ -96,11 +101,11 @@
parentSweepRadians: Float,
centerOffset: Offset
): Float {
- val weights = childrenInLayoutOrder.map { node ->
+ val weights = childrenInLayoutOrder.fastMap { node ->
(node.computeParentData() as? CurvedScopeParentData)?.weight ?: 0f
}
val sumWeights = weights.sum()
- val extraSpace = parentSweepRadians - childrenInLayoutOrder.mapIndexed { ix, node ->
+ val extraSpace = parentSweepRadians - childrenInLayoutOrder.fastMapIndexed { ix, node ->
if (weights[ix] == 0f) {
node.sweepRadians
} else {
@@ -109,7 +114,7 @@
}.sum()
var currentStartAngle = parentStartAngleRadians
- childrenInLayoutOrder.forEachIndexed { ix, node ->
+ childrenInLayoutOrder.fastForEachIndexed { ix, node ->
val actualSweep = if (weights[ix] > 0f) {
extraSpace * weights[ix] / sumWeights
} else {
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/Expandable.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/Expandable.kt
index 20ebcae..92117e1 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/Expandable.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/Expandable.kt
@@ -28,6 +28,7 @@
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clipToBounds
import androidx.compose.ui.layout.Layout
+import androidx.compose.ui.util.fastMap
import androidx.compose.ui.util.lerp
import androidx.wear.compose.foundation.lazy.ScalingLazyListScope
import kotlin.math.roundToInt
@@ -189,7 +190,7 @@
},
modifier = Modifier.clipToBounds()
) { measurables, constraints ->
- val placeables = measurables.map { it.measure(constraints) }
+ val placeables = measurables.fastMap { it.measure(constraints) }
val width = lerp(placeables[0].width, placeables[1].width, progress)
val height = lerp(placeables[0].height, placeables[1].height, progress)
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/SwipeToDismissBox.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/SwipeToDismissBox.kt
index f4e9c56..c1c7213 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/SwipeToDismissBox.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/SwipeToDismissBox.kt
@@ -53,6 +53,7 @@
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.Velocity
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastForEach
import androidx.compose.ui.util.lerp
import kotlin.math.max
import kotlin.math.min
@@ -494,7 +495,7 @@
coroutineScope {
awaitPointerEventScope {
while (isActive) {
- awaitPointerEvent(PointerEventPass.Initial).changes.forEach { change ->
+ awaitPointerEvent(PointerEventPass.Initial).changes.fastForEach { change ->
// By default swipeState is WaitingForTouch.
// If it is in this state and a first touch hit an edge area, we
// set swipeState to EdgeClickedWaitingForDirection.
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumn.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumn.kt
index 51ca1f9..843150a 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumn.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumn.kt
@@ -56,6 +56,7 @@
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.wear.compose.foundation.ExperimentalWearFoundationApi
import androidx.wear.compose.foundation.LocalReduceMotion
@@ -655,7 +656,7 @@
val reverseLayout = state.reverseLayout.value!!
val anchorType = state.anchorType.value!!
val items = state.layoutInfo.internalVisibleItemInfo()
- val currentItem = items.find { it.index == index }
+ val currentItem = items.fastFirstOrNull { it.index == index }
if (currentItem != null) {
alpha = currentItem.alpha
scaleX = currentItem.scale
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumnSnapFlingBehavior.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumnSnapFlingBehavior.kt
index 8b20123..3245cf7 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumnSnapFlingBehavior.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyColumnSnapFlingBehavior.kt
@@ -26,6 +26,8 @@
import androidx.compose.animation.core.tween
import androidx.compose.foundation.gestures.FlingBehavior
import androidx.compose.foundation.gestures.ScrollScope
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.abs
import kotlin.math.roundToInt
@@ -76,8 +78,8 @@
// to the original target. Note that the target may be off-screen, in that case we
// will land on the last visible item in that direction.
(state.layoutInfo.visibleItemsInfo
- .map { animationState.value + it.unadjustedOffset + snapOffset }
- .minByOrNull { abs(it - decayTarget) } ?: decayTarget)
+ .fastMap { animationState.value + it.unadjustedOffset + snapOffset }
+ .fastMinByOrNull { abs(it - decayTarget) } ?: decayTarget)
}
} else {
// Not a fling, just snap to the current item.
diff --git a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt
index 9241dd6..0711517 100644
--- a/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt
+++ b/wear/compose/compose-foundation/src/main/java/androidx/wear/compose/foundation/lazy/ScalingLazyListState.kt
@@ -32,6 +32,9 @@
import androidx.compose.runtime.saveable.listSaver
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.ui.unit.IntSize
+import androidx.compose.ui.util.fastFirstOrNull
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import kotlin.math.roundToInt
/**
@@ -554,14 +557,14 @@
// we have more than enough content before it to make sure it can be scrolled to the center
// of the viewport
val initialCenterItem =
- visibleItems.find { it.index == itemIndexToFind }
+ visibleItems.fastFirstOrNull { it.index == itemIndexToFind }
// Determine how much space we actually need
var spaceNeeded = spaceNeeded(initialCenterItem)
if (spaceNeeded > 0f) {
// Now see how much content we already have
- visibleItems.map {
+ visibleItems.fastMap {
if (it.index < itemIndexToFind) {
// Reduce the space needed
spaceNeeded = spaceNeeded - gapBetweenItemsPx.value!! - it.unadjustedSize
@@ -593,14 +596,14 @@
// we have more than enough content before it to make sure it can be scrolled to the center
// of the viewport
val initialCenterItem =
- visibleItems.find { it.index == itemIndexToFind }
+ visibleItems.fastFirstOrNull { it.index == itemIndexToFind }
// Determine how much space we actually need
var spaceNeeded = spaceNeeded(initialCenterItem)
if (spaceNeeded > 0f) {
// Now see how much content we already have
- visibleItems.map {
+ visibleItems.fastMap {
if (it.index != 0 && it.index < itemIndexToFind) {
// Reduce the space needed
spaceNeeded = spaceNeeded - gapBetweenItemsPx.value!! - it.size
@@ -679,7 +682,7 @@
}
private fun LazyListLayoutInfo.findItemInfoWithIndex(index: Int): LazyListItemInfo? {
- return this.visibleItemsInfo.find { it.index == index }
+ return this.visibleItemsInfo.fastFirstOrNull { it.index == index }
}
private suspend fun LazyListState.scrollToItem(animated: Boolean, index: Int, offset: Int) {
@@ -688,7 +691,7 @@
private fun ScalingLazyListLayoutInfo.averageUnadjustedItemSize(): Int {
var totalSize = 0
- visibleItemsInfo.forEach { totalSize += it.unadjustedSize }
+ visibleItemsInfo.fastForEach { totalSize += it.unadjustedSize }
return if (visibleItemsInfo.isNotEmpty())
(totalSize.toFloat() / visibleItemsInfo.size).roundToInt()
else 0
diff --git a/wear/compose/compose-material/lint-baseline.xml b/wear/compose/compose-material/lint-baseline.xml
index 11bfe8a..3ebc76a 100644
--- a/wear/compose/compose-material/lint-baseline.xml
+++ b/wear/compose/compose-material/lint-baseline.xml
@@ -1,176 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.find { info ->"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/Picker.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val placeables = measurables.map { it.measure(constraints) }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/PickerGroup.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" placeables.forEach {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/PickerGroup.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" placeables.forEach { p ->"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/PickerGroup.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val maxChildrenHeight = placeables.maxOf { it.height }"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/PickerGroup.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val currentItem = items.find { it.index == index }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyColumn.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .map { animationState.value + it.unadjustedOffset + snapOffset }"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" .minByOrNull { abs(it - decayTarget) } ?: decayTarget)"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.find { it.index == itemIndexToFind }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.map {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.find { it.index == itemIndexToFind }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItems.map {"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" return this.visibleItemsInfo.find { it.index == index }"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" visibleItemsInfo.forEach { totalSize += it.unadjustedSize }"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" yPx = scrollState.layoutInfo.visibleItemsInfo.find { it.index == itemIndex }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScrollAway.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" yPx = scrollState.layoutInfo.visibleItemsInfo.find { it.index == itemIndex }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScrollAway.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" yPx = scrollState.layoutInfo.visibleItemsInfo.find { it.index == itemIndex }?.let {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/ScrollAway.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/Swipeable.kt"/>
- </issue>
-
- <issue
- id="ListIterator"
- message="Creating an unnecessary Iterator to iterate through a List"
- errorLine1=" val b = anchors.filter { it >= offset - 0.001 }.minOrNull()"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/compose/material/Swipeable.kt"/>
- </issue>
+<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
<issue
id="PrimitiveInLambda"
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Picker.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Picker.kt
index 6587a21..315b05a 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Picker.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Picker.kt
@@ -60,6 +60,7 @@
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.wear.compose.foundation.lazy.AutoCenteringParams
import androidx.wear.compose.foundation.lazy.ScalingLazyColumn
import androidx.wear.compose.foundation.lazy.ScalingLazyColumnDefaults
@@ -171,7 +172,7 @@
state.scalingLazyListState.layoutInfo.visibleItemsInfo
if (visibleItems.isNotEmpty()) {
val centerItem =
- visibleItems.find { info ->
+ visibleItems.fastFirstOrNull { info ->
info.index == state.scalingLazyListState.centerItemIndex
} ?: visibleItems[visibleItems.size / 2]
val shimHeight =
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/PickerGroup.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/PickerGroup.kt
index 8588ee8..fbeb706 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/PickerGroup.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/PickerGroup.kt
@@ -40,6 +40,9 @@
import androidx.compose.ui.layout.Placeable
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Density
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMaxOfOrNull
import androidx.wear.compose.foundation.ExperimentalWearFoundationApi
import androidx.wear.compose.foundation.HierarchicalFocusCoordinator
import androidx.wear.compose.foundation.rememberActiveFocusRequester
@@ -266,7 +269,7 @@
} else {
parentConstraints.copy(minWidth = 0, minHeight = 0)
}
- val placeables = measurables.map { it.measure(constraints) }
+ val placeables = measurables.fastMap { it.measure(constraints) }
val centeringOffset = computeCenteringOffset(placeables)
val rowWidth =
if (constraints.hasBoundedWidth) constraints.maxWidth
@@ -274,7 +277,7 @@
val rowHeight = calculateHeight(constraints, placeables)
layout(width = rowWidth, height = rowHeight) {
var x = rowWidth / 2f - centeringOffset
- placeables.forEach {
+ placeables.fastForEach {
it.placeRelative(x.roundToInt(), ((rowHeight - it.height) / 2f).roundToInt())
x += it.width
}
@@ -304,7 +307,7 @@
*/
private fun computeCenteringOffset(placeables: List<Placeable>): Int {
var sumWidth = 0
- placeables.forEach { p ->
+ placeables.fastForEach { p ->
if (p.isAutoCenteringTarget()) {
// The target centering offset is at the middle of this child.
return sumWidth + p.width / 2
@@ -322,7 +325,7 @@
* [Constraints].
*/
private fun calculateHeight(constraints: Constraints, placeables: List<Placeable>): Int {
- val maxChildrenHeight = placeables.maxOf { it.height }
+ val maxChildrenHeight = placeables.fastMaxOfOrNull { it.height }!!
return maxChildrenHeight.coerceIn(constraints.minHeight, constraints.maxHeight)
}
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumn.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumn.kt
index 3c93e35..5ca39eb 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumn.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumn.kt
@@ -55,6 +55,7 @@
import androidx.compose.ui.unit.IntOffset
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.offset
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.wear.compose.foundation.lazy.CombinedPaddingValues
import androidx.wear.compose.foundation.lazy.verticalNegativePadding
@@ -673,7 +674,7 @@
val reverseLayout = state.reverseLayout.value!!
val anchorType = state.anchorType.value!!
val items = state.layoutInfo.internalVisibleItemInfo()
- val currentItem = items.find { it.index == index }
+ val currentItem = items.fastFirstOrNull { it.index == index }
if (currentItem != null) {
alpha = currentItem.alpha
scaleX = currentItem.scale
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt
index 36268aa9..fb71229 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyColumnSnapFlingBehavior.kt
@@ -26,6 +26,8 @@
import androidx.compose.animation.core.tween
import androidx.compose.foundation.gestures.FlingBehavior
import androidx.compose.foundation.gestures.ScrollScope
+import androidx.compose.ui.util.fastMap
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import kotlin.math.abs
import kotlin.math.roundToInt
@@ -77,8 +79,8 @@
// to the original target. Note that the target may be off-screen, in that case we
// will land on the last visible item in that direction.
(state.layoutInfo.visibleItemsInfo
- .map { animationState.value + it.unadjustedOffset + snapOffset }
- .minByOrNull { abs(it - decayTarget) } ?: decayTarget)
+ .fastMap { animationState.value + it.unadjustedOffset + snapOffset }
+ .fastMinByOrNull { abs(it - decayTarget) } ?: decayTarget)
}
} else {
// Not a fling, just snap to the current item.
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt
index 2926cca..2109674 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScalingLazyListState.kt
@@ -34,6 +34,9 @@
import androidx.compose.runtime.saveable.listSaver
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.ui.unit.IntSize
+import androidx.compose.ui.util.fastFirstOrNull
+import androidx.compose.ui.util.fastForEach
+import androidx.compose.ui.util.fastMap
import kotlin.math.roundToInt
/**
@@ -559,14 +562,14 @@
// we have more than enough content before it to make sure it can be scrolled to the center
// of the viewport
val initialCenterItem =
- visibleItems.find { it.index == itemIndexToFind }
+ visibleItems.fastFirstOrNull { it.index == itemIndexToFind }
// Determine how much space we actually need
var spaceNeeded = spaceNeeded(initialCenterItem)
if (spaceNeeded > 0f) {
// Now see how much content we already have
- visibleItems.map {
+ visibleItems.fastMap {
if (it.index < itemIndexToFind) {
// Reduce the space needed
spaceNeeded = spaceNeeded - gapBetweenItemsPx.value!! - it.unadjustedSize
@@ -598,14 +601,14 @@
// we have more than enough content before it to make sure it can be scrolled to the center
// of the viewport
val initialCenterItem =
- visibleItems.find { it.index == itemIndexToFind }
+ visibleItems.fastFirstOrNull { it.index == itemIndexToFind }
// Determine how much space we actually need
var spaceNeeded = spaceNeeded(initialCenterItem)
if (spaceNeeded > 0f) {
// Now see how much content we already have
- visibleItems.map {
+ visibleItems.fastMap {
if (it.index != 0 && it.index < itemIndexToFind) {
// Reduce the space needed
spaceNeeded = spaceNeeded - gapBetweenItemsPx.value!! - it.size
@@ -684,7 +687,7 @@
}
private fun LazyListLayoutInfo.findItemInfoWithIndex(index: Int): LazyListItemInfo? {
- return this.visibleItemsInfo.find { it.index == index }
+ return this.visibleItemsInfo.fastFirstOrNull { it.index == index }
}
private suspend fun LazyListState.scrollToItem(animated: Boolean, index: Int, offset: Int) {
@@ -693,7 +696,7 @@
private fun ScalingLazyListLayoutInfo.averageUnadjustedItemSize(): Int {
var totalSize = 0
- visibleItemsInfo.forEach { totalSize += it.unadjustedSize }
+ visibleItemsInfo.fastForEach { totalSize += it.unadjustedSize }
return if (visibleItemsInfo.isNotEmpty())
(totalSize.toFloat() / visibleItemsInfo.size).roundToInt()
else 0
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScrollAway.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScrollAway.kt
index c15fd01..5a6fd04d 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScrollAway.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/ScrollAway.kt
@@ -30,6 +30,7 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastFirstOrNull
import androidx.compose.ui.util.lerp
import androidx.wear.compose.foundation.lazy.ScalingLazyColumn
import androidx.wear.compose.foundation.lazy.ScalingLazyListState
@@ -71,9 +72,10 @@
scrollAway {
ScrollParams(
valid = itemIndex < scrollState.layoutInfo.totalItemsCount,
- yPx = scrollState.layoutInfo.visibleItemsInfo.find { it.index == itemIndex }?.let {
- -it.offset - offset.toPx()
- }
+ yPx = scrollState.layoutInfo.visibleItemsInfo.fastFirstOrNull { it.index == itemIndex }
+ ?.let {
+ -it.offset - offset.toPx()
+ }
)
}
@@ -95,9 +97,10 @@
scrollAway {
ScrollParams(
valid = itemIndex < scrollState.layoutInfo.totalItemsCount,
- yPx = scrollState.layoutInfo.visibleItemsInfo.find { it.index == itemIndex }?.let {
- -it.offset - offset.toPx()
- }
+ yPx = scrollState.layoutInfo.visibleItemsInfo.fastFirstOrNull { it.index == itemIndex }
+ ?.let {
+ -it.offset - offset.toPx()
+ }
)
}
@@ -125,9 +128,10 @@
scrollAway {
ScrollParams(
valid = itemIndex < scrollState.layoutInfo.totalItemsCount,
- yPx = scrollState.layoutInfo.visibleItemsInfo.find { it.index == itemIndex }?.let {
- -it.offset - offset.toPx()
- }
+ yPx = scrollState.layoutInfo.visibleItemsInfo.fastFirstOrNull { it.index == itemIndex }
+ ?.let {
+ -it.offset - offset.toPx()
+ }
)
}
diff --git a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Swipeable.kt b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Swipeable.kt
index b605836..b689e6d 100644
--- a/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Swipeable.kt
+++ b/wear/compose/compose-material/src/main/java/androidx/wear/compose/material/Swipeable.kt
@@ -48,6 +48,8 @@
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.util.fastMaxBy
+import androidx.compose.ui.util.fastMinByOrNull
import androidx.compose.ui.util.lerp
import androidx.wear.compose.material.SwipeableDefaults.StandardResistanceFactor
import androidx.wear.compose.material.SwipeableDefaults.VelocityThreshold
@@ -744,8 +746,8 @@
anchors: Set<Float>
): List<Float> {
// Find the anchors the target lies between with a little bit of rounding error.
- val a = anchors.filter { it <= offset + 0.001 }.maxOrNull()
- val b = anchors.filter { it >= offset - 0.001 }.minOrNull()
+ val a = anchors.filter { it <= offset + 0.001 }.fastMaxBy { it }
+ val b = anchors.filter { it >= offset - 0.001 }.fastMinByOrNull { it }
return when {
a == null ->
diff --git a/wear/protolayout/protolayout-renderer/lint-baseline.xml b/wear/protolayout/protolayout-renderer/lint-baseline.xml
index 316b2b8..d8b34d6 100644
--- a/wear/protolayout/protolayout-renderer/lint-baseline.xml
+++ b/wear/protolayout/protolayout-renderer/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.getAnimatedImageFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (resource.getAnimatedImageFormat() == AnimatedImageFormat.ANIMATED_IMAGE_FORMAT_AVD) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedImageFormat.ANIMATED_IMAGE_FORMAT_AVD can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (resource.getAnimatedImageFormat() == AnimatedImageFormat.ANIMATED_IMAGE_FORMAT_AVD) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mAndroidResources.getDrawable(resource.getResourceId(), /* theme= */ null);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByContentUri.getContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Uri resourceUri = Uri.parse(resource.getContentUri());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByContentUri.getContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" "Provided content URI " + resource.getContentUri() + " cannot be opened");"
errorLine2=" ~~~~~~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByContentUri.getContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" "Cannot read from URI " + resource.getContentUri());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByContentUri.getContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" "Cannot open file for URI " + resource.getContentUri(), ex);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByContentUri.getContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" "Error while reading URI " + resource.getContentUri(), ex);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -74,43 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" ResolvableFuture<Drawable> resolvableFuture = ResolvableFuture.create();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/DefaultAndroidImageResourceByContentUriResolver.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" resolvableFuture.set(d);"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/DefaultAndroidImageResourceByContentUriResolver.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" resolvableFuture.set(d);"
- errorLine2=" ~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/DefaultAndroidImageResourceByContentUriResolver.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" resolvableFuture.setException(ex);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/DefaultAndroidImageResourceByContentUriResolver.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mAndroidResources.getDrawable(resource.getResourceId(), /* theme= */ null);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -119,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.getAnimatedImageFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (resource.getAnimatedImageFormat() == AnimatedImageFormat.ANIMATED_IMAGE_FORMAT_AVD) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -128,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedImageFormat.ANIMATED_IMAGE_FORMAT_AVD can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (resource.getAnimatedImageFormat() == AnimatedImageFormat.ANIMATED_IMAGE_FORMAT_AVD) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -137,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final XmlPullParser parser = mAndroidResources.getXml(resource.getResourceId());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -146,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.IMAGE_FORMAT_RGB_565 can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (inlineImage.getFormat() == ImageFormat.IMAGE_FORMAT_RGB_565"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -155,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (inlineImage.getFormat() == ImageFormat.IMAGE_FORMAT_RGB_565"
errorLine2=" ~~~~~~~~~">
@@ -164,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.IMAGE_FORMAT_ARGB_8888 can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || inlineImage.getFormat() == ImageFormat.IMAGE_FORMAT_ARGB_8888) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -173,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || inlineImage.getFormat() == ImageFormat.IMAGE_FORMAT_ARGB_8888) {"
errorLine2=" ~~~~~~~~~">
@@ -182,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.IMAGE_FORMAT_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (inlineImage.getFormat() == ImageFormat.IMAGE_FORMAT_UNDEFINED) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -191,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (inlineImage.getFormat() == ImageFormat.IMAGE_FORMAT_UNDEFINED) {"
errorLine2=" ~~~~~~~~~">
@@ -200,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.IMAGE_FORMAT_RGB_565 can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE_FORMAT_RGB_565:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -209,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.IMAGE_FORMAT_ARGB_8888 can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE_FORMAT_ARGB_8888:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -218,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.IMAGE_FORMAT_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE_FORMAT_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -227,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -236,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Config config = imageFormatToBitmapConfig(inlineImage.getFormat());"
errorLine2=" ~~~~~~~~~">
@@ -245,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getWidthPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int widthPx = inlineImage.getWidthPx();"
errorLine2=" ~~~~~~~~~~">
@@ -254,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getHeightPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int heightPx = inlineImage.getHeightPx();"
errorLine2=" ~~~~~~~~~~~">
@@ -263,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (inlineImage.getData().size() != expectedDataSize) {"
errorLine2=" ~~~~~~~">
@@ -272,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" bitmap.copyPixelsFromBuffer(ByteBuffer.wrap(inlineImage.getData().toByteArray()));"
errorLine2=" ~~~~~~~">
@@ -281,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" inlineImage.getData().toByteArray(), 0, inlineImage.getData().size());"
errorLine2=" ~~~~~~~">
@@ -290,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" inlineImage.getData().toByteArray(), 0, inlineImage.getData().size());"
errorLine2=" ~~~~~~~">
@@ -299,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getHeightPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" bitmap, inlineImage.getWidthPx(), inlineImage.getHeightPx(), /* filter= */ true);"
errorLine2=" ~~~~~~~~~~~">
@@ -308,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getWidthPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" bitmap, inlineImage.getWidthPx(), inlineImage.getHeightPx(), /* filter= */ true);"
errorLine2=" ~~~~~~~~~~">
@@ -317,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (entry.mTrigger.getInnerCase() != triggerCase"
errorLine2=" ~~~~~~~~~~~~">
@@ -326,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_ONCE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if ((triggerCase == InnerCase.ON_VISIBLE_ONCE_TRIGGER"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -335,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_LOAD_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || triggerCase == InnerCase.ON_LOAD_TRIGGER)"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -344,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (entry.mTrigger.getInnerCase() == triggerCase && entry.mDrawable != null) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -353,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (entry.mDrawable.isRunning() && entry.mTrigger.getInnerCase() == triggerCase) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -362,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.values can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (InnerCase triggerCase : InnerCase.values()) {"
errorLine2=" ~~~~~~">
@@ -371,25 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mPosIdToTreeNode.remove(posId)).destroy();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/PositionIdTree.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mPosIdToTreeNode.remove(posId)).destroy();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/PositionIdTree.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!layout.getFingerprint().hasRoot()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -398,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.hasRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!layout.getFingerprint().hasRoot()) {"
errorLine2=" ~~~~~~~">
@@ -407,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" NodeFingerprint prevRootFingerprint = prevTreeFingerprint.getRoot();"
errorLine2=" ~~~~~~~">
@@ -416,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layout.getRoot(), layout.getFingerprint().getRoot(), ROOT_NODE_ID);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -425,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layout.getRoot(), layout.getFingerprint().getRoot(), ROOT_NODE_ID);"
errorLine2=" ~~~~~~~">
@@ -434,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layout.getRoot(), layout.getFingerprint().getRoot(), ROOT_NODE_ID);"
errorLine2=" ~~~~~~~">
@@ -443,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" NodeFingerprint prev = first.getRoot();"
errorLine2=" ~~~~~~~">
@@ -452,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" NodeFingerprint current = second.getRoot();"
errorLine2=" ~~~~~~~">
@@ -461,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfTypeValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return current.getSelfTypeValue() == prev.getSelfTypeValue()"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -470,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfTypeValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return current.getSelfTypeValue() == prev.getSelfTypeValue()"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -479,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && current.getSelfPropsValue() == prev.getSelfPropsValue()"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -488,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && current.getSelfPropsValue() == prev.getSelfPropsValue()"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -497,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && current.getChildNodesValue() == prev.getChildNodesValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -506,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && current.getChildNodesValue() == prev.getChildNodesValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -515,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfTypeValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (prevNode.getSelfTypeValue() != node.getSelfTypeValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -524,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfTypeValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (prevNode.getSelfTypeValue() != node.getSelfTypeValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -533,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (node.getSelfPropsValue() == DISCARDED_FINGERPRINT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -542,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && node.getChildNodesValue() == DISCARDED_FINGERPRINT_VALUE) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -551,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (node.getChildNodesCount() == 0) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -560,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (prevNode.getChildNodesCount() != node.getChildNodesCount()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -569,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (prevNode.getChildNodesCount() != node.getChildNodesCount()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -578,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" node.getSelfPropsValue() == DISCARDED_FINGERPRINT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -587,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || prevNode.getSelfPropsValue() != node.getSelfPropsValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -596,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || prevNode.getSelfPropsValue() != node.getSelfPropsValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -605,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" node.getChildNodesValue() == DISCARDED_FINGERPRINT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -614,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || prevNode.getChildNodesValue() != node.getChildNodesValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -623,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || prevNode.getChildNodesValue() != node.getChildNodesValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -632,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" checkState(childList.size() == prevNodeFingerprint.getChildNodesCount());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -641,16 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkState can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkState(childList.size() == prevNodeFingerprint.getChildNodesCount());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/common/ProtoLayoutDiffer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodes can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" NodeFingerprint prevChildNodeFingerprint = prevNodeFingerprint.getChildNodes(i);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -659,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (layoutElement.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -668,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.BOX can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case BOX:"
errorLine2=" ~~~">
@@ -677,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getBox().getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -686,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getBox().getContentsList(),"
errorLine2=" ~~~~~~">
@@ -695,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" fingerprint.getChildNodesList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -704,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.COLUMN can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case COLUMN:"
errorLine2=" ~~~~~~">
@@ -713,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getColumn().getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -722,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getColumn().getContentsList(),"
errorLine2=" ~~~~~~~~~">
@@ -731,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" fingerprint.getChildNodesList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -740,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ROW can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ROW:"
errorLine2=" ~~~">
@@ -749,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getRow().getContentsList(),"
errorLine2=" ~~~~~~">
@@ -758,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getRow().getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -767,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" fingerprint.getChildNodesList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -776,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ARC can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC:"
errorLine2=" ~~~">
@@ -785,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getArc().getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -794,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" layoutElement.getArc().getContentsList(),"
errorLine2=" ~~~~~~">
@@ -803,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.getChildNodesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" fingerprint.getChildNodesList(),"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -812,25 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(animatingNode.getValue()), associatedView);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(animatingNode.getValue()), associatedView);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.hasExitTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && animatedVisibility.hasExitTransition();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -839,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.getExitTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" checkNotNull(affectedNode.getAnimatedVisibility()).getExitTransition());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -848,25 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(affectedNode.getAnimatedVisibility()).getExitTransition());"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(affectedNode.getAnimatedVisibility()).getExitTransition());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.hasEnterTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && animatedVisibility.hasEnterTransition();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -875,25 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(affectedNode.getAnimatedVisibility())"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(affectedNode.getAnimatedVisibility())"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.getEnterTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getEnterTransition());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -902,25 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(animatingNode.getValue()), associatedView);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(animatingNode.getValue()), associatedView);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/dynamicdata/ProtoLayoutDynamicDataPipeline.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" dpProp.getDynamicValue(), consumer);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -929,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" degreesProp.getDynamicValue(), consumer);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -938,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" colorProp.getDynamicValue(), consumer);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -947,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_CONDITION_MET_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (trigger.getInnerCase() != Trigger.InnerCase.ON_CONDITION_MET_TRIGGER) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -956,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (trigger.getInnerCase() != Trigger.InnerCase.ON_CONDITION_MET_TRIGGER) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -965,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" playAvdAnimations(Trigger.InnerCase.ON_VISIBLE_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -974,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_ONCE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" playAvdAnimations(Trigger.InnerCase.ON_VISIBLE_ONCE_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -983,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_LOAD_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" playAvdAnimations(Trigger.InnerCase.ON_LOAD_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -992,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" playAvdAnimations(Trigger.InnerCase.ON_VISIBLE_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1001,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_ONCE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" playAvdAnimations(Trigger.InnerCase.ON_VISIBLE_ONCE_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1010,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" stopAvdAnimations(Trigger.InnerCase.ON_VISIBLE_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1019,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_VISIBLE_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" resetAvdAnimations(Trigger.InnerCase.ON_VISIBLE_TRIGGER);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1028,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOnLoadTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Trigger.newBuilder().setOnLoadTrigger(OnLoadTrigger.getDefaultInstance()).build();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1037,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OnLoadTrigger.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Trigger.newBuilder().setOnLoadTrigger(OnLoadTrigger.getDefaultInstance()).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1046,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Trigger.newBuilder().setOnLoadTrigger(OnLoadTrigger.getDefaultInstance()).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1055,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1064,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setWrappedDimension(WrappedDimensionProp.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1073,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setWrappedDimension(WrappedDimensionProp.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1082,79 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" mChildLayoutParams.apply(checkNotNull(child.getLayoutParams())));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" mChildLayoutParams.apply(checkNotNull(child.getLayoutParams())));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mLoadActionListener),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mLoadActionListener),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mProtoLayoutTheme),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mProtoLayoutTheme),"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mClickableIdExtra),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mClickableIdExtra),"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return safeDpToPx(dpProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -1163,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.getAspectRatioWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final int dividend = proportionalDimensionProp.getAspectRatioWidth();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1172,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.getAspectRatioHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final int divisor = proportionalDimensionProp.getAspectRatioHeight();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1181,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && width.getInnerCase() == InnerCase.EXPANDED_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1190,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && width.getInnerCase() == InnerCase.EXPANDED_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1199,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float weight = width.getExpandedDimension().getLayoutWeight().getValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1208,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.getLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float weight = width.getExpandedDimension().getLayoutWeight().getValue();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1217,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float weight = width.getExpandedDimension().getLayoutWeight().getValue();"
errorLine2=" ~~~~~~~~">
@@ -1226,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && height.getInnerCase() == InnerCase.EXPANDED_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1235,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && height.getInnerCase() == InnerCase.EXPANDED_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1244,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float weight = height.getExpandedDimension().getLayoutWeight().getValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1253,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.getLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float weight = height.getExpandedDimension().getLayoutWeight().getValue();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1262,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float weight = height.getExpandedDimension().getLayoutWeight().getValue();"
errorLine2=" ~~~~~~~~">
@@ -1271,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (width.getWrappedDimension().hasMinimumSize()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1280,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.hasMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (width.getWrappedDimension().hasMinimumSize()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1289,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" view.setMinimumWidth(safeDpToPx(width.getWrappedDimension().getMinimumSize()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1298,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.getMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" view.setMinimumWidth(safeDpToPx(width.getWrappedDimension().getMinimumSize()));"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1307,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (height.getWrappedDimension().hasMinimumSize()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1316,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.hasMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (height.getWrappedDimension().hasMinimumSize()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1325,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" view.setMinimumHeight(safeDpToPx(height.getWrappedDimension().getMinimumSize()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1334,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.getMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" view.setMinimumHeight(safeDpToPx(height.getWrappedDimension().getMinimumSize()));"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1343,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.HORIZONTAL_ALIGN_START can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case HORIZONTAL_ALIGN_START:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -1352,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.HORIZONTAL_ALIGN_CENTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case HORIZONTAL_ALIGN_CENTER:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1361,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.HORIZONTAL_ALIGN_END can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case HORIZONTAL_ALIGN_END:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1370,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.HORIZONTAL_ALIGN_LEFT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case HORIZONTAL_ALIGN_LEFT:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1379,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.HORIZONTAL_ALIGN_RIGHT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case HORIZONTAL_ALIGN_RIGHT:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -1388,7 +1181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1397,7 +1190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.HORIZONTAL_ALIGN_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case HORIZONTAL_ALIGN_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1406,7 +1199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_TOP can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_TOP:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1415,7 +1208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_CENTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_CENTER:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1424,7 +1217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_BOTTOM can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_BOTTOM:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1433,7 +1226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1442,7 +1235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1451,7 +1244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (alignment.getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -1460,7 +1253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_TOP can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_TOP:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1469,7 +1262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_CENTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_CENTER:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1478,7 +1271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_BOTTOM can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_BOTTOM:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1487,7 +1280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1496,7 +1289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.VERTICAL_ALIGN_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VERTICAL_ALIGN_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1505,7 +1298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.CONTENT_SCALE_MODE_FIT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case CONTENT_SCALE_MODE_FIT:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -1514,7 +1307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.CONTENT_SCALE_MODE_CROP can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case CONTENT_SCALE_MODE_CROP:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1523,7 +1316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.CONTENT_SCALE_MODE_FILL_BOUNDS can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case CONTENT_SCALE_MODE_FILL_BOUNDS:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1532,7 +1325,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.CONTENT_SCALE_MODE_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case CONTENT_SCALE_MODE_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1541,7 +1334,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1550,7 +1343,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (alignment.getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -1559,7 +1352,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.SPAN_VERTICAL_ALIGN_TEXT_BASELINE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPAN_VERTICAL_ALIGN_TEXT_BASELINE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1568,7 +1361,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.SPAN_VERTICAL_ALIGN_BOTTOM can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPAN_VERTICAL_ALIGN_BOTTOM:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1577,7 +1370,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.SPAN_VERTICAL_ALIGN_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPAN_VERTICAL_ALIGN_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1586,7 +1379,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1595,7 +1388,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (fontStyle.getWeight().getValue()) {"
errorLine2=" ~~~~~~~~~">
@@ -1604,7 +1397,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (fontStyle.getWeight().getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -1613,7 +1406,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_BOLD can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_BOLD:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1622,7 +1415,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_NORMAL can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_NORMAL:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1631,7 +1424,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_MEDIUM can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_MEDIUM:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1640,7 +1433,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1649,7 +1442,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1658,7 +1451,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FontSet fonts = mProtoLayoutTheme.getFontSet(fontStyle.getVariant().getValue().getNumber());"
errorLine2=" ~~~~~~~~~~">
@@ -1667,7 +1460,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FontSet fonts = mProtoLayoutTheme.getFontSet(fontStyle.getVariant().getValue().getNumber());"
errorLine2=" ~~~~~~~~~">
@@ -1676,7 +1469,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FontSet fonts = mProtoLayoutTheme.getFontSet(fontStyle.getVariant().getValue().getNumber());"
errorLine2=" ~~~~~~~~">
@@ -1685,7 +1478,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (fontStyle.getWeight().getValue()) {"
errorLine2=" ~~~~~~~~~">
@@ -1694,7 +1487,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (fontStyle.getWeight().getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -1703,7 +1496,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_BOLD can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_BOLD:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1712,7 +1505,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_MEDIUM can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_MEDIUM:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1721,7 +1514,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_NORMAL can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_NORMAL:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1730,7 +1523,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.FONT_WEIGHT_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case FONT_WEIGHT_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -1739,7 +1532,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -1748,7 +1541,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final boolean isItalic = fontStyle.getItalic().getValue();"
errorLine2=" ~~~~~~~~">
@@ -1757,7 +1550,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final boolean isItalic = fontStyle.getItalic().getValue();"
errorLine2=" ~~~~~~~~~">
@@ -1766,7 +1559,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return !fontStyle.getItalic().getValue() && !isBold(fontStyle);"
errorLine2=" ~~~~~~~~">
@@ -1775,7 +1568,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return !fontStyle.getItalic().getValue() && !isBold(fontStyle);"
errorLine2=" ~~~~~~~~~">
@@ -1784,7 +1577,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spField.getValue(),"
errorLine2=" ~~~~~~~~">
@@ -1793,7 +1586,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (style.hasSize()) {"
errorLine2=" ~~~~~~~">
@@ -1802,7 +1595,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, style.getSize().getValue());"
errorLine2=" ~~~~~~~">
@@ -1811,7 +1604,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, style.getSize().getValue());"
errorLine2=" ~~~~~~~~">
@@ -1820,7 +1613,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (style.hasLetterSpacing()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1829,7 +1622,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setLetterSpacing(style.getLetterSpacing().getValue());"
errorLine2=" ~~~~~~~~">
@@ -1838,7 +1631,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setLetterSpacing(style.getLetterSpacing().getValue());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1847,7 +1640,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (style.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -1856,7 +1649,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" handleProp(style.getColor(), textView::setTextColor, posId, pipelineMaker);"
errorLine2=" ~~~~~~~~">
@@ -1865,7 +1658,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (style.hasSize()) {"
errorLine2=" ~~~~~~~">
@@ -1874,7 +1667,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setTextSize(toPx(style.getSize()));"
errorLine2=" ~~~~~~~">
@@ -1883,7 +1676,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" view.setTag(R.id.clickable_id_tag, clickable.getId());"
errorLine2=" ~~~~~">
@@ -1892,7 +1685,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getValueCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (clickable.getOnClick().getValueCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1901,7 +1694,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (clickable.getOnClick().getValueCase()) {"
errorLine2=" ~~~~~~~~~~">
@@ -1910,7 +1703,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.LAUNCH_ACTION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LAUNCH_ACTION:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1919,7 +1712,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" clickable.getOnClick().getLaunchAction(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1928,7 +1721,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" clickable.getOnClick().getLaunchAction(),"
errorLine2=" ~~~~~~~~~~">
@@ -1937,7 +1730,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" clickable.getId(),"
errorLine2=" ~~~~~">
@@ -1946,7 +1739,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.LOAD_ACTION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LOAD_ACTION:"
errorLine2=" ~~~~~~~~~~~">
@@ -1955,25 +1748,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mLoadActionExecutor)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mLoadActionExecutor)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getOnClick()"
errorLine2=" ~~~~~~~~~~">
@@ -1982,7 +1757,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getLoadAction(),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1991,7 +1766,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" clickable.getId()))));"
errorLine2=" ~~~~~">
@@ -2000,7 +1775,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.VALUE_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VALUE_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2009,7 +1784,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (padding.getRtlAware().getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -2018,7 +1793,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (padding.getRtlAware().getValue()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -2027,7 +1802,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getStart()),"
errorLine2=" ~~~~~~~~">
@@ -2036,7 +1811,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getTop()),"
errorLine2=" ~~~~~~">
@@ -2045,7 +1820,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getEnd()),"
errorLine2=" ~~~~~~">
@@ -2054,7 +1829,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getBottom()));"
errorLine2=" ~~~~~~~~~">
@@ -2063,7 +1838,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getStart()),"
errorLine2=" ~~~~~~~~">
@@ -2072,7 +1847,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getTop()),"
errorLine2=" ~~~~~~">
@@ -2081,7 +1856,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getEnd()),"
errorLine2=" ~~~~~~">
@@ -2090,7 +1865,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" safeDpToPx(padding.getBottom()));"
errorLine2=" ~~~~~~~~~">
@@ -2099,7 +1874,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (background.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -2108,7 +1883,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" handleProp(background.getColor(), drawable::setColor, posId, pipelineMaker);"
errorLine2=" ~~~~~~~~">
@@ -2117,7 +1892,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.hasCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (background.hasCorner()) {"
errorLine2=" ~~~~~~~~~">
@@ -2126,7 +1901,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.getCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final int radiusPx = safeDpToPx(background.getCorner().getRadius());"
errorLine2=" ~~~~~~~~~">
@@ -2135,7 +1910,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.getRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final int radiusPx = safeDpToPx(background.getCorner().getRadius());"
errorLine2=" ~~~~~~~~~">
@@ -2144,7 +1919,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int width = safeDpToPx(border.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -2153,7 +1928,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" border.getColor(),"
errorLine2=" ~~~~~~~~">
@@ -2162,7 +1937,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2171,7 +1946,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyClickable(view, modifiers.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2180,7 +1955,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasSemantics()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2189,7 +1964,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applySemantics(view, modifiers.getSemantics(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -2198,7 +1973,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasPadding()) {"
errorLine2=" ~~~~~~~~~~">
@@ -2207,7 +1982,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyPadding(view, modifiers.getPadding());"
errorLine2=" ~~~~~~~~~~">
@@ -2216,7 +1991,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasBackground()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2225,7 +2000,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" modifiers.getBackground(),"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2234,7 +2009,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasBorder()) {"
errorLine2=" ~~~~~~~~~">
@@ -2243,7 +2018,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyBorder(modifiers.getBorder(), backgroundDrawable, posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~">
@@ -2252,7 +2027,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasContentUpdateAnimation can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mAnimationEnabled && modifiers.hasContentUpdateAnimation()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2261,7 +2036,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getContentUpdateAnimation can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" posId, modifiers.getContentUpdateAnimation()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2270,7 +2045,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.hasFadeIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (enterTransition.hasFadeIn()) {"
errorLine2=" ~~~~~~~~~">
@@ -2279,7 +2054,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.getFadeIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FadeInTransition fadeIn = enterTransition.getFadeIn();"
errorLine2=" ~~~~~~~~~">
@@ -2288,7 +2063,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeInTransition.getInitialAlpha can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new AlphaAnimation(fadeIn.getInitialAlpha(), FADE_IN_TARGET_ALPHA);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2297,7 +2072,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeInTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AnimationSpec spec = fadeIn.getAnimationSpec();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2306,7 +2081,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.hasSlideIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (enterTransition.hasSlideIn()) {"
errorLine2=" ~~~~~~~~~~">
@@ -2315,7 +2090,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.getSlideIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" SlideInTransition slideIn = enterTransition.getSlideIn();"
errorLine2=" ~~~~~~~~~~">
@@ -2324,7 +2099,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AnimationSpec spec = slideIn.getAnimationSpec();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2333,7 +2108,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getDirectionValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideIn.getDirectionValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2342,7 +2117,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_UNDEFINED_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_UNDEFINED_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2351,7 +2126,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2360,7 +2135,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_RIGHT_TO_LEFT_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_RIGHT_TO_LEFT_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2369,7 +2144,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2378,7 +2153,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_BOTTOM_TO_TOP_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_BOTTOM_TO_TOP_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2387,7 +2162,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.hasFadeOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (exitTransition.hasFadeOut()) {"
errorLine2=" ~~~~~~~~~~">
@@ -2396,7 +2171,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.getFadeOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FadeOutTransition fadeOut = exitTransition.getFadeOut();"
errorLine2=" ~~~~~~~~~~">
@@ -2405,7 +2180,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeOutTransition.getTargetAlpha can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new AlphaAnimation(FADE_OUT_INITIAL_ALPHA, fadeOut.getTargetAlpha());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2414,7 +2189,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeOutTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AnimationSpec spec = fadeOut.getAnimationSpec();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2423,7 +2198,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.hasSlideOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (exitTransition.hasSlideOut()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -2432,7 +2207,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.getSlideOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" SlideOutTransition slideOut = exitTransition.getSlideOut();"
errorLine2=" ~~~~~~~~~~~">
@@ -2441,7 +2216,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AnimationSpec spec = slideOut.getAnimationSpec();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2450,7 +2225,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getDirectionValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideOut.getDirectionValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2459,7 +2234,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_UNDEFINED_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_UNDEFINED_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2468,7 +2243,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2477,7 +2252,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_RIGHT_TO_LEFT_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_RIGHT_TO_LEFT_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2486,7 +2261,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2495,7 +2270,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_BOTTOM_TO_TOP_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SlideDirection.SLIDE_DIRECTION_BOTTOM_TO_TOP_VALUE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2504,7 +2279,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideIn.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2513,7 +2288,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getDirectionValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideIn.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2522,7 +2297,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.hasInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.hasInitialSlideBound()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2531,7 +2306,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideIn.getInitialSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2540,7 +2315,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideIn.getInitialSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2549,7 +2324,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2558,7 +2333,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getLinearBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideIn.getInitialSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2567,7 +2342,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideIn.getInitialSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2576,7 +2351,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideLinearBound.getOffsetDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideIn.getInitialSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~">
@@ -2585,7 +2360,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PARENT_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case PARENT_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2594,7 +2369,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.getInitialSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2603,7 +2378,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.getInitialSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2612,7 +2387,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentBound.getSnapTo can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.getInitialSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~">
@@ -2621,7 +2396,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" == SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2630,7 +2405,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2639,7 +2414,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideIn.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2648,7 +2423,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getDirectionValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideIn.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2657,7 +2432,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.hasInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.hasInitialSlideBound()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2666,7 +2441,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideIn.getInitialSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2675,7 +2450,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideIn.getInitialSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2684,7 +2459,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2693,7 +2468,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getLinearBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideIn.getInitialSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2702,7 +2477,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideIn.getInitialSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2711,7 +2486,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideLinearBound.getOffsetDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideIn.getInitialSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~">
@@ -2720,7 +2495,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PARENT_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case PARENT_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2729,7 +2504,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.getInitialSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2738,7 +2513,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.getInitialSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2747,7 +2522,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentBound.getSnapTo can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideIn.getInitialSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~">
@@ -2756,7 +2531,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" == SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2765,7 +2540,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2774,7 +2549,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideOut.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2783,7 +2558,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getDirectionValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideOut.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_LEFT_TO_RIGHT_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2792,7 +2567,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.hasTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.hasTargetSlideBound()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2801,7 +2576,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideOut.getTargetSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2810,7 +2585,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideOut.getTargetSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2819,7 +2594,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2828,7 +2603,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getLinearBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideOut.getTargetSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2837,7 +2612,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideLinearBound.getOffsetDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideOut.getTargetSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~">
@@ -2846,7 +2621,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideOut.getTargetSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2855,7 +2630,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PARENT_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case PARENT_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2864,7 +2639,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.getTargetSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2873,7 +2648,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.getTargetSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2882,7 +2657,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentBound.getSnapTo can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.getTargetSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~">
@@ -2891,7 +2666,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" == SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2900,7 +2675,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2909,7 +2684,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideOut.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2918,7 +2693,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getDirectionValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" slideOut.getDirectionValue() == SlideDirection.SLIDE_DIRECTION_TOP_TO_BOTTOM_VALUE"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2927,7 +2702,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.hasTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.hasTargetSlideBound()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2936,7 +2711,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideOut.getTargetSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2945,7 +2720,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (slideOut.getTargetSlideBound().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2954,7 +2729,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2963,7 +2738,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getLinearBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideOut.getTargetSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2972,7 +2747,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideLinearBound.getOffsetDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideOut.getTargetSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~">
@@ -2981,7 +2756,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return slideOut.getTargetSlideBound().getLinearBound().getOffsetDp() * sign;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2990,7 +2765,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PARENT_BOUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case PARENT_BOUND:"
errorLine2=" ~~~~~~~~~~~~">
@@ -2999,7 +2774,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.getTargetSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3008,7 +2783,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.getTargetSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3017,7 +2792,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentBound.getSnapTo can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (slideOut.getTargetSlideBound().getParentBound().getSnapTo()"
errorLine2=" ~~~~~~~~~">
@@ -3026,7 +2801,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" == SlideParentSnapOption.SLIDE_PARENT_SNAP_TO_OUTSIDE) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3035,7 +2810,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3044,7 +2819,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3053,7 +2828,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyClickable(view, modifiers.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3062,7 +2837,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.hasSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasSemantics()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3071,7 +2846,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.getSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applySemantics(view, modifiers.getSemantics(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -3080,7 +2855,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.TEXT_ALIGN_START can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_ALIGN_START:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3089,7 +2864,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.TEXT_ALIGN_CENTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_ALIGN_CENTER:"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -3098,7 +2873,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.TEXT_ALIGN_END can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_ALIGN_END:"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3107,7 +2882,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.TEXT_ALIGN_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_ALIGN_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3116,7 +2891,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -3125,7 +2900,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_TRUNCATE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_OVERFLOW_TRUNCATE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3134,7 +2909,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_ELLIPSIZE_END can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_OVERFLOW_ELLIPSIZE_END:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3143,7 +2918,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_MARQUEE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_OVERFLOW_MARQUEE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3152,7 +2927,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT_OVERFLOW_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3161,7 +2936,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -3170,7 +2945,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.ARC_ANCHOR_START can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC_ANCHOR_START:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3179,7 +2954,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.ARC_ANCHOR_CENTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC_ANCHOR_CENTER:"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -3188,7 +2963,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.ARC_ANCHOR_END can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC_ANCHOR_END:"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3197,7 +2972,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.ARC_ANCHOR_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC_ANCHOR_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3206,7 +2981,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -3215,7 +2990,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AngularAlignment.ANGULAR_ALIGNMENT_START can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ANGULAR_ALIGNMENT_START:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3224,7 +2999,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AngularAlignment.ANGULAR_ALIGNMENT_CENTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ANGULAR_ALIGNMENT_CENTER:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3233,7 +3008,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AngularAlignment.ANGULAR_ALIGNMENT_END can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ANGULAR_ALIGNMENT_END:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3242,7 +3017,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AngularAlignment.ANGULAR_ALIGNMENT_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ANGULAR_ALIGNMENT_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3251,7 +3026,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AngularAlignment.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -3260,7 +3035,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (containerDimension.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3269,7 +3044,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3278,7 +3053,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return safeDpToPx(containerDimension.getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3287,7 +3062,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case EXPANDED_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3296,7 +3071,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.WRAPPED_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case WRAPPED_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -3305,7 +3080,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3314,7 +3089,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -3323,7 +3098,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return fontStyle.getColor().getArgb();"
errorLine2=" ~~~~~~~">
@@ -3332,7 +3107,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return fontStyle.getColor().getArgb();"
errorLine2=" ~~~~~~~~">
@@ -3341,7 +3116,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.hasAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (launchAction.hasAndroidActivity()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3350,7 +3125,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.getAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AndroidActivity activity = launchAction.getAndroidActivity();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3359,7 +3134,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getClassName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new Intent().setClassName(activity.getPackageName(), activity.getClassName());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3368,7 +3143,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getPackageName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new Intent().setClassName(activity.getPackageName(), activity.getClassName());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3377,7 +3152,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getKeyToExtraMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (Map.Entry<String, AndroidExtra> entry : activity.getKeyToExtraMap().entrySet()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3386,7 +3161,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (entry.getValue().hasStringVal()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3395,7 +3170,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getStringVal().getValue());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3404,7 +3179,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidStringExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getStringVal().getValue());"
errorLine2=" ~~~~~~~~">
@@ -3413,7 +3188,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (entry.getValue().hasIntVal()) {"
errorLine2=" ~~~~~~~~~">
@@ -3422,7 +3197,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getIntVal().getValue());"
errorLine2=" ~~~~~~~~~">
@@ -3431,7 +3206,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidIntExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getIntVal().getValue());"
errorLine2=" ~~~~~~~~">
@@ -3440,7 +3215,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (entry.getValue().hasLongVal()) {"
errorLine2=" ~~~~~~~~~~">
@@ -3449,7 +3224,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getLongVal().getValue());"
errorLine2=" ~~~~~~~~~~">
@@ -3458,7 +3233,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidLongExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getLongVal().getValue());"
errorLine2=" ~~~~~~~~">
@@ -3467,7 +3242,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (entry.getValue().hasDoubleVal()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3476,7 +3251,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidDoubleExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getDoubleVal().getValue());"
errorLine2=" ~~~~~~~~">
@@ -3485,7 +3260,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getDoubleVal().getValue());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3494,7 +3269,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (entry.getValue().hasBooleanVal()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3503,7 +3278,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidBooleanExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getBooleanVal().getValue());"
errorLine2=" ~~~~~~~~">
@@ -3512,7 +3287,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" i.putExtra(entry.getKey(), entry.getValue().getBooleanVal().getValue());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3521,7 +3296,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLastClickableId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return loadAction.getRequestState().toBuilder().setLastClickableId(clickableId).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3530,7 +3305,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.getRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return loadAction.getRequestState().toBuilder().setLastClickableId(clickableId).build();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3539,7 +3314,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" column.hasWidth() ? column.getWidth() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~">
@@ -3548,7 +3323,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" column.hasWidth() ? column.getWidth() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~">
@@ -3557,7 +3332,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" column.hasHeight() ? column.getHeight() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~~">
@@ -3566,7 +3341,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" column.hasHeight() ? column.getHeight() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~~">
@@ -3575,7 +3350,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!canMeasureContainer(width, height, column.getContentsList())) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3584,7 +3359,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" horizontalAlignmentToGravity(column.getHorizontalAlignment().getValue()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3593,7 +3368,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" horizontalAlignmentToGravity(column.getHorizontalAlignment().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -3602,7 +3377,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiers(linearLayout, column.getModifiers(), columnPosId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -3611,7 +3386,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" column.getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3620,7 +3395,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int numMissingChildren = includeChildren ? 0 : column.getContentsCount();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3629,7 +3404,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension width = row.hasWidth() ? row.getWidth() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~">
@@ -3638,7 +3413,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension width = row.hasWidth() ? row.getWidth() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~">
@@ -3647,7 +3422,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension height = row.hasHeight() ? row.getHeight() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~~">
@@ -3656,7 +3431,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension height = row.hasHeight() ? row.getHeight() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~~">
@@ -3665,7 +3440,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!canMeasureContainer(width, height, row.getContentsList())) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3674,7 +3449,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" linearLayout.setGravity(verticalAlignmentToGravity(row.getVerticalAlignment().getValue()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3683,7 +3458,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" linearLayout.setGravity(verticalAlignmentToGravity(row.getVerticalAlignment().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -3692,7 +3467,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiers(linearLayout, row.getModifiers(), rowPosId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -3701,7 +3476,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" row.getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3710,7 +3485,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int numMissingChildren = includeChildren ? 0 : row.getContentsCount();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3719,7 +3494,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension width = box.hasWidth() ? box.getWidth() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~">
@@ -3728,7 +3503,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension width = box.hasWidth() ? box.getWidth() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~">
@@ -3737,7 +3512,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension height = box.hasHeight() ? box.getHeight() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~~">
@@ -3746,7 +3521,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ContainerDimension height = box.hasHeight() ? box.getHeight() : CONTAINER_DIMENSION_DEFAULT;"
errorLine2=" ~~~~~~~~~">
@@ -3755,7 +3530,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!canMeasureContainer(width, height, box.getContentsList())) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3764,7 +3539,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" box.getHorizontalAlignment().getValue(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3773,7 +3548,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" box.getHorizontalAlignment().getValue(),"
errorLine2=" ~~~~~~~~">
@@ -3782,7 +3557,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" box.getVerticalAlignment().getValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3791,7 +3566,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" box.getVerticalAlignment().getValue());"
errorLine2=" ~~~~~~~~">
@@ -3800,7 +3575,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" View wrappedView = applyModifiers(frame, box.getModifiers(), boxPosId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -3809,7 +3584,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" box.getContentsList(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3818,7 +3593,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int numMissingChildren = includeChildren ? 0 : box.getContentsCount();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -3827,7 +3602,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (needsSizeWrapper(spacer.getWidth()) || needsSizeWrapper(spacer.getHeight())) {"
errorLine2=" ~~~~~~~~~">
@@ -3836,7 +3611,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (needsSizeWrapper(spacer.getWidth()) || needsSizeWrapper(spacer.getHeight())) {"
errorLine2=" ~~~~~~~~">
@@ -3845,7 +3620,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.getWidth().getLinearDimension().hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3854,7 +3629,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.getWidth().getLinearDimension().hasDynamicValue()) {"
errorLine2=" ~~~~~~~~">
@@ -3863,7 +3638,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.getWidth().getLinearDimension().hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3872,7 +3647,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float widthForLayout = spacer.getWidth().getLinearDimension().getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -3881,7 +3656,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float widthForLayout = spacer.getWidth().getLinearDimension().getValueForLayout();"
errorLine2=" ~~~~~~~~">
@@ -3890,7 +3665,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float widthForLayout = spacer.getWidth().getLinearDimension().getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3899,7 +3674,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.getHeight().getLinearDimension().hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3908,7 +3683,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.getHeight().getLinearDimension().hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~">
@@ -3917,7 +3692,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.getHeight().getLinearDimension().hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3926,7 +3701,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float heightForLayout = spacer.getHeight().getLinearDimension().getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -3935,7 +3710,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float heightForLayout = spacer.getHeight().getLinearDimension().getValueForLayout();"
errorLine2=" ~~~~~~~~~">
@@ -3944,7 +3719,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float heightForLayout = spacer.getHeight().getLinearDimension().getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3953,7 +3728,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getWidth()"
errorLine2=" ~~~~~~~~">
@@ -3962,7 +3737,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getLinearDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3971,7 +3746,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getHorizontalAlignmentForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getHorizontalAlignmentForLayout())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3980,7 +3755,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getHeight()"
errorLine2=" ~~~~~~~~~">
@@ -3989,7 +3764,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getLinearDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -3998,7 +3773,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getVerticalAlignmentForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getVerticalAlignmentForLayout());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4007,7 +3782,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4016,7 +3791,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new View(mUiContext), spacer.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4025,7 +3800,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getWidth().getLinearDimension(),"
errorLine2=" ~~~~~~~~">
@@ -4034,7 +3809,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getWidth().getLinearDimension(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4043,7 +3818,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getHeight().getLinearDimension(),"
errorLine2=" ~~~~~~~~~">
@@ -4052,7 +3827,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getHeight().getLinearDimension(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4061,7 +3836,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getWidth().getLinearDimension(),"
errorLine2=" ~~~~~~~~">
@@ -4070,7 +3845,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getWidth().getLinearDimension(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4079,7 +3854,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getHeight().getLinearDimension(),"
errorLine2=" ~~~~~~~~~">
@@ -4088,7 +3863,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spacer.getHeight().getLinearDimension(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4097,7 +3872,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int thicknessPx = safeDpToPx(spacer.getThickness());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4106,7 +3881,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spacer.hasAngularLength()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4115,7 +3890,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final ArcSpacerLength angularLength = spacer.getAngularLength();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4124,7 +3899,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacerLength.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (angularLength.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4133,7 +3908,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.DEGREES can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case DEGREES:"
errorLine2=" ~~~~~~~">
@@ -4142,7 +3917,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacerLength.getDegrees can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, angularLength.getDegrees().getValue());"
errorLine2=" ~~~~~~~~~~">
@@ -4151,7 +3926,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, angularLength.getDegrees().getValue());"
errorLine2=" ~~~~~~~~">
@@ -4160,7 +3935,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_ANGULAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case EXPANDED_ANGULAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4169,7 +3944,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacerLength.getExpandedAngularDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getExpandedAngularDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4178,7 +3953,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedAngularDimensionProp.getLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getLayoutWeight()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4187,7 +3962,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .getValue();"
errorLine2=" ~~~~~~~~">
@@ -4196,7 +3971,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" space, spacer.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4205,7 +3980,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4214,7 +3989,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, spacer.getLength().getValue());"
errorLine2=" ~~~~~~~~~">
@@ -4223,7 +3998,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, spacer.getLength().getValue());"
errorLine2=" ~~~~~~~~">
@@ -4232,7 +4007,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiersToArcLayoutView(space, spacer.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4241,7 +4016,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TextOverflow overflowValue = overflow.getValue();"
errorLine2=" ~~~~~~~~">
@@ -4250,7 +4025,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_MARQUEE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!mAnimationEnabled && overflowValue == TextOverflow.TEXT_OVERFLOW_MARQUEE) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -4259,7 +4034,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" overflowValue = TextOverflow.TEXT_OVERFLOW_UNDEFINED;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4268,7 +4043,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.TEXT_OVERFLOW_MARQUEE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (overflowValue == TextOverflow.TEXT_OVERFLOW_MARQUEE && textView.getMaxLines() == 1) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -4277,7 +4052,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.hasIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" marqueeParameters.hasIterations()"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4286,7 +4061,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.getIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ? marqueeParameters.getIterations()"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4295,7 +4070,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" boolean needsSizeWrapper = needsSizeWrapper(text.getText());"
errorLine2=" ~~~~~~~">
@@ -4304,7 +4079,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" text.getText(),"
errorLine2=" ~~~~~~~">
@@ -4313,7 +4088,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.getFontStyle().getUnderline().getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -4322,7 +4097,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.getFontStyle().getUnderline().getValue()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4331,7 +4106,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.getFontStyle().getUnderline().getValue()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4340,7 +4115,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setGravity(textAlignToAndroidGravity(text.getMultilineAlignment().getValue()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -4349,7 +4124,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setGravity(textAlignToAndroidGravity(text.getMultilineAlignment().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -4358,7 +4133,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasMaxLines() && !needsSizeWrapper) {"
errorLine2=" ~~~~~~~~~~~">
@@ -4367,7 +4142,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setMaxLines(max(TEXT_MIN_LINES, text.getMaxLines().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -4376,7 +4151,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setMaxLines(max(TEXT_MIN_LINES, text.getMaxLines().getValue()));"
errorLine2=" ~~~~~~~~~~~">
@@ -4385,7 +4160,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMarqueeParameters can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyTextOverflow(textView, text.getOverflow(), text.getMarqueeParameters());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4394,7 +4169,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyTextOverflow(textView, text.getOverflow(), text.getMarqueeParameters());"
errorLine2=" ~~~~~~~~~~~">
@@ -4403,7 +4178,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4412,7 +4187,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyFontStyle(text.getFontStyle(), textView, posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4421,7 +4196,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyFontStyle(FontStyle.getDefaultInstance(), textView, posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4430,7 +4205,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasAndroidTextStyle()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4439,7 +4214,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidTextStyle.getExcludeFontPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" excludeFontPadding = text.getAndroidTextStyle().getExcludeFontPadding();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -4448,7 +4223,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" excludeFontPadding = text.getAndroidTextStyle().getExcludeFontPadding();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4457,7 +4232,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasLineHeight()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4466,7 +4241,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" float lineHeightPx = toPx(text.getLineHeight());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4475,7 +4250,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" View wrappedView = applyModifiers(textView, text.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4484,7 +4259,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String valueForLayout = text.getText().getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4493,7 +4268,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String valueForLayout = text.getText().getValueForLayout();"
errorLine2=" ~~~~~~~">
@@ -4502,7 +4277,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getTextAlignmentForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int gravity = textAlignToAndroidGravity(text.getText().getTextAlignmentForLayout());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4511,7 +4286,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int gravity = textAlignToAndroidGravity(text.getText().getTextAlignmentForLayout());"
errorLine2=" ~~~~~~~">
@@ -4520,7 +4295,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setText(text.getText().getValue());"
errorLine2=" ~~~~~~~">
@@ -4529,7 +4304,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setText(text.getText().getValue());"
errorLine2=" ~~~~~~~~">
@@ -4538,7 +4313,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4547,7 +4322,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyFontStyle(text.getFontStyle(), textView);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4556,7 +4331,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" textView.setTextColor(extractTextColorArgb(text.getFontStyle()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -4565,7 +4340,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiersToArcLayoutView(textView, text.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -4574,7 +4349,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return dimension.getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION"
errorLine2=" ~~~~~~~~~~~~">
@@ -4583,7 +4358,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return dimension.getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4592,7 +4367,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && dimension.getLinearDimension().getValue() == 0;"
errorLine2=" ~~~~~~~~">
@@ -4601,7 +4376,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && dimension.getLinearDimension().getValue() == 0;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4610,7 +4385,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (dimension.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4619,7 +4394,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4628,7 +4403,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -4637,7 +4412,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setLinearDimension(dimension.getLinearDimension())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4646,7 +4421,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setLinearDimension(dimension.getLinearDimension())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4655,7 +4430,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case EXPANDED_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4664,7 +4439,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -4673,7 +4448,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setExpandedDimension(ExpandedDimensionProp.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4682,7 +4457,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setExpandedDimension(ExpandedDimensionProp.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4691,7 +4466,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PROPORTIONAL_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case PROPORTIONAL_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4700,7 +4475,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -4709,7 +4484,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setWrappedDimension(WrappedDimensionProp.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4718,7 +4493,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setWrappedDimension(WrappedDimensionProp.getDefaultInstance())"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -4727,7 +4502,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4736,7 +4511,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" "ImageDimension has an unknown dimension type: " + dimension.getInnerCase().name());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4745,7 +4520,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String protoResId = image.getResourceId().getValue();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4754,7 +4529,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String protoResId = image.getResourceId().getValue();"
errorLine2=" ~~~~~~~~">
@@ -4763,7 +4538,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.INNER_NOT_SET"
errorLine2=" ~~~~~~~~">
@@ -4772,7 +4547,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.INNER_NOT_SET"
errorLine2=" ~~~~~~~~~~~~">
@@ -4781,7 +4556,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.INNER_NOT_SET"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4790,7 +4565,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || image.getHeight().getInnerCase() == ImageDimension.InnerCase.INNER_NOT_SET) {"
errorLine2=" ~~~~~~~~~">
@@ -4799,7 +4574,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || image.getHeight().getInnerCase() == ImageDimension.InnerCase.INNER_NOT_SET) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4808,7 +4583,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || image.getHeight().getInnerCase() == ImageDimension.InnerCase.INNER_NOT_SET) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4817,7 +4592,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (isZeroLengthImageDimension(image.getWidth())"
errorLine2=" ~~~~~~~~">
@@ -4826,7 +4601,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || isZeroLengthImageDimension(image.getHeight())) {"
errorLine2=" ~~~~~~~~~">
@@ -4835,7 +4610,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION"
errorLine2=" ~~~~~~~~">
@@ -4844,7 +4619,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION"
errorLine2=" ~~~~~~~~~~~~">
@@ -4853,7 +4628,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PROPORTIONAL_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4862,7 +4637,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && image.getHeight().getInnerCase()"
errorLine2=" ~~~~~~~~~">
@@ -4871,7 +4646,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && image.getHeight().getInnerCase()"
errorLine2=" ~~~~~~~~~~~~">
@@ -4880,7 +4655,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PROPORTIONAL_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4889,7 +4664,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~">
@@ -4898,7 +4673,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4907,7 +4682,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PROPORTIONAL_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4916,7 +4691,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ratio = safeAspectRatioOrNull(image.getWidth().getProportionalDimension());"
errorLine2=" ~~~~~~~~">
@@ -4925,7 +4700,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ratio = safeAspectRatioOrNull(image.getWidth().getProportionalDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4934,7 +4709,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getHeight().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~~">
@@ -4943,7 +4718,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getHeight().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4952,7 +4727,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PROPORTIONAL_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getHeight().getInnerCase() == ImageDimension.InnerCase.PROPORTIONAL_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4961,7 +4736,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ratio = safeAspectRatioOrNull(image.getHeight().getProportionalDimension());"
errorLine2=" ~~~~~~~~~">
@@ -4970,7 +4745,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ratio = safeAspectRatioOrNull(image.getHeight().getProportionalDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4979,7 +4754,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.hasContentScaleMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4988,7 +4763,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleModeProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" contentScaleModeToScaleType(image.getContentScaleMode().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -4997,7 +4772,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" contentScaleModeToScaleType(image.getContentScaleMode().getValue()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5006,7 +4781,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION) {"
errorLine2=" ~~~~~~~~">
@@ -5015,7 +4790,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5024,7 +4799,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getWidth().getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5033,7 +4808,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageView.setMinimumWidth(safeDpToPx(image.getWidth().getLinearDimension()));"
errorLine2=" ~~~~~~~~">
@@ -5042,7 +4817,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageView.setMinimumWidth(safeDpToPx(image.getWidth().getLinearDimension()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -5051,7 +4826,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getHeight().getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION) {"
errorLine2=" ~~~~~~~~~">
@@ -5060,7 +4835,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getHeight().getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5069,7 +4844,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getHeight().getInnerCase() == ImageDimension.InnerCase.LINEAR_DIMENSION) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5078,7 +4853,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageView.setMinimumHeight(safeDpToPx(image.getHeight().getLinearDimension()));"
errorLine2=" ~~~~~~~~~">
@@ -5087,7 +4862,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageView.setMinimumHeight(safeDpToPx(image.getHeight().getLinearDimension()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -5096,7 +4871,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageDimensionToContainerDimension(image.getWidth()),"
errorLine2=" ~~~~~~~~">
@@ -5105,7 +4880,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageDimensionToContainerDimension(image.getHeight()));"
errorLine2=" ~~~~~~~~~">
@@ -5114,7 +4889,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiers(imageView, image.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -5123,7 +4898,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && trigger.getInnerCase()"
errorLine2=" ~~~~~~~~~~~~">
@@ -5132,7 +4907,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ON_CONDITION_MET_TRIGGER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" == Trigger.InnerCase.ON_CONDITION_MET_TRIGGER) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5141,7 +4916,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getOnConditionMetTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" OnConditionMetTrigger conditionTrigger = trigger.getOnConditionMetTrigger();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5150,7 +4925,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OnConditionMetTrigger.getCondition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" avd, trigger, posId, conditionTrigger.getCondition());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5159,7 +4934,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || trigger.getInnerCase() == Trigger.InnerCase.INNER_NOT_SET) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5168,7 +4943,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || trigger.getInnerCase() == Trigger.InnerCase.INNER_NOT_SET) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5177,7 +4952,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.hasTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getColorFilter().hasTint() && canImageBeTinted) {"
errorLine2=" ~~~~~~~">
@@ -5186,7 +4961,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (image.getColorFilter().hasTint() && canImageBeTinted) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -5195,7 +4970,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.getTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" image.getColorFilter().getTint(),"
errorLine2=" ~~~~~~~">
@@ -5204,7 +4979,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" image.getColorFilter().getTint(),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -5213,7 +4988,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.hasAngularLength()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5222,7 +4997,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.getAngularLength().getInnerCase() == ArcLineLength.InnerCase.DEGREES) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5231,7 +5006,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLineLength.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.getAngularLength().getInnerCase() == ArcLineLength.InnerCase.DEGREES) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5240,7 +5015,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.DEGREES can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.getAngularLength().getInnerCase() == ArcLineLength.InnerCase.DEGREES) {"
errorLine2=" ~~~~~~~">
@@ -5249,7 +5024,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, line.getAngularLength().getDegrees().getValue());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5258,7 +5033,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLineLength.getDegrees can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, line.getAngularLength().getDegrees().getValue());"
errorLine2=" ~~~~~~~~~~">
@@ -5267,7 +5042,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, line.getAngularLength().getDegrees().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5276,7 +5051,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, line.getLength().getValue());"
errorLine2=" ~~~~~~~~~">
@@ -5285,7 +5060,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" lengthDegrees = max(0, line.getLength().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5294,7 +5069,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int thicknessPx = safeDpToPx(line.getThickness());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5303,7 +5078,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -5312,7 +5087,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" handleProp(line.getColor(), lineView::setColor, posId, pipelineMaker);"
errorLine2=" ~~~~~~~~">
@@ -5321,7 +5096,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasStrokeCap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.hasStrokeCap()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5330,7 +5105,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getStrokeCap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (line.getStrokeCap().getValue()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5339,7 +5114,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCapProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (line.getStrokeCap().getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -5348,7 +5123,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.STROKE_CAP_BUTT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case STROKE_CAP_BUTT:"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5357,7 +5132,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.STROKE_CAP_ROUND can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case STROKE_CAP_ROUND:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5366,7 +5141,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.STROKE_CAP_SQUARE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case STROKE_CAP_SQUARE:"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -5375,7 +5150,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.UNRECOGNIZED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case UNRECOGNIZED:"
errorLine2=" ~~~~~~~~~~~~">
@@ -5384,7 +5159,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.STROKE_CAP_UNDEFINED can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case STROKE_CAP_UNDEFINED:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5393,7 +5168,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (line.hasAngularLength()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5402,7 +5177,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final ArcLineLength angularLength = line.getAngularLength();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5411,7 +5186,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLineLength.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (angularLength.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5420,7 +5195,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.DEGREES can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case DEGREES:"
errorLine2=" ~~~~~~~">
@@ -5429,7 +5204,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getAngularLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" length = line.getAngularLength().getDegrees();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5438,7 +5213,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLineLength.getDegrees can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" length = line.getAngularLength().getDegrees();"
errorLine2=" ~~~~~~~~~~">
@@ -5447,7 +5222,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_ANGULAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case EXPANDED_ANGULAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5456,7 +5231,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLineLength.getExpandedAngularDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" angularLength.getExpandedAngularDimension();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5465,7 +5240,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedAngularDimensionProp.hasLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" expandedAngularDimension.hasLayoutWeight()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5474,7 +5249,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedAngularDimensionProp.getLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ? expandedAngularDimension.getLayoutWeight().getValue()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5483,7 +5258,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ? expandedAngularDimension.getLayoutWeight().getValue()"
errorLine2=" ~~~~~~~~">
@@ -5492,7 +5267,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" length = DegreesProp.getDefaultInstance();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -5501,7 +5276,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" length = DegreesProp.getDefaultInstance();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -5510,7 +5285,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" length = line.getLength();"
errorLine2=" ~~~~~~~~~">
@@ -5519,7 +5294,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" getSizeForLayout(line.getLength(), WearCurvedLineView.SWEEP_ANGLE_WRAP_LENGTH);"
errorLine2=" ~~~~~~~~~">
@@ -5528,7 +5303,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getAngularAlignmentForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" angularAlignmentProtoToAngularAlignment(length.getAngularAlignmentForLayout()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5537,7 +5312,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiersToArcLayoutView(lineView, line.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -5546,7 +5321,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arc.getAnchorAngle(),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -5555,7 +5330,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arcLayout.setAnchorAngleDegrees(arc.getAnchorAngle().getValue());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -5564,7 +5339,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arcLayout.setAnchorAngleDegrees(arc.getAnchorAngle().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5573,7 +5348,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arcLayout.setAnchorType(anchorTypeToAnchorPos(arc.getAnchorType().getValue()));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5582,7 +5357,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorTypeProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arcLayout.setAnchorType(anchorTypeToAnchorPos(arc.getAnchorType().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -5591,7 +5366,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasMaxAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (arc.hasMaxAngle()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -5600,7 +5375,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getMaxAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arcLayout.setMaxAngleDegrees(arc.getMaxAngle().getValue());"
errorLine2=" ~~~~~~~~~~~">
@@ -5609,7 +5384,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" arcLayout.setMaxAngleDegrees(arc.getMaxAngle().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5618,7 +5393,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (ArcLayoutElement child : arc.getContentsList()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5627,7 +5402,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (child.hasAdapter()) {"
errorLine2=" ~~~~~~~~~~">
@@ -5636,7 +5411,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" rotate = child.getAdapter().getRotateContents().getValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -5645,7 +5420,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" rotate = child.getAdapter().getRotateContents().getValue();"
errorLine2=" ~~~~~~~~~~">
@@ -5654,7 +5429,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" rotate = child.getAdapter().getRotateContents().getValue();"
errorLine2=" ~~~~~~~~">
@@ -5663,7 +5438,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" verticalAlignmentToArcVAlign(arc.getVerticalAlign()));"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5672,7 +5447,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" View wrappedView = applyModifiers(arcLayout, arc.getModifiers(), arcPosId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -5681,7 +5456,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getContentsCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int numMissingChildren = includeChildren ? 0 : arc.getContentsCount();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5690,7 +5465,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.hasSize()) {"
errorLine2=" ~~~~~~~">
@@ -5699,7 +5474,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AbsoluteSizeSpan span = new AbsoluteSizeSpan(round(toPx(fontStyle.getSize())));"
errorLine2=" ~~~~~~~">
@@ -5708,7 +5483,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.hasWeight() || fontStyle.hasVariant()) {"
errorLine2=" ~~~~~~~~~~">
@@ -5717,7 +5492,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.hasWeight() || fontStyle.hasVariant()) {"
errorLine2=" ~~~~~~~~~">
@@ -5726,7 +5501,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.getUnderline().getValue()) {"
errorLine2=" ~~~~~~~~">
@@ -5735,7 +5510,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.getUnderline().getValue()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5744,7 +5519,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (fontStyle.hasLetterSpacing()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5753,7 +5528,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LetterSpacingSpan span = new LetterSpacingSpan(fontStyle.getLetterSpacing().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5762,7 +5537,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LetterSpacingSpan span = new LetterSpacingSpan(fontStyle.getLetterSpacing().getValue());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5771,7 +5546,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (modifiers.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5780,7 +5555,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ClickableSpan clickableSpan = new ProtoLayoutClickableSpan(modifiers.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5789,7 +5564,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int lastPos = currentPos + text.getText().getValue().length();"
errorLine2=" ~~~~~~~">
@@ -5798,7 +5573,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int lastPos = currentPos + text.getText().getValue().length();"
errorLine2=" ~~~~~~~~">
@@ -5807,7 +5582,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" builder.append(text.getText().getValue());"
errorLine2=" ~~~~~~~">
@@ -5816,7 +5591,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" builder.append(text.getText().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5825,7 +5600,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyStylesToSpan(builder, currentPos, lastPos, text.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5834,7 +5609,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiersToSpan(builder, currentPos, lastPos, text.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5843,7 +5618,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String protoResId = protoImage.getResourceId().getValue();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5852,7 +5627,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String protoResId = protoImage.getResourceId().getValue();"
errorLine2=" ~~~~~~~~">
@@ -5861,7 +5636,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoImage.getWidth().getValue() == 0 || protoImage.getHeight().getValue() == 0) {"
errorLine2=" ~~~~~~~~">
@@ -5870,7 +5645,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoImage.getWidth().getValue() == 0 || protoImage.getHeight().getValue() == 0) {"
errorLine2=" ~~~~~~~~">
@@ -5879,7 +5654,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoImage.getWidth().getValue() == 0 || protoImage.getHeight().getValue() == 0) {"
errorLine2=" ~~~~~~~~~">
@@ -5888,7 +5663,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoImage.getWidth().getValue() == 0 || protoImage.getHeight().getValue() == 0) {"
errorLine2=" ~~~~~~~~">
@@ -5897,7 +5672,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" + protoImage.getResourceId().getValue());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5906,7 +5681,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" + protoImage.getResourceId().getValue());"
errorLine2=" ~~~~~~~~">
@@ -5915,7 +5690,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" 0, 0, safeDpToPx(protoImage.getWidth()), safeDpToPx(protoImage.getHeight()));"
errorLine2=" ~~~~~~~~~">
@@ -5924,7 +5699,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" 0, 0, safeDpToPx(protoImage.getWidth()), safeDpToPx(protoImage.getHeight()));"
errorLine2=" ~~~~~~~~">
@@ -5933,7 +5708,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spanVerticalAlignmentToImgSpanAlignment(protoImage.getAlignment()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -5942,7 +5717,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyModifiersToSpan(builder, startPos, endPos, protoImage.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5951,7 +5726,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final String protoResourceId = protoImage.getResourceId().getValue();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5960,7 +5735,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" final String protoResourceId = protoImage.getResourceId().getValue();"
errorLine2=" ~~~~~~~~">
@@ -5969,7 +5744,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" 0, 0, safeDpToPx(protoImage.getWidth()), safeDpToPx(protoImage.getHeight()));"
errorLine2=" ~~~~~~~~~">
@@ -5978,7 +5753,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" 0, 0, safeDpToPx(protoImage.getWidth()), safeDpToPx(protoImage.getHeight()));"
errorLine2=" ~~~~~~~~">
@@ -5987,7 +5762,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" spanVerticalAlignmentToImgSpanAlignment(protoImage.getAlignment()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -5996,7 +5771,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getSpansList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (Span element : spannable.getSpansList()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6005,7 +5780,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (element.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6014,7 +5789,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.IMAGE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE:"
errorLine2=" ~~~~~">
@@ -6023,7 +5798,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" SpanImage protoImage = element.getImage();"
errorLine2=" ~~~~~~~~">
@@ -6032,7 +5807,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoImage.getModifiers().hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6041,7 +5816,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoImage.getModifiers().hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6050,7 +5825,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.TEXT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT:"
errorLine2=" ~~~~">
@@ -6059,7 +5834,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" SpanText protoText = element.getText();"
errorLine2=" ~~~~~~~">
@@ -6068,7 +5843,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoText.getModifiers().hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6077,7 +5852,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoText.getModifiers().hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6086,7 +5861,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (protoText.hasAndroidTextStyle()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6095,7 +5870,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidTextStyle.getExcludeFontPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && protoText.getAndroidTextStyle().getExcludeFontPadding()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -6104,7 +5879,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" && protoText.getAndroidTextStyle().getExcludeFontPadding()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6113,7 +5888,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" tv.setGravity(horizontalAlignmentToGravity(spannable.getMultilineAlignment().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -6122,7 +5897,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" tv.setGravity(horizontalAlignmentToGravity(spannable.getMultilineAlignment().getValue()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -6131,7 +5906,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spannable.hasMaxLines()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -6140,7 +5915,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" tv.setMaxLines(max(TEXT_MIN_LINES, spannable.getMaxLines().getValue()));"
errorLine2=" ~~~~~~~~">
@@ -6149,7 +5924,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" tv.setMaxLines(max(TEXT_MIN_LINES, spannable.getMaxLines().getValue()));"
errorLine2=" ~~~~~~~~~~~">
@@ -6158,7 +5933,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMarqueeParameters can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyTextOverflow(tv, spannable.getOverflow(), spannable.getMarqueeParameters());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6167,7 +5942,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" applyTextOverflow(tv, spannable.getOverflow(), spannable.getMarqueeParameters());"
errorLine2=" ~~~~~~~~~~~">
@@ -6176,7 +5951,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (spannable.hasLineHeight()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6185,7 +5960,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new StandardLineHeightSpan((int) toPx(spannable.getLineHeight()));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6194,7 +5969,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasLineSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" } else if (spannable.hasLineSpacing()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6203,7 +5978,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getLineSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" tv.setLineSpacing(toPx(spannable.getLineSpacing()), 1f);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6212,7 +5987,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" View wrappedView = applyModifiers(tv, spannable.getModifiers(), posId, pipelineMaker);"
errorLine2=" ~~~~~~~~~~~~">
@@ -6221,7 +5996,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (element.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6230,7 +6005,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ADAPTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ADAPTER:"
errorLine2=" ~~~~~~~">
@@ -6239,7 +6014,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getAdapter().getContent(),"
errorLine2=" ~~~~~~~~~~">
@@ -6248,7 +6023,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getAdapter().getContent(),"
errorLine2=" ~~~~~~~~~~">
@@ -6257,7 +6032,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPACER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPACER:"
errorLine2=" ~~~~~~">
@@ -6266,7 +6041,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" parentViewWrapper, element.getSpacer(), nodePosId, pipelineMaker);"
errorLine2=" ~~~~~~~~~">
@@ -6275,7 +6050,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINE:"
errorLine2=" ~~~~">
@@ -6284,7 +6059,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" parentViewWrapper, element.getLine(), nodePosId, pipelineMaker);"
errorLine2=" ~~~~~~~">
@@ -6293,7 +6068,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.TEXT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT:"
errorLine2=" ~~~~">
@@ -6302,7 +6077,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" parentViewWrapper, element.getText(), nodePosId, pipelineMaker);"
errorLine2=" ~~~~~~~">
@@ -6311,7 +6086,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6320,7 +6095,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Log.w(TAG, "No node ID for " + element.getInnerCase().name());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6329,7 +6104,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (element.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6338,7 +6113,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.COLUMN can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case COLUMN:"
errorLine2=" ~~~~~~">
@@ -6347,7 +6122,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getColumn(),"
errorLine2=" ~~~~~~~~~">
@@ -6356,7 +6131,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ROW can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ROW:"
errorLine2=" ~~~">
@@ -6365,7 +6140,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getRow(),"
errorLine2=" ~~~~~~">
@@ -6374,7 +6149,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.BOX can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case BOX:"
errorLine2=" ~~~">
@@ -6383,7 +6158,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getBox(),"
errorLine2=" ~~~~~~">
@@ -6392,7 +6167,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPACER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPACER:"
errorLine2=" ~~~~~~">
@@ -6401,7 +6176,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" parentViewWrapper, element.getSpacer(), nodePosId, pipelineMaker);"
errorLine2=" ~~~~~~~~~">
@@ -6410,7 +6185,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.TEXT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT:"
errorLine2=" ~~~~">
@@ -6419,7 +6194,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" inflateText(parentViewWrapper, element.getText(), nodePosId, pipelineMaker);"
errorLine2=" ~~~~~~~">
@@ -6428,7 +6203,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.IMAGE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE:"
errorLine2=" ~~~~~">
@@ -6437,7 +6212,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" parentViewWrapper, element.getImage(), nodePosId, pipelineMaker);"
errorLine2=" ~~~~~~~~">
@@ -6446,7 +6221,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ARC can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC:"
errorLine2=" ~~~">
@@ -6455,7 +6230,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getArc(),"
errorLine2=" ~~~~~~">
@@ -6464,7 +6239,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPANNABLE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPANNABLE:"
errorLine2=" ~~~~~~~~~">
@@ -6473,7 +6248,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getSpannable(),"
errorLine2=" ~~~~~~~~~~~~">
@@ -6482,7 +6257,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXTENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case EXTENSION:"
errorLine2=" ~~~~~~~~~">
@@ -6491,7 +6266,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getExtension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" inflatedView = inflateExtension(parentViewWrapper, element.getExtension());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6500,7 +6275,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6509,7 +6284,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Log.w(TAG, "Unknown child type: " + element.getInnerCase().name());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6518,7 +6293,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Log.w(TAG, "Error inflating " + element.getInnerCase().name());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6527,7 +6302,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Log.w(TAG, "No node ID for " + element.getInnerCase().name());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6536,7 +6311,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int widthPx = safeDpToPx(element.getWidth().getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6545,7 +6320,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int widthPx = safeDpToPx(element.getWidth().getLinearDimension());"
errorLine2=" ~~~~~~~~">
@@ -6554,7 +6329,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int heightPx = safeDpToPx(element.getHeight().getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6563,7 +6338,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int heightPx = safeDpToPx(element.getHeight().getLinearDimension());"
errorLine2=" ~~~~~~~~~">
@@ -6572,7 +6347,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getExtensionId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getPayload().toByteArray(), element.getExtensionId());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6581,7 +6356,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getPayload can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" element.getPayload().toByteArray(), element.getExtensionId());"
errorLine2=" ~~~~~~~~~~">
@@ -6590,7 +6365,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int widthPx = safeDpToPx(element.getWidth().getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6599,7 +6374,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int widthPx = safeDpToPx(element.getWidth().getLinearDimension());"
errorLine2=" ~~~~~~~~">
@@ -6608,7 +6383,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int heightPx = safeDpToPx(element.getHeight().getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6617,7 +6392,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" int heightPx = safeDpToPx(element.getHeight().getLinearDimension());"
errorLine2=" ~~~~~~~~~">
@@ -6626,7 +6401,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (stringProp.hasDynamicValue() && pipelineMaker.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6635,7 +6410,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" stringProp.getDynamicValue(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6644,7 +6419,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" stringProp.getValue(),"
errorLine2=" ~~~~~~~~">
@@ -6653,7 +6428,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(stringProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -6662,7 +6437,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(stringProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -6671,7 +6446,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (degreesProp.hasDynamicValue() && pipelineMaker.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6680,7 +6455,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .addPipelineFor(degreesProp, degreesProp.getValue(), posId, consumer);"
errorLine2=" ~~~~~~~~">
@@ -6689,7 +6464,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(degreesProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -6698,7 +6473,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(degreesProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -6707,7 +6482,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (dpProp.hasDynamicValue() && pipelineMaker.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6716,7 +6491,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" pipelineMaker.get().addPipelineFor(dpProp, dpProp.getValue(), posId, consumer);"
errorLine2=" ~~~~~~~~">
@@ -6725,7 +6500,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(dpProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -6734,7 +6509,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(dpProp.getValue());"
errorLine2=" ~~~~~~~~">
@@ -6743,7 +6518,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (colorProp.hasDynamicValue() && pipelineMaker.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6752,7 +6527,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" pipelineMaker.get().addPipelineFor(colorProp, colorProp.getArgb(), posId, consumer);"
errorLine2=" ~~~~~~~">
@@ -6761,7 +6536,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(colorProp.getArgb());"
errorLine2=" ~~~~~~~">
@@ -6770,7 +6545,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" consumer.accept(colorProp.getArgb());"
errorLine2=" ~~~~~~~">
@@ -6779,7 +6554,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (stringProp.hasDynamicValue() && mDataPipeline.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6788,7 +6563,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (!stringProp.getValueForLayout().isEmpty()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6797,7 +6572,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DpProp dimension = spacerDimension.getLinearDimension();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6806,7 +6581,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (dimension.hasDynamicValue() && mDataPipeline.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6815,7 +6590,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (dimension.getValueForLayout() > 0f) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6824,7 +6599,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (degreesProp.hasDynamicValue() && mDataPipeline.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6833,7 +6608,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (degreesProp.getValueForLayout() > 0f) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6842,7 +6617,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (degreesProp.hasDynamicValue() && mDataPipeline.isPresent()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6851,7 +6626,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (degreesProp.getValueForLayout() > 0f) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6860,7 +6635,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return degreesProp.getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6869,7 +6644,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (containerWidth.hasWrappedDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6878,7 +6653,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (containerHeight.hasWrappedDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6887,7 +6662,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (element.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6896,7 +6671,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.COLUMN can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case COLUMN:"
errorLine2=" ~~~~~~">
@@ -6905,7 +6680,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getColumn().getWidth());"
errorLine2=" ~~~~~~~~">
@@ -6914,7 +6689,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getColumn().getWidth());"
errorLine2=" ~~~~~~~~~">
@@ -6923,7 +6698,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ROW can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ROW:"
errorLine2=" ~~~">
@@ -6932,7 +6707,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getRow().getWidth());"
errorLine2=" ~~~~~~">
@@ -6941,7 +6716,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getRow().getWidth());"
errorLine2=" ~~~~~~~~">
@@ -6950,7 +6725,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.BOX can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case BOX:"
errorLine2=" ~~~">
@@ -6959,7 +6734,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getBox().getWidth());"
errorLine2=" ~~~~~~~~">
@@ -6968,7 +6743,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getBox().getWidth());"
errorLine2=" ~~~~~~">
@@ -6977,7 +6752,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPACER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPACER:"
errorLine2=" ~~~~~~">
@@ -6986,7 +6761,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getSpacer().getWidth());"
errorLine2=" ~~~~~~~~~">
@@ -6995,7 +6770,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getSpacer().getWidth());"
errorLine2=" ~~~~~~~~">
@@ -7004,7 +6779,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.IMAGE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE:"
errorLine2=" ~~~~~">
@@ -7013,7 +6788,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Image img = element.getImage();"
errorLine2=" ~~~~~~~~">
@@ -7022,7 +6797,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (img.getWidth().hasProportionalDimension()) {"
errorLine2=" ~~~~~~~~">
@@ -7031,7 +6806,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (img.getWidth().hasProportionalDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7040,7 +6815,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" (containerHeight.hasExpandedDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7049,7 +6824,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || containerHeight.hasLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7058,7 +6833,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return img.getHeight().hasLinearDimension()"
errorLine2=" ~~~~~~~~~">
@@ -7067,7 +6842,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return img.getHeight().hasLinearDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7076,7 +6851,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || (img.getHeight().hasExpandedDimension() && isContainerHeightKnown);"
errorLine2=" ~~~~~~~~~">
@@ -7085,7 +6860,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || (img.getHeight().hasExpandedDimension() && isContainerHeightKnown);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7094,7 +6869,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getImage().getWidth());"
errorLine2=" ~~~~~~~~">
@@ -7103,7 +6878,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getImage().getWidth());"
errorLine2=" ~~~~~~~~">
@@ -7112,7 +6887,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ARC can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC:"
errorLine2=" ~~~">
@@ -7121,7 +6896,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.TEXT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT:"
errorLine2=" ~~~~">
@@ -7130,7 +6905,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPANNABLE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPANNABLE:"
errorLine2=" ~~~~~~~~~">
@@ -7139,7 +6914,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7148,7 +6923,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (element.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7157,7 +6932,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.COLUMN can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case COLUMN:"
errorLine2=" ~~~~~~">
@@ -7166,7 +6941,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getColumn().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7175,7 +6950,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getColumn().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7184,7 +6959,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ROW can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ROW:"
errorLine2=" ~~~">
@@ -7193,7 +6968,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getRow().getHeight());"
errorLine2=" ~~~~~~">
@@ -7202,7 +6977,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getRow().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7211,7 +6986,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.BOX can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case BOX:"
errorLine2=" ~~~">
@@ -7220,7 +6995,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getBox().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7229,7 +7004,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getBox().getHeight());"
errorLine2=" ~~~~~~">
@@ -7238,7 +7013,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPACER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPACER:"
errorLine2=" ~~~~~~">
@@ -7247,7 +7022,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getSpacer().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7256,7 +7031,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getSpacer().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7265,7 +7040,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.IMAGE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case IMAGE:"
errorLine2=" ~~~~~">
@@ -7274,7 +7049,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Image img = element.getImage();"
errorLine2=" ~~~~~~~~">
@@ -7283,7 +7058,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (img.getHeight().hasProportionalDimension()) {"
errorLine2=" ~~~~~~~~~">
@@ -7292,7 +7067,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (img.getHeight().hasProportionalDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7301,7 +7076,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" (containerWidth.hasExpandedDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7310,7 +7085,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || containerWidth.hasLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7319,7 +7094,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return img.getWidth().hasLinearDimension()"
errorLine2=" ~~~~~~~~">
@@ -7328,7 +7103,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return img.getWidth().hasLinearDimension()"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7337,7 +7112,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || (img.getWidth().hasExpandedDimension() && isContainerWidthKnown);"
errorLine2=" ~~~~~~~~">
@@ -7346,7 +7121,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || (img.getWidth().hasExpandedDimension() && isContainerWidthKnown);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7355,7 +7130,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getImage().getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -7364,7 +7139,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return isMeasurable(element.getImage().getHeight());"
errorLine2=" ~~~~~~~~">
@@ -7373,7 +7148,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ARC can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC:"
errorLine2=" ~~~">
@@ -7382,7 +7157,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.TEXT can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case TEXT:"
errorLine2=" ~~~~">
@@ -7391,7 +7166,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPANNABLE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPANNABLE:"
errorLine2=" ~~~~~~~~~">
@@ -7400,7 +7175,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7409,7 +7184,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (dimension.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7418,7 +7193,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7427,7 +7202,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.PROPORTIONAL_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case PROPORTIONAL_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -7436,7 +7211,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.EXPANDED_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case EXPANDED_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7445,7 +7220,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7454,7 +7229,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (dimension.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7463,7 +7238,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7472,7 +7247,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7481,7 +7256,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mLayoutProto.getRoot(),"
errorLine2=" ~~~~~~~">
@@ -7490,7 +7265,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.hasFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mLayoutProto.hasFingerprint()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -7499,7 +7274,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new RenderedMetadata(mLayoutProto.getFingerprint(), layoutInfoBuilder.build()));"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -7508,25 +7283,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" : checkNotNull("
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" prevLayoutInfo.getViewPropertiesFor(parentNodePosId));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutInflater.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" new RenderedMetadata(targetLayout.getFingerprint(), layoutInfoBuilder.build()),"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -7535,7 +7292,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" prevRenderedMetadata.getTreeFingerprint().getRoot(),"
errorLine2=" ~~~~~~~">
@@ -7544,7 +7301,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" prevRenderedMetadata.getTreeFingerprint().getRoot(),"
errorLine2=" ~~~~~~~">
@@ -7553,7 +7310,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.SEMANTICS_ROLE_IMAGE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SEMANTICS_ROLE_IMAGE:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7562,7 +7319,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.SEMANTICS_ROLE_BUTTON can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SEMANTICS_ROLE_BUTTON:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -7571,7 +7328,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.SEMANTICS_ROLE_CHECKBOX can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SEMANTICS_ROLE_CHECKBOX:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7580,7 +7337,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.SEMANTICS_ROLE_SWITCH can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SEMANTICS_ROLE_SWITCH:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -7589,7 +7346,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.SEMANTICS_ROLE_RADIOBUTTON can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SEMANTICS_ROLE_RADIOBUTTON:"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7598,7 +7355,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getRole can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" String className = roleToClassName(semantics.getRole());"
errorLine2=" ~~~~~~~">
@@ -7607,7 +7364,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.hasContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (semantics.hasContentDescription()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -7616,7 +7373,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" semantics.getContentDescription(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -7625,7 +7382,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getObsoleteContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" view.setContentDescription(semantics.getObsoleteContentDescription());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7634,7 +7391,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.hasStateDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (semantics.hasStateDescription()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7643,7 +7400,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getStateDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" semantics.getStateDescription(),"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7652,7 +7409,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" Action action = mClickable.getOnClick();"
errorLine2=" ~~~~~~~~~~">
@@ -7661,7 +7418,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getValueCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (action.getValueCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7670,7 +7427,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.LAUNCH_ACTION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LAUNCH_ACTION:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7679,7 +7436,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" action.getLaunchAction(),"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7688,7 +7445,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mClickable.getId(),"
errorLine2=" ~~~~~">
@@ -7697,7 +7454,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.LOAD_ACTION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LOAD_ACTION:"
errorLine2=" ~~~~~~~~~~~">
@@ -7706,7 +7463,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" action.getLoadAction(), mClickable.getId())));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7715,7 +7472,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" action.getLoadAction(), mClickable.getId())));"
errorLine2=" ~~~~~">
@@ -7724,7 +7481,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ValueCase.VALUE_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case VALUE_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7733,43 +7490,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" return checkNotNull(array.getFont(styleableResId));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutThemeImpl.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" return checkNotNull(array.getFont(styleableResId));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutThemeImpl.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(array.getString(styleableResId)), Typeface.NORMAL);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutThemeImpl.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(array.getString(styleableResId)), Typeface.NORMAL);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutThemeImpl.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.FONT_VARIANT_TITLE_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FontVariant.FONT_VARIANT_TITLE_VALUE,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7778,7 +7499,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.FONT_VARIANT_BODY_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FontVariant.FONT_VARIANT_BODY_VALUE,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7787,7 +7508,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.FONT_VARIANT_BODY_VALUE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" checkNotNull(mVariantToFontSet.get(FontVariant.FONT_VARIANT_BODY_VALUE));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7796,70 +7517,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mVariantToFontSet.get(FontVariant.FONT_VARIANT_BODY_VALUE));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutThemeImpl.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mVariantToFontSet.get(FontVariant.FONT_VARIANT_BODY_VALUE));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/inflater/ProtoLayoutThemeImpl.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull("
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" mNewInflateParentData.mInflateResult,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" TAG"
- errorLine2=" ^">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" return mInflater.applyMutation(checkNotNull(prevInflateParent), mMutation);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" return mInflater.applyMutation(checkNotNull(prevInflateParent), mMutation);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" prevRenderedMetadata.getTreeFingerprint(), layout.getFingerprint());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -7868,7 +7526,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" checkLayoutDepth(layout.getRoot(), MAX_LAYOUT_ELEMENT_DEPTH);"
errorLine2=" ~~~~~~~">
@@ -7877,106 +7535,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(prevRenderedMetadata);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(prevRenderedMetadata);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" if (!checkNotNull(mRenderFuture).isDone()) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" if (!checkNotNull(mRenderFuture).isDone()) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mRenderFuture).get(),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull(mRenderFuture).get(),"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" checkNotNull("
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" newInflateParentData.mInflateResult,"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" TAG"
- errorLine2=" ^">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" ProtoLayoutInflater.clearRenderedMetadata(checkNotNull(prevInflateParent));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.protolayout`)"
- errorLine1=" ProtoLayoutInflater.clearRenderedMetadata(checkNotNull(prevInflateParent));"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/protolayout/renderer/impl/ProtoLayoutViewInstance.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (layoutElement.getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7985,7 +7544,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.COLUMN can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case COLUMN:"
errorLine2=" ~~~~~~">
@@ -7994,7 +7553,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" children = layoutElement.getColumn().getContentsList();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8003,7 +7562,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" children = layoutElement.getColumn().getContentsList();"
errorLine2=" ~~~~~~~~~">
@@ -8012,7 +7571,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ROW can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ROW:"
errorLine2=" ~~~">
@@ -8021,7 +7580,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" children = layoutElement.getRow().getContentsList();"
errorLine2=" ~~~~~~">
@@ -8030,7 +7589,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" children = layoutElement.getRow().getContentsList();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8039,7 +7598,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.BOX can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case BOX:"
errorLine2=" ~~~">
@@ -8048,7 +7607,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" children = layoutElement.getBox().getContentsList();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8057,7 +7616,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" children = layoutElement.getBox().getContentsList();"
errorLine2=" ~~~~~~">
@@ -8066,7 +7625,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ARC can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case ARC:"
errorLine2=" ~~~">
@@ -8075,7 +7634,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" List<ArcLayoutElement> arcElements = layoutElement.getArc().getContentsList();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8084,7 +7643,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" List<ArcLayoutElement> arcElements = layoutElement.getArc().getContentsList();"
errorLine2=" ~~~~~~">
@@ -8093,7 +7652,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (element.getInnerCase() == InnerCase.ADAPTER) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -8102,7 +7661,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.ADAPTER can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (element.getInnerCase() == InnerCase.ADAPTER) {"
errorLine2=" ~~~~~~~">
@@ -8111,7 +7670,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" checkLayoutDepth(element.getAdapter().getContent(), allowedDepth - 1);"
errorLine2=" ~~~~~~~~~~">
@@ -8120,7 +7679,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" checkLayoutDepth(element.getAdapter().getContent(), allowedDepth - 1);"
errorLine2=" ~~~~~~~~~~">
@@ -8129,7 +7688,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.SPANNABLE can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case SPANNABLE:"
errorLine2=" ~~~~~~~~~">
@@ -8138,7 +7697,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (layoutElement.getSpannable().getSpansCount() > 0 && allowedDepth == 1) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -8147,7 +7706,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getSpansCount can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (layoutElement.getSpannable().getSpansCount() > 0 && allowedDepth == 1) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8156,7 +7715,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mProtoResources.getIdToImageMap().get(placeholderResourceId);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8165,7 +7724,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (placeholderImageResource.hasAndroidContentUri()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8174,7 +7733,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mProtoResources.getIdToImageMap().get(protoResourceId);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8183,7 +7742,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mProtoResources.getIdToImageMap().get(protoResourceId);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8192,7 +7751,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource != null && imageResource.hasAndroidAnimatedResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8201,7 +7760,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.getStartTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return imageResource.getAndroidAnimatedResourceByResId().getStartTrigger();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8210,7 +7769,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return imageResource.getAndroidAnimatedResourceByResId().getStartTrigger();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8219,7 +7778,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mProtoResources.getIdToImageMap().get(protoResourceId);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8228,7 +7787,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource != null && imageResource.hasAndroidSeekableAnimatedResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8237,7 +7796,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.getProgress can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return imageResource.getAndroidSeekableAnimatedResourceByResId().getProgress();"
errorLine2=" ~~~~~~~~~~~">
@@ -8246,7 +7805,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return imageResource.getAndroidSeekableAnimatedResourceByResId().getProgress();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8255,7 +7814,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource.hasAndroidAnimatedResourceByResId()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8264,7 +7823,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return resolver.getDrawableOrThrow(imageResource.getAndroidAnimatedResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8273,7 +7832,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource.hasAndroidSeekableAnimatedResourceByResId()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8282,7 +7841,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" imageResource.getAndroidSeekableAnimatedResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8291,7 +7850,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource.hasAndroidResourceByResId()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8300,7 +7859,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return resolver.getDrawableOrThrow(imageResource.getAndroidResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8309,7 +7868,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource.hasInlineResource() && mInlineImageResourceResolver != null) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8318,7 +7877,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return resolver.getDrawableOrThrow(imageResource.getInlineResource());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8327,7 +7886,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource.hasAndroidContentUri()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8336,7 +7895,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidContentUri can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return resolver.getDrawable(imageResource.getAndroidContentUri());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8345,7 +7904,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mProtoResources.getIdToImageMap().get(protoResourceId);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8354,7 +7913,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (imageResource.hasAndroidResourceByResId()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8363,7 +7922,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || imageResource.hasAndroidAnimatedResourceByResId()"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8372,7 +7931,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" || imageResource.hasAndroidSeekableAnimatedResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8381,7 +7940,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mProtoResources.getIdToImageMap().get(originalResourceId);"
errorLine2=" ~~~~~~~~~~~~~~~">
diff --git a/wear/protolayout/protolayout/lint-baseline.xml b/wear/protolayout/protolayout/lint-baseline.xml
index d76ba1b..2466ac7 100644
--- a/wear/protolayout/protolayout/lint-baseline.xml
+++ b/wear/protolayout/protolayout/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidStringExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setStringVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setStringVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidStringExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.AndroidStringExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidIntExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setIntVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setIntVal(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidIntExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.AndroidIntExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidLongExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setLongVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setLongVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidLongExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.AndroidLongExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidDoubleExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setDoubleVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setDoubleVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidDoubleExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.AndroidDoubleExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidBooleanExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setBooleanVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setBooleanVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidBooleanExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.AndroidBooleanExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasStringVal()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidStringExtra.fromProto(proto.getStringVal(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasIntVal()) {"
errorLine2=" ~~~~~~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidIntExtra.fromProto(proto.getIntVal(), fingerprint);"
errorLine2=" ~~~~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLongVal()) {"
errorLine2=" ~~~~~~~~~~">
@@ -272,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidLongExtra.fromProto(proto.getLongVal(), fingerprint);"
errorLine2=" ~~~~~~~~~~">
@@ -281,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasDoubleVal()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -290,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidDoubleExtra.fromProto(proto.getDoubleVal(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~">
@@ -299,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasBooleanVal()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -308,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidBooleanExtra.fromProto(proto.getBooleanVal(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -317,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getPackageName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getPackageName();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -326,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getClassName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getClassName();"
errorLine2=" ~~~~~~~~~~~~">
@@ -335,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getKeyToExtraMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.getKeyToExtraMap().entrySet()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -344,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.AndroidActivity.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -353,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPackageName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setPackageName(packageName);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -362,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClassName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setClassName(className);"
errorLine2=" ~~~~~~~~~~~~">
@@ -371,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putKeyToExtra can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.putKeyToExtra(key, extra.toAndroidExtraProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -380,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.hasAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAndroidActivity()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -389,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.getAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidActivity.fromProto(mImpl.getAndroidActivity());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -398,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.Action.newBuilder().setLaunchAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -407,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.Action.newBuilder().setLaunchAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -416,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.LaunchAction.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -425,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAndroidActivity(androidActivity.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -434,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.hasRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasRequestState()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -443,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.getRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return State.fromProto(mImpl.getRequestState());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -452,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.Action.newBuilder().setLoadAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -461,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionProto.Action.newBuilder().setLoadAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -470,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ActionProto.LoadAction.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -479,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRequestState(requestState.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -488,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.hasLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLaunchAction()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -497,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LaunchAction.fromProto(proto.getLaunchAction(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -506,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.hasLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLoadAction()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -515,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LoadAction.fromProto(proto.getLoadAction(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -524,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getArgb();"
errorLine2=" ~~~~~~~">
@@ -533,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -542,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicColorFromProto(mImpl.getDynamicValue());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -551,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final ColorProto.ColorProp.Builder mImpl = ColorProto.ColorProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -560,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setArgb(argb);"
errorLine2=" ~~~~~~~">
@@ -569,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDynamicValue(dynamicValue.toDynamicColorProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -578,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasArgb()) {"
errorLine2=" ~~~~~~~">
@@ -587,7 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasArgb()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -596,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenWidthDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getScreenWidthDp();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -605,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenHeightDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getScreenHeightDp();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -614,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenDensity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getScreenDensity();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -623,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getFontScale can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getFontScale();"
errorLine2=" ~~~~~~~~~~~~">
@@ -632,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getDevicePlatform can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getDevicePlatform().getNumber();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -641,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DevicePlatform.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getDevicePlatform().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -650,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenShape can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getScreenShape().getNumber();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -659,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ScreenShape.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getScreenShape().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -668,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.hasRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasRendererSchemaVersion()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -677,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return VersionInfo.fromProto(mImpl.getRendererSchemaVersion());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.hasCapabilities can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasCapabilities()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getCapabilities can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Capabilities.fromProto(mImpl.getCapabilities());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DeviceParametersProto.DeviceParameters.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenWidthDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setScreenWidthDp(screenWidthDp);"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenHeightDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setScreenHeightDp(screenHeightDp);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenDensity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setScreenDensity(screenDensity);"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -740,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontScale can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFontScale(fontScale);"
errorLine2=" ~~~~~~~~~~~~">
@@ -749,7 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDevicePlatform can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDevicePlatform("
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -758,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DevicePlatform.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DeviceParametersProto.DevicePlatform.forNumber(devicePlatform));"
errorLine2=" ~~~~~~~~~">
@@ -767,7 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenShape can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setScreenShape(DeviceParametersProto.ScreenShape.forNumber(screenShape));"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -776,7 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ScreenShape.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setScreenShape(DeviceParametersProto.ScreenShape.forNumber(screenShape));"
errorLine2=" ~~~~~~~~~">
@@ -785,7 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRendererSchemaVersion(rendererSchemaVersion.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -794,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCapabilities can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setCapabilities(capabilities.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -803,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Capabilities.getMinimumFreshnessLimitMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getMinimumFreshnessLimitMillis();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -812,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Capabilities.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DeviceParametersProto.Capabilities.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -821,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMinimumFreshnessLimitMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMinimumFreshnessLimitMillis(minimumFreshnessLimitMillis);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -830,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -839,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -848,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicFloatFromProto(mImpl.getDynamicValue());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -857,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -866,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -875,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -884,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -893,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.SpacerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -902,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.SpacerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -911,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ExtensionDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -920,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ExtensionDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -929,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final DimensionProto.DpProp.Builder mImpl = DimensionProto.DpProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -938,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(staticValue);"
errorLine2=" ~~~~~~~~">
@@ -947,7 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDynamicValue(dynamicValue.toDynamicFloatProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -956,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -965,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~">
@@ -974,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -983,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.SpacerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -992,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.SpacerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1001,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DpProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1010,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValueForLayout(value);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1019,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getHorizontalAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getHorizontalAlignmentForLayoutValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1028,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHorizontalAlignmentForLayoutValue(horizontalAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1037,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getVerticalAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getVerticalAlignmentForLayoutValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1046,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVerticalAlignmentForLayoutValue(verticalAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1055,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1064,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final DimensionProto.SpProp.Builder mImpl = DimensionProto.SpProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1073,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -1082,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1091,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final DimensionProto.EmProp.Builder mImpl = DimensionProto.EmProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1100,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -1109,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1118,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1127,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicFloatFromProto(mImpl.getDynamicValue());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1136,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DegreesProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1145,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(staticValue);"
errorLine2=" ~~~~~~~~">
@@ -1154,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDynamicValue(dynamicValue.toDynamicFloatProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1163,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1172,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~">
@@ -1181,7 +1181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1190,7 +1190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getAngularAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAngularAlignmentForLayoutValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1199,7 +1199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DegreesProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1208,7 +1208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValueForLayout(value);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1217,7 +1217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAngularAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAngularAlignmentForLayoutValue(angularAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1226,7 +1226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.hasLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLayoutWeight()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1235,7 +1235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.getLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FloatProp.fromProto(mImpl.getLayoutWeight());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1244,7 +1244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1253,7 +1253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setExpandedDimension(mImpl)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1262,7 +1262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setExpandedDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1271,7 +1271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setExpandedDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1280,7 +1280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.ExpandedDimensionProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1289,7 +1289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLayoutWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setLayoutWeight(layoutWeight.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -1298,7 +1298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.hasMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasMinimumSize()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1307,7 +1307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.getMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getMinimumSize());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1316,7 +1316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1325,7 +1325,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setWrappedDimension(mImpl)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1334,7 +1334,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.WrappedDimensionProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1343,7 +1343,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMinimumSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMinimumSize(minimumSize.toProto());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1352,7 +1352,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.getAspectRatioWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAspectRatioWidth();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1361,7 +1361,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.getAspectRatioHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAspectRatioHeight();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1370,7 +1370,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1379,7 +1379,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setProportionalDimension(mImpl)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1388,7 +1388,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.ProportionalDimensionProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1397,7 +1397,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAspectRatioWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAspectRatioWidth(aspectRatioWidth);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1406,7 +1406,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAspectRatioHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAspectRatioHeight(aspectRatioHeight);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1415,7 +1415,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1424,7 +1424,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1433,7 +1433,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasExpandedDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1442,7 +1442,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ExpandedDimensionProp.fromProto(proto.getExpandedDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1451,7 +1451,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasWrappedDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1460,7 +1460,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return WrappedDimensionProp.fromProto(proto.getWrappedDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1469,7 +1469,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1478,7 +1478,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1487,7 +1487,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasExpandedDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1496,7 +1496,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ExpandedDimensionProp.fromProto(proto.getExpandedDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1505,7 +1505,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasProportionalDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1514,7 +1514,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" proto.getProportionalDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1523,7 +1523,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1532,7 +1532,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1541,7 +1541,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1550,7 +1550,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1559,7 +1559,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1568,7 +1568,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1577,7 +1577,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.FontWeightProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1586,7 +1586,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontWeight.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1595,7 +1595,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontWeight.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1604,7 +1604,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1613,7 +1613,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1622,7 +1622,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.FontVariantProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1631,7 +1631,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontVariant.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1640,7 +1640,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontVariant.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1649,7 +1649,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1658,7 +1658,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1667,7 +1667,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.SpanVerticalAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1676,7 +1676,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.SpanVerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1685,7 +1685,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.SpanVerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1694,7 +1694,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasSize()) {"
errorLine2=" ~~~~~~~">
@@ -1703,7 +1703,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpProp.fromProto(mImpl.getSize());"
errorLine2=" ~~~~~~~">
@@ -1712,7 +1712,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasItalic()) {"
errorLine2=" ~~~~~~~~~">
@@ -1721,7 +1721,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return BoolProp.fromProto(mImpl.getItalic());"
errorLine2=" ~~~~~~~~~">
@@ -1730,7 +1730,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasUnderline()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1739,7 +1739,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return BoolProp.fromProto(mImpl.getUnderline());"
errorLine2=" ~~~~~~~~~~~~">
@@ -1748,7 +1748,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -1757,7 +1757,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -1766,7 +1766,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -1775,7 +1775,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FontWeightProp.fromProto(mImpl.getWeight());"
errorLine2=" ~~~~~~~~~">
@@ -1784,7 +1784,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLetterSpacing()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1793,7 +1793,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return EmProp.fromProto(mImpl.getLetterSpacing());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1802,7 +1802,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasVariant()) {"
errorLine2=" ~~~~~~~~~~">
@@ -1811,7 +1811,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FontVariantProp.fromProto(mImpl.getVariant());"
errorLine2=" ~~~~~~~~~~">
@@ -1820,7 +1820,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.FontStyle.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1829,7 +1829,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSize(size.toProto());"
errorLine2=" ~~~~~~~">
@@ -1838,7 +1838,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setItalic(italic.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -1847,7 +1847,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setUnderline(underline.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -1856,7 +1856,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -1865,7 +1865,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWeight(weight.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -1874,7 +1874,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setLetterSpacing(letterSpacing.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1883,7 +1883,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVariant(variant.toProto());"
errorLine2=" ~~~~~~~~~~">
@@ -1892,7 +1892,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVariant("
errorLine2=" ~~~~~~~~~~">
@@ -1901,7 +1901,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.FontVariantProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1910,7 +1910,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setValue(LayoutElementProto.FontVariant.forNumber(variant)));"
errorLine2=" ~~~~~~~~">
@@ -1919,7 +1919,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setValue(LayoutElementProto.FontVariant.forNumber(variant)));"
errorLine2=" ~~~~~~~~~">
@@ -1928,7 +1928,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1937,7 +1937,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1946,7 +1946,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.TextOverflowProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1955,7 +1955,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.TextOverflow.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1964,7 +1964,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.TextOverflow.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1973,7 +1973,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.getIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getIterations();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -1982,7 +1982,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.MarqueeParameters.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1991,7 +1991,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setIterations(iterations);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2000,7 +2000,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidTextStyle.getExcludeFontPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getExcludeFontPadding();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2009,7 +2009,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidTextStyle.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.AndroidTextStyle.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2018,7 +2018,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExcludeFontPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setExcludeFontPadding(excludeFontPadding);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2027,7 +2027,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -2036,7 +2036,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -2045,7 +2045,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -2054,7 +2054,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringLayoutConstraint.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -2063,7 +2063,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2072,7 +2072,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FontStyle.fromProto(mImpl.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2081,7 +2081,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2090,7 +2090,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2099,7 +2099,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasMaxLines()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -2108,7 +2108,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Int32Prop.fromProto(mImpl.getMaxLines());"
errorLine2=" ~~~~~~~~~~~">
@@ -2117,7 +2117,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasMultilineAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2126,7 +2126,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TextAlignmentProp.fromProto(mImpl.getMultilineAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2135,7 +2135,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasOverflow()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -2144,7 +2144,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TextOverflowProp.fromProto(mImpl.getOverflow());"
errorLine2=" ~~~~~~~~~~~">
@@ -2153,7 +2153,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLineHeight()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2162,7 +2162,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpProp.fromProto(mImpl.getLineHeight());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2171,7 +2171,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAndroidTextStyle()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2180,7 +2180,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidTextStyle.fromProto(mImpl.getAndroidTextStyle());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2189,7 +2189,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.getIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getMarqueeParameters().getIterations();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2198,7 +2198,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMarqueeParameters can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getMarqueeParameters().getIterations();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2207,7 +2207,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -2216,7 +2216,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -2225,7 +2225,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Text.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2234,7 +2234,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeText(text.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -2243,7 +2243,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeText(stringLayoutConstraint.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -2252,7 +2252,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFontStyle(fontStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2261,7 +2261,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2270,7 +2270,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMaxLines(maxLines.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -2279,7 +2279,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMultilineAlignment(multilineAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2288,7 +2288,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setOverflow(overflow.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -2297,7 +2297,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setLineHeight(lineHeight.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2306,7 +2306,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAndroidTextStyle(androidTextStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2315,7 +2315,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMarqueeParameters can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMarqueeParameters("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2324,7 +2324,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.MarqueeParameters.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2333,7 +2333,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setIterations(marqueeIterations));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2342,7 +2342,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TypesProto.StringProp text = mImpl.getText();"
errorLine2=" ~~~~~~~">
@@ -2351,7 +2351,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasDynamicValue() && !text.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2360,7 +2360,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.hasValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (text.hasDynamicValue() && !text.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2369,7 +2369,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -2378,7 +2378,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleModeProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -2387,7 +2387,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleModeProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ContentScaleModeProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2396,7 +2396,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.ContentScaleMode.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -2405,7 +2405,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.ContentScaleMode.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -2414,7 +2414,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.hasTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasTint()) {"
errorLine2=" ~~~~~~~">
@@ -2423,7 +2423,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.getTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ColorProp.fromProto(mImpl.getTint());"
errorLine2=" ~~~~~~~">
@@ -2432,7 +2432,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ColorFilter.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2441,7 +2441,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTint(tint.toProto());"
errorLine2=" ~~~~~~~">
@@ -2450,7 +2450,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasResourceId()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2459,7 +2459,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getResourceId());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2468,7 +2468,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -2477,7 +2477,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.imageDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -2486,7 +2486,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -2495,7 +2495,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.imageDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -2504,7 +2504,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasContentScaleMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2513,7 +2513,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ContentScaleModeProp.fromProto(mImpl.getContentScaleMode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2522,7 +2522,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2531,7 +2531,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2540,7 +2540,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasColorFilter()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2549,7 +2549,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ColorFilter.fromProto(mImpl.getColorFilter());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2558,7 +2558,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~">
@@ -2567,7 +2567,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -2576,7 +2576,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Image.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2585,7 +2585,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setResourceId(resourceId.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2594,7 +2594,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toImageDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -2603,7 +2603,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toImageDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -2612,7 +2612,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setContentScaleMode(contentScaleMode.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2621,7 +2621,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2630,7 +2630,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setColorFilter(colorFilter.toProto());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -2639,7 +2639,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -2648,7 +2648,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.spacerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -2657,7 +2657,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.getWidth().hasLinearDimension()) {"
errorLine2=" ~~~~~~~~">
@@ -2666,7 +2666,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.getWidth().hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2675,7 +2675,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return HorizontalLayoutConstraint.fromProto(mImpl.getWidth().getLinearDimension());"
errorLine2=" ~~~~~~~~">
@@ -2684,7 +2684,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return HorizontalLayoutConstraint.fromProto(mImpl.getWidth().getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2693,7 +2693,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -2702,7 +2702,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.spacerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -2711,7 +2711,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.getHeight().hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~">
@@ -2720,7 +2720,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.getHeight().hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2729,7 +2729,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return VerticalLayoutConstraint.fromProto(mImpl.getHeight().getLinearDimension());"
errorLine2=" ~~~~~~~~~">
@@ -2738,7 +2738,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return VerticalLayoutConstraint.fromProto(mImpl.getHeight().getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2747,7 +2747,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2756,7 +2756,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2765,7 +2765,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -2774,7 +2774,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -2783,7 +2783,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Spacer.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2792,7 +2792,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeWidth(width.toSpacerDimensionProto());"
errorLine2=" ~~~~~~~~~~">
@@ -2801,7 +2801,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (mImpl.getWidth().getInnerCase()) {"
errorLine2=" ~~~~~~~~">
@@ -2810,7 +2810,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (mImpl.getWidth().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2819,7 +2819,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2828,7 +2828,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2837,7 +2837,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeWidth(horizontalLayoutConstraint.toSpacerDimensionProto());"
errorLine2=" ~~~~~~~~~~">
@@ -2846,7 +2846,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toSpacerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -2855,7 +2855,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (mImpl.getHeight().getInnerCase()) {"
errorLine2=" ~~~~~~~~~">
@@ -2864,7 +2864,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getInnerCase can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" switch (mImpl.getHeight().getInnerCase()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2873,7 +2873,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.INNER_NOT_SET can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case INNER_NOT_SET:"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2882,7 +2882,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InnerCase.LINEAR_DIMENSION can only be accessed from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" case LINEAR_DIMENSION:"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2891,7 +2891,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeHeight(verticalLayoutConstraint.toSpacerDimensionProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -2900,7 +2900,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2909,7 +2909,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DpProp width = mImpl.getWidth().getLinearDimension();"
errorLine2=" ~~~~~~~~">
@@ -2918,7 +2918,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DpProp width = mImpl.getWidth().getLinearDimension();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2927,7 +2927,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (width.hasDynamicValue() && !width.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2936,7 +2936,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (width.hasDynamicValue() && !width.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2945,7 +2945,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DpProp height = mImpl.getHeight().getLinearDimension();"
errorLine2=" ~~~~~~~~~">
@@ -2954,7 +2954,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DpProp height = mImpl.getHeight().getLinearDimension();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -2963,7 +2963,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (height.hasDynamicValue() && !height.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2972,7 +2972,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.hasValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (height.hasDynamicValue() && !height.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -2981,7 +2981,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (LayoutElementProto.LayoutElement item : mImpl.getContentsList()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -2990,7 +2990,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -2999,7 +2999,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -3008,7 +3008,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -3017,7 +3017,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -3026,7 +3026,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHorizontalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3035,7 +3035,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return HorizontalAlignmentProp.fromProto(mImpl.getHorizontalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3044,7 +3044,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasVerticalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3053,7 +3053,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return VerticalAlignmentProp.fromProto(mImpl.getVerticalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3062,7 +3062,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3071,7 +3071,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3080,7 +3080,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setBox(mImpl).build();"
errorLine2=" ~~~~~~">
@@ -3089,7 +3089,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setBox(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3098,7 +3098,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Box.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3107,7 +3107,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.addContents(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3116,7 +3116,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -3125,7 +3125,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -3134,7 +3134,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHorizontalAlignment(horizontalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3143,7 +3143,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVerticalAlignment(verticalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3152,7 +3152,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3161,7 +3161,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -3170,7 +3170,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -3179,7 +3179,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3188,7 +3188,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FontStyle.fromProto(mImpl.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3197,7 +3197,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3206,7 +3206,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpanModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3215,7 +3215,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAndroidTextStyle()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3224,7 +3224,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidTextStyle.fromProto(mImpl.getAndroidTextStyle());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3233,7 +3233,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -3242,7 +3242,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3251,7 +3251,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.SpanText.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3260,7 +3260,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setText(text.toProto());"
errorLine2=" ~~~~~~~">
@@ -3269,7 +3269,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFontStyle(fontStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3278,7 +3278,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3287,7 +3287,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidTextStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAndroidTextStyle(androidTextStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3296,7 +3296,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasResourceId()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3305,7 +3305,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getResourceId());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3314,7 +3314,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -3323,7 +3323,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -3332,7 +3332,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -3341,7 +3341,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -3350,7 +3350,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3359,7 +3359,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpanModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3368,7 +3368,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAlignment()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3377,7 +3377,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpanVerticalAlignmentProp.fromProto(mImpl.getAlignment());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3386,7 +3386,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~">
@@ -3395,7 +3395,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3404,7 +3404,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.SpanImage.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3413,7 +3413,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setResourceId(resourceId.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3422,7 +3422,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toProto());"
errorLine2=" ~~~~~~~~">
@@ -3431,7 +3431,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -3440,7 +3440,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3449,7 +3449,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAlignment(alignment.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3458,7 +3458,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -3467,7 +3467,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpanText.fromProto(proto.getText(), fingerprint);"
errorLine2=" ~~~~~~~">
@@ -3476,7 +3476,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.hasImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasImage()) {"
errorLine2=" ~~~~~~~~">
@@ -3485,7 +3485,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpanImage.fromProto(proto.getImage(), fingerprint);"
errorLine2=" ~~~~~~~~">
@@ -3494,7 +3494,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getSpansList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (LayoutElementProto.Span item : mImpl.getSpansList()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3503,7 +3503,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3512,7 +3512,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3521,7 +3521,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasMaxLines()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -3530,7 +3530,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Int32Prop.fromProto(mImpl.getMaxLines());"
errorLine2=" ~~~~~~~~~~~">
@@ -3539,7 +3539,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasMultilineAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3548,7 +3548,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return HorizontalAlignmentProp.fromProto(mImpl.getMultilineAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3557,7 +3557,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasOverflow()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -3566,7 +3566,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TextOverflowProp.fromProto(mImpl.getOverflow());"
errorLine2=" ~~~~~~~~~~~">
@@ -3575,7 +3575,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLineHeight()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3584,7 +3584,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SpProp.fromProto(mImpl.getLineHeight());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3593,7 +3593,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.getIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getMarqueeParameters().getIterations();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3602,7 +3602,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMarqueeParameters can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getMarqueeParameters().getIterations();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3611,7 +3611,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpannable(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -3620,7 +3620,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpannable(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3629,7 +3629,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Spannable.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3638,7 +3638,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addSpans can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.addSpans(span.toSpanProto());"
errorLine2=" ~~~~~~~~">
@@ -3647,7 +3647,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3656,7 +3656,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMaxLines(maxLines.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3665,7 +3665,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMultilineAlignment(multilineAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3674,7 +3674,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setOverflow(overflow.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3683,7 +3683,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setLineHeight(lineHeight.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3692,7 +3692,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMarqueeParameters can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMarqueeParameters("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3701,7 +3701,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="MarqueeParameters.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.MarqueeParameters.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -3710,7 +3710,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIterations can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setIterations(marqueeIterations));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3719,7 +3719,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (LayoutElementProto.LayoutElement item : mImpl.getContentsList()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3728,7 +3728,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHorizontalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3737,7 +3737,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return HorizontalAlignmentProp.fromProto(mImpl.getHorizontalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3746,7 +3746,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -3755,7 +3755,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -3764,7 +3764,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -3773,7 +3773,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -3782,7 +3782,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3791,7 +3791,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3800,7 +3800,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setColumn(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -3809,7 +3809,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setColumn(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3818,7 +3818,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Column.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3827,7 +3827,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.addContents(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3836,7 +3836,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHorizontalAlignment(horizontalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3845,7 +3845,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -3854,7 +3854,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -3863,7 +3863,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3872,7 +3872,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (LayoutElementProto.LayoutElement item : mImpl.getContentsList()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -3881,7 +3881,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasVerticalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3890,7 +3890,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return VerticalAlignmentProp.fromProto(mImpl.getVerticalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3899,7 +3899,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -3908,7 +3908,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -3917,7 +3917,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -3926,7 +3926,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -3935,7 +3935,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3944,7 +3944,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3953,7 +3953,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setRow(mImpl).build();"
errorLine2=" ~~~~~~">
@@ -3962,7 +3962,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setRow(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3971,7 +3971,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Row.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3980,7 +3980,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.addContents(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3989,7 +3989,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVerticalAlignment(verticalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3998,7 +3998,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVerticalAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4007,7 +4007,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AlignmentProto.VerticalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -4016,7 +4016,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -4025,7 +4025,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AlignmentProto.VerticalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -4034,7 +4034,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -4043,7 +4043,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -4052,7 +4052,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4061,7 +4061,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (LayoutElementProto.ArcLayoutElement item : mImpl.getContentsList()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4070,7 +4070,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAnchorAngle()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -4079,7 +4079,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DegreesProp.fromProto(mImpl.getAnchorAngle());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -4088,7 +4088,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAnchorType()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4097,7 +4097,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcAnchorTypeProp.fromProto(mImpl.getAnchorType());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4106,7 +4106,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasVerticalAlign()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4115,7 +4115,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return VerticalAlignmentProp.fromProto(mImpl.getVerticalAlign());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4124,7 +4124,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4133,7 +4133,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4142,7 +4142,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setArc(mImpl).build();"
errorLine2=" ~~~~~~">
@@ -4151,7 +4151,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setArc(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4160,7 +4160,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Arc.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4169,7 +4169,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.addContents(content.toArcLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -4178,7 +4178,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnchorAngle(anchorAngle.toProto());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -4187,7 +4187,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnchorType(anchorType.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4196,7 +4196,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVerticalAlign(verticalAlign.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -4205,7 +4205,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4214,7 +4214,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -4223,7 +4223,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -4232,7 +4232,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4241,7 +4241,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FontStyle.fromProto(mImpl.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4250,7 +4250,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4259,7 +4259,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4268,7 +4268,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4277,7 +4277,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -4286,7 +4286,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ArcText.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4295,7 +4295,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setText(text.toProto());"
errorLine2=" ~~~~~~~">
@@ -4304,7 +4304,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFontStyle(fontStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4313,7 +4313,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4322,7 +4322,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLength()) {"
errorLine2=" ~~~~~~~~~">
@@ -4331,7 +4331,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DegreesProp.fromProto(mImpl.getLength());"
errorLine2=" ~~~~~~~~~">
@@ -4340,7 +4340,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLength()) {"
errorLine2=" ~~~~~~~~~">
@@ -4349,7 +4349,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AngularLayoutConstraint.fromProto(mImpl.getLength());"
errorLine2=" ~~~~~~~~~">
@@ -4358,7 +4358,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasThickness()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4367,7 +4367,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getThickness());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4376,7 +4376,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -4385,7 +4385,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -4394,7 +4394,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4403,7 +4403,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4412,7 +4412,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasStrokeCap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasStrokeCap()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4421,7 +4421,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getStrokeCap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StrokeCapProp.fromProto(mImpl.getStrokeCap());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4430,7 +4430,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setLine(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4439,7 +4439,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setLine(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -4448,7 +4448,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ArcLine.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4457,7 +4457,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeLength(length.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -4466,7 +4466,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.mergeLength(angularLayoutConstraint.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -4475,7 +4475,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setThickness(thickness.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4484,7 +4484,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -4493,7 +4493,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4502,7 +4502,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStrokeCap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setStrokeCap(strokeCap.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4511,7 +4511,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" DimensionProto.DegreesProp length = mImpl.getLength();"
errorLine2=" ~~~~~~~~~">
@@ -4520,7 +4520,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (length.hasDynamicValue() && !length.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4529,7 +4529,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.hasValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (length.hasDynamicValue() && !length.hasValueForLayout()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4538,7 +4538,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -4547,7 +4547,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCapProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -4556,7 +4556,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCapProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.StrokeCapProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4565,7 +4565,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.StrokeCap.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -4574,7 +4574,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StrokeCap.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(LayoutElementProto.StrokeCap.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -4583,7 +4583,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLength()) {"
errorLine2=" ~~~~~~~~~">
@@ -4592,7 +4592,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DegreesProp.fromProto(mImpl.getLength());"
errorLine2=" ~~~~~~~~~">
@@ -4601,7 +4601,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasThickness()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4610,7 +4610,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getThickness());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4619,7 +4619,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4628,7 +4628,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4637,7 +4637,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4646,7 +4646,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -4655,7 +4655,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ArcSpacer.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4664,7 +4664,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setLength(length.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -4673,7 +4673,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setThickness(thickness.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4682,7 +4682,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4691,7 +4691,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.hasContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasContent()) {"
errorLine2=" ~~~~~~~~~~">
@@ -4700,7 +4700,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementBuilders.layoutElementFromProto(mImpl.getContent());"
errorLine2=" ~~~~~~~~~~">
@@ -4709,7 +4709,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.hasRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasRotateContents()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4718,7 +4718,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return BoolProp.fromProto(mImpl.getRotateContents());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4727,7 +4727,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setAdapter(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4736,7 +4736,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setAdapter(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4745,7 +4745,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ArcAdapter.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4754,7 +4754,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setContent(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~">
@@ -4763,7 +4763,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRotateContents(rotateContents.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -4772,7 +4772,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getPayload can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getPayload().toByteArray();"
errorLine2=" ~~~~~~~~~~">
@@ -4781,7 +4781,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getExtensionId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getExtensionId();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -4790,7 +4790,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -4799,7 +4799,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.extensionDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -4808,7 +4808,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -4817,7 +4817,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DimensionBuilders.extensionDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -4826,7 +4826,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExtension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setExtension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -4835,7 +4835,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setExtension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4844,7 +4844,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExtensionLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.ExtensionLayoutElement.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4853,7 +4853,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPayload can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setPayload(ByteString.copyFrom(payload));"
errorLine2=" ~~~~~~~~~~">
@@ -4862,7 +4862,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExtensionId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setExtensionId(extensionId);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -4871,7 +4871,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toExtensionDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -4880,7 +4880,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeight(height.toExtensionDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -4889,7 +4889,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasColumn()) {"
errorLine2=" ~~~~~~~~~">
@@ -4898,7 +4898,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Column.fromProto(proto.getColumn(), fingerprint);"
errorLine2=" ~~~~~~~~~">
@@ -4907,7 +4907,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasRow()) {"
errorLine2=" ~~~~~~">
@@ -4916,7 +4916,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Row.fromProto(proto.getRow(), fingerprint);"
errorLine2=" ~~~~~~">
@@ -4925,7 +4925,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasBox()) {"
errorLine2=" ~~~~~~">
@@ -4934,7 +4934,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Box.fromProto(proto.getBox(), fingerprint);"
errorLine2=" ~~~~~~">
@@ -4943,7 +4943,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasSpacer()) {"
errorLine2=" ~~~~~~~~~">
@@ -4952,7 +4952,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Spacer.fromProto(proto.getSpacer(), fingerprint);"
errorLine2=" ~~~~~~~~~">
@@ -4961,7 +4961,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -4970,7 +4970,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Text.fromProto(proto.getText(), fingerprint);"
errorLine2=" ~~~~~~~">
@@ -4979,7 +4979,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasImage()) {"
errorLine2=" ~~~~~~~~">
@@ -4988,7 +4988,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Image.fromProto(proto.getImage(), fingerprint);"
errorLine2=" ~~~~~~~~">
@@ -4997,7 +4997,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasArc()) {"
errorLine2=" ~~~~~~">
@@ -5006,7 +5006,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Arc.fromProto(proto.getArc(), fingerprint);"
errorLine2=" ~~~~~~">
@@ -5015,7 +5015,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasSpannable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5024,7 +5024,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Spannable.fromProto(proto.getSpannable(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~">
@@ -5033,7 +5033,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasExtension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasExtension()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5042,7 +5042,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getExtension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ExtensionLayoutElement.fromProto(proto.getExtension(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~">
@@ -5051,7 +5051,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -5060,7 +5060,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcText.fromProto(proto.getText(), fingerprint);"
errorLine2=" ~~~~~~~">
@@ -5069,7 +5069,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasLine()) {"
errorLine2=" ~~~~~~~">
@@ -5078,7 +5078,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcLine.fromProto(proto.getLine(), fingerprint);"
errorLine2=" ~~~~~~~">
@@ -5087,7 +5087,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasSpacer()) {"
errorLine2=" ~~~~~~~~~">
@@ -5096,7 +5096,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcSpacer.fromProto(proto.getSpacer(), fingerprint);"
errorLine2=" ~~~~~~~~~">
@@ -5105,7 +5105,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasAdapter()) {"
errorLine2=" ~~~~~~~~~~">
@@ -5114,7 +5114,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ArcAdapter.fromProto(proto.getAdapter(), fingerprint);"
errorLine2=" ~~~~~~~~~~">
@@ -5123,7 +5123,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.hasRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasRoot()) {"
errorLine2=" ~~~~~~~">
@@ -5132,7 +5132,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return LayoutElementBuilders.layoutElementFromProto(mImpl.getRoot());"
errorLine2=" ~~~~~~~">
@@ -5141,7 +5141,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.parseFrom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return fromProto(LayoutElementProto.Layout.parseFrom(byteArray));"
errorLine2=" ~~~~~~~~~">
@@ -5150,7 +5150,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" LayoutElementProto.Layout.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5159,7 +5159,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRoot(root.toLayoutElementProto());"
errorLine2=" ~~~~~~~">
@@ -5168,7 +5168,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFingerprint("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -5177,7 +5177,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TreeFingerprint.newBuilder().setRoot(fingerprintToProto(fingerprint)));"
errorLine2=" ~~~~~~~">
@@ -5186,7 +5186,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TreeFingerprint.newBuilder().setRoot(fingerprintToProto(fingerprint)));"
errorLine2=" ~~~~~~~~~~">
@@ -5195,7 +5195,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" FingerprintProto.NodeFingerprint.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5204,7 +5204,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSelfTypeValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" builder.setSelfTypeValue(fingerprint.selfTypeValue());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -5213,7 +5213,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" builder.setSelfPropsValue(fingerprint.selfPropsValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -5222,7 +5222,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" builder.setChildNodesValue(fingerprint.childNodesValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -5231,7 +5231,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addChildNodes can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" builder.addChildNodes(fingerprintToProto(childNode));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5240,7 +5240,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -5249,7 +5249,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -5258,7 +5258,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AlignmentProto.HorizontalAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5267,7 +5267,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.HorizontalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -5276,7 +5276,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.HorizontalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -5285,7 +5285,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -5294,7 +5294,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -5303,7 +5303,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AlignmentProto.VerticalAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5312,7 +5312,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.VerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -5321,7 +5321,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.VerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -5330,7 +5330,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -5339,7 +5339,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -5348,7 +5348,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AlignmentProto.TextAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5357,7 +5357,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.TextAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -5366,7 +5366,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.TextAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -5375,7 +5375,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -5384,7 +5384,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorTypeProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -5393,7 +5393,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorTypeProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" AlignmentProto.ArcAnchorTypeProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5402,7 +5402,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.ArcAnchorType.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -5411,7 +5411,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(AlignmentProto.ArcAnchorType.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -5420,7 +5420,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getId();"
errorLine2=" ~~~~~">
@@ -5429,7 +5429,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.hasOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasOnClick()) {"
errorLine2=" ~~~~~~~~~~">
@@ -5438,7 +5438,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ActionBuilders.actionFromProto(mImpl.getOnClick());"
errorLine2=" ~~~~~~~~~~">
@@ -5447,7 +5447,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.Clickable.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5456,7 +5456,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setId(id);"
errorLine2=" ~~~~~">
@@ -5465,7 +5465,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setOnClick(onClick.toActionProto());"
errorLine2=" ~~~~~~~~~~">
@@ -5474,7 +5474,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.hasContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasContentDescription()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5483,7 +5483,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getContentDescription());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5492,7 +5492,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getRole can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getRole().getNumber();"
errorLine2=" ~~~~~~~">
@@ -5501,7 +5501,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getRole().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -5510,7 +5510,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.hasStateDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasStateDescription()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5519,7 +5519,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getStateDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return StringProp.fromProto(mImpl.getStateDescription());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5528,7 +5528,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.Semantics.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5537,7 +5537,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRole can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRole(ModifiersProto.SemanticsRole.forNumber(role));"
errorLine2=" ~~~~~~~">
@@ -5546,7 +5546,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SemanticsRole.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRole(ModifiersProto.SemanticsRole.forNumber(role));"
errorLine2=" ~~~~~~~~~">
@@ -5555,7 +5555,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStateDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setStateDescription(stateDescription.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5564,7 +5564,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setObsoleteContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setObsoleteContentDescription(contentDescription.getValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5573,7 +5573,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setContentDescription(contentDescription.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5582,7 +5582,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasEnd()) {"
errorLine2=" ~~~~~~">
@@ -5591,7 +5591,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getEnd());"
errorLine2=" ~~~~~~">
@@ -5600,7 +5600,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasStart()) {"
errorLine2=" ~~~~~~~~">
@@ -5609,7 +5609,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getStart());"
errorLine2=" ~~~~~~~~">
@@ -5618,7 +5618,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasTop()) {"
errorLine2=" ~~~~~~">
@@ -5627,7 +5627,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getTop());"
errorLine2=" ~~~~~~">
@@ -5636,7 +5636,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasBottom()) {"
errorLine2=" ~~~~~~~~~">
@@ -5645,7 +5645,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getBottom());"
errorLine2=" ~~~~~~~~~">
@@ -5654,7 +5654,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasRtlAware()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -5663,7 +5663,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return BoolProp.fromProto(mImpl.getRtlAware());"
errorLine2=" ~~~~~~~~~~~">
@@ -5672,7 +5672,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.Padding.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5681,7 +5681,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setEnd(end.toProto());"
errorLine2=" ~~~~~~">
@@ -5690,7 +5690,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setStart(start.toProto());"
errorLine2=" ~~~~~~~~">
@@ -5699,7 +5699,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTop(top.toProto());"
errorLine2=" ~~~~~~">
@@ -5708,7 +5708,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setBottom(bottom.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -5717,7 +5717,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRtlAware(rtlAware.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -5726,7 +5726,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -5735,7 +5735,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -5744,7 +5744,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -5753,7 +5753,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -5762,7 +5762,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final ModifiersProto.Border.Builder mImpl = ModifiersProto.Border.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5771,7 +5771,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidth(width.toProto());"
errorLine2=" ~~~~~~~~">
@@ -5780,7 +5780,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -5789,7 +5789,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.hasRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasRadius()) {"
errorLine2=" ~~~~~~~~~">
@@ -5798,7 +5798,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.getRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DpProp.fromProto(mImpl.getRadius());"
errorLine2=" ~~~~~~~~~">
@@ -5807,7 +5807,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final ModifiersProto.Corner.Builder mImpl = ModifiersProto.Corner.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5816,7 +5816,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setRadius(radius.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -5825,7 +5825,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -5834,7 +5834,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -5843,7 +5843,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.hasCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasCorner()) {"
errorLine2=" ~~~~~~~~~">
@@ -5852,7 +5852,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.getCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Corner.fromProto(mImpl.getCorner());"
errorLine2=" ~~~~~~~~~">
@@ -5861,7 +5861,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.Background.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5870,7 +5870,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -5879,7 +5879,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setCorner(corner.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -5888,7 +5888,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ElementMetadata.getTagData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getTagData().toByteArray();"
errorLine2=" ~~~~~~~~~~">
@@ -5897,7 +5897,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ElementMetadata.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.ElementMetadata.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5906,7 +5906,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTagData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTagData(ByteString.copyFrom(tagData));"
errorLine2=" ~~~~~~~~~~">
@@ -5915,7 +5915,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5924,7 +5924,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Clickable.fromProto(mImpl.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5933,7 +5933,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasSemantics()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5942,7 +5942,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Semantics.fromProto(mImpl.getSemantics());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5951,7 +5951,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasPadding()) {"
errorLine2=" ~~~~~~~~~~">
@@ -5960,7 +5960,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Padding.fromProto(mImpl.getPadding());"
errorLine2=" ~~~~~~~~~~">
@@ -5969,7 +5969,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasBorder()) {"
errorLine2=" ~~~~~~~~~">
@@ -5978,7 +5978,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Border.fromProto(mImpl.getBorder());"
errorLine2=" ~~~~~~~~~">
@@ -5987,7 +5987,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasBackground()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5996,7 +5996,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Background.fromProto(mImpl.getBackground());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6005,7 +6005,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasMetadata()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -6014,7 +6014,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ElementMetadata.fromProto(mImpl.getMetadata());"
errorLine2=" ~~~~~~~~~~~">
@@ -6023,7 +6023,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasContentUpdateAnimation can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasContentUpdateAnimation()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6032,7 +6032,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getContentUpdateAnimation can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AnimatedVisibility.fromProto(mImpl.getContentUpdateAnimation());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6041,7 +6041,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.Modifiers.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6050,7 +6050,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setClickable(clickable.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6059,7 +6059,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSemantics(semantics.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6068,7 +6068,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setPadding(padding.toProto());"
errorLine2=" ~~~~~~~~~~">
@@ -6077,7 +6077,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setBorder(border.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -6086,7 +6086,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setBackground(background.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6095,7 +6095,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setMetadata(metadata.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -6104,7 +6104,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContentUpdateAnimation can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setContentUpdateAnimation(contentUpdateAnimation.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6113,7 +6113,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.hasEnterTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasEnterTransition()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6122,7 +6122,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.getEnterTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return EnterTransition.fromProto(mImpl.getEnterTransition());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6131,7 +6131,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.hasExitTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasExitTransition()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6140,7 +6140,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.getExitTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ExitTransition.fromProto(mImpl.getExitTransition());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6149,7 +6149,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedVisibility.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.AnimatedVisibility.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6158,7 +6158,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEnterTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setEnterTransition(enterTransition.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -6167,7 +6167,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExitTransition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setExitTransition(exitTransition.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -6176,7 +6176,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.hasFadeIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasFadeIn()) {"
errorLine2=" ~~~~~~~~~">
@@ -6185,7 +6185,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.getFadeIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FadeInTransition.fromProto(mImpl.getFadeIn());"
errorLine2=" ~~~~~~~~~">
@@ -6194,7 +6194,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.hasSlideIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasSlideIn()) {"
errorLine2=" ~~~~~~~~~~">
@@ -6203,7 +6203,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.getSlideIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SlideInTransition.fromProto(mImpl.getSlideIn());"
errorLine2=" ~~~~~~~~~~">
@@ -6212,7 +6212,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EnterTransition.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.EnterTransition.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6221,7 +6221,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFadeIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFadeIn(fadeIn.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -6230,7 +6230,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSlideIn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSlideIn(slideIn.toProto());"
errorLine2=" ~~~~~~~~~~">
@@ -6239,7 +6239,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeInTransition.getInitialAlpha can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getInitialAlpha();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6248,7 +6248,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeInTransition.hasAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAnimationSpec()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6257,7 +6257,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeInTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AnimationSpec.fromProto(mImpl.getAnimationSpec());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6266,7 +6266,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeInTransition.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.FadeInTransition.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6275,7 +6275,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInitialAlpha can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setInitialAlpha(initialAlpha);"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6284,7 +6284,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnimationSpec(animationSpec.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6293,7 +6293,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getDirection().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6302,7 +6302,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getDirection can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getDirection().getNumber();"
errorLine2=" ~~~~~~~~~~~~">
@@ -6311,7 +6311,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.hasInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasInitialSlideBound()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6320,7 +6320,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ModifiersBuilders.slideBoundFromProto(mImpl.getInitialSlideBound());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6329,7 +6329,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.hasAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAnimationSpec()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6338,7 +6338,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AnimationSpec.fromProto(mImpl.getAnimationSpec());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6347,7 +6347,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideInTransition.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.SlideInTransition.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6356,7 +6356,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDirection can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDirection(ModifiersProto.SlideDirection.forNumber(direction));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6365,7 +6365,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDirection(ModifiersProto.SlideDirection.forNumber(direction));"
errorLine2=" ~~~~~~~~~">
@@ -6374,7 +6374,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInitialSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setInitialSlideBound(initialSlideBound.toSlideBoundProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6383,7 +6383,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnimationSpec(animationSpec.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6392,7 +6392,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.hasFadeOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasFadeOut()) {"
errorLine2=" ~~~~~~~~~~">
@@ -6401,7 +6401,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.getFadeOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return FadeOutTransition.fromProto(mImpl.getFadeOut());"
errorLine2=" ~~~~~~~~~~">
@@ -6410,7 +6410,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.hasSlideOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasSlideOut()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -6419,7 +6419,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.getSlideOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SlideOutTransition.fromProto(mImpl.getSlideOut());"
errorLine2=" ~~~~~~~~~~~">
@@ -6428,7 +6428,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExitTransition.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.ExitTransition.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6437,7 +6437,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFadeOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFadeOut(fadeOut.toProto());"
errorLine2=" ~~~~~~~~~~">
@@ -6446,7 +6446,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSlideOut can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSlideOut(slideOut.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -6455,7 +6455,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeOutTransition.getTargetAlpha can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getTargetAlpha();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6464,7 +6464,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeOutTransition.hasAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAnimationSpec()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6473,7 +6473,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeOutTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AnimationSpec.fromProto(mImpl.getAnimationSpec());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6482,7 +6482,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FadeOutTransition.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.FadeOutTransition.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6491,7 +6491,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTargetAlpha can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTargetAlpha(targetAlpha);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6500,7 +6500,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnimationSpec(animationSpec.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6509,7 +6509,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getDirection().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6518,7 +6518,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getDirection can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getDirection().getNumber();"
errorLine2=" ~~~~~~~~~~~~">
@@ -6527,7 +6527,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.hasTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasTargetSlideBound()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6536,7 +6536,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ModifiersBuilders.slideBoundFromProto(mImpl.getTargetSlideBound());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6545,7 +6545,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.hasAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAnimationSpec()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6554,7 +6554,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.getAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AnimationSpec.fromProto(mImpl.getAnimationSpec());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6563,7 +6563,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideOutTransition.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.SlideOutTransition.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6572,7 +6572,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDirection can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDirection(ModifiersProto.SlideDirection.forNumber(direction));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6581,7 +6581,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideDirection.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDirection(ModifiersProto.SlideDirection.forNumber(direction));"
errorLine2=" ~~~~~~~~~">
@@ -6590,7 +6590,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTargetSlideBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTargetSlideBound(targetSlideBound.toSlideBoundProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6599,7 +6599,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimationSpec can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnimationSpec(animationSpec.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6608,7 +6608,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.hasParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasParentBound()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6617,7 +6617,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.getParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return SlideParentBound.fromProto(proto.getParentBound(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6626,7 +6626,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentBound.getSnapTo can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getSnapTo().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6635,7 +6635,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentSnapOption.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getSnapTo().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6644,7 +6644,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setParentBound can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ModifiersProto.SlideBound.newBuilder().setParentBound(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6653,7 +6653,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideBound.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return ModifiersProto.SlideBound.newBuilder().setParentBound(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -6662,7 +6662,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentBound.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.SlideParentBound.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6671,7 +6671,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSnapTo can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSnapTo(ModifiersProto.SlideParentSnapOption.forNumber(snapTo));"
errorLine2=" ~~~~~~~~~">
@@ -6680,7 +6680,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SlideParentSnapOption.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSnapTo(ModifiersProto.SlideParentSnapOption.forNumber(snapTo));"
errorLine2=" ~~~~~~~~~">
@@ -6689,7 +6689,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6698,7 +6698,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Clickable.fromProto(mImpl.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6707,7 +6707,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.hasSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasSemantics()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6716,7 +6716,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.getSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Semantics.fromProto(mImpl.getSemantics());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6725,7 +6725,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.ArcModifiers.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6734,7 +6734,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setClickable(clickable.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6743,7 +6743,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setSemantics(semantics.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6752,7 +6752,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6761,7 +6761,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Clickable.fromProto(mImpl.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6770,7 +6770,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ModifiersProto.SpanModifiers.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6779,7 +6779,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setClickable(clickable.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6788,7 +6788,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getResourceId();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6797,7 +6797,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByResId.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.AndroidImageResourceByResId.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6806,7 +6806,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setResourceId(resourceId);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6815,7 +6815,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getData().toByteArray();"
errorLine2=" ~~~~~~~">
@@ -6824,7 +6824,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getWidthPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getWidthPx();"
errorLine2=" ~~~~~~~~~~">
@@ -6833,7 +6833,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getHeightPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getHeightPx();"
errorLine2=" ~~~~~~~~~~~">
@@ -6842,7 +6842,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getFormat().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6851,7 +6851,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getFormat().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6860,7 +6860,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.InlineImageResource.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6869,7 +6869,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setData(ByteString.copyFrom(data));"
errorLine2=" ~~~~~~~">
@@ -6878,7 +6878,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidthPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setWidthPx(widthPx);"
errorLine2=" ~~~~~~~~~~">
@@ -6887,7 +6887,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeightPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setHeightPx(heightPx);"
errorLine2=" ~~~~~~~~~~~">
@@ -6896,7 +6896,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFormat(ResourceProto.ImageFormat.forNumber(format));"
errorLine2=" ~~~~~~~~~">
@@ -6905,7 +6905,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setFormat(ResourceProto.ImageFormat.forNumber(format));"
errorLine2=" ~~~~~~~~~">
@@ -6914,7 +6914,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.getAnimatedImageFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAnimatedImageFormat().getNumber();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6923,7 +6923,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedImageFormat.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAnimatedImageFormat().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -6932,7 +6932,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getResourceId();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6941,7 +6941,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.hasStartTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasStartTrigger()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6950,7 +6950,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.getStartTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TriggerBuilders.triggerFromProto(mImpl.getStartTrigger());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6959,7 +6959,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidAnimatedImageResourceByResId.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.AndroidAnimatedImageResourceByResId.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6968,7 +6968,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimatedImageFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnimatedImageFormat("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6977,7 +6977,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedImageFormat.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.AnimatedImageFormat.forNumber(animatedImageFormat));"
errorLine2=" ~~~~~~~~~">
@@ -6986,7 +6986,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setResourceId(resourceId);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6995,7 +6995,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setStartTrigger(startTrigger.toTriggerProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7004,7 +7004,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.getAnimatedImageFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAnimatedImageFormat().getNumber();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -7013,7 +7013,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedImageFormat.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getAnimatedImageFormat().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -7022,7 +7022,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getResourceId();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7031,7 +7031,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.hasProgress can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasProgress()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -7040,7 +7040,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.getProgress can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicFloatFromProto(mImpl.getProgress());"
errorLine2=" ~~~~~~~~~~~">
@@ -7049,7 +7049,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidSeekableAnimatedImageResourceByResId.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.AndroidSeekableAnimatedImageResourceByResId.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7058,7 +7058,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimatedImageFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAnimatedImageFormat("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -7067,7 +7067,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AnimatedImageFormat.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.AnimatedImageFormat.forNumber(animatedImageFormat));"
errorLine2=" ~~~~~~~~~">
@@ -7076,7 +7076,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setResourceId(resourceId);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -7085,7 +7085,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setProgress can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setProgress(progress.toDynamicFloatProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -7094,7 +7094,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAndroidResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7103,7 +7103,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return AndroidImageResourceByResId.fromProto(mImpl.getAndroidResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7112,7 +7112,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasInlineResource()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -7121,7 +7121,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return InlineImageResource.fromProto(mImpl.getInlineResource());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -7130,7 +7130,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAndroidAnimatedResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7139,7 +7139,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.getAndroidAnimatedResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7148,7 +7148,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasAndroidSeekableAnimatedResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7157,7 +7157,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.getAndroidSeekableAnimatedResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7166,7 +7166,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.ImageResource.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7175,7 +7175,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAndroidResourceByResId(androidResourceByResId.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7184,7 +7184,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setInlineResource(inlineResource.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -7193,7 +7193,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAndroidAnimatedResourceByResId(androidAnimatedResourceByResId.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7202,7 +7202,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidSeekableAnimatedResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setAndroidSeekableAnimatedResourceByResId("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7211,7 +7211,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getVersion();"
errorLine2=" ~~~~~~~~~~">
@@ -7220,7 +7220,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.getIdToImageMap().entrySet()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7229,7 +7229,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" ResourceProto.Resources.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7238,7 +7238,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setVersion(version);"
errorLine2=" ~~~~~~~~~~">
@@ -7247,7 +7247,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putIdToImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.putIdToImage(id, image.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7256,7 +7256,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.getLastClickableId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getLastClickableId();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7265,7 +7265,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.getIdToValueMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.getIdToValueMap().entrySet()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7274,7 +7274,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final StateProto.State.Builder mImpl = StateProto.State.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7283,7 +7283,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getIdToValueMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.getIdToValueMap().size() >= getMaxStateEntryCount()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7292,7 +7292,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putIdToValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.putIdToValue(sourceKey.getKey(), value.toDynamicDataValueProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7301,7 +7301,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getIdToValueMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.getIdToValueMap().size() > getMaxStateEntryCount()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7310,7 +7310,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.getIdToValueMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.getIdToValueMap().size(), getMaxStateEntryCount()));"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7319,7 +7319,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -7328,7 +7328,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getEndMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -7337,7 +7337,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TimelineProto.TimeInterval.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7346,7 +7346,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setStartMillis(startMillis);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -7355,7 +7355,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setEndMillis(endMillis);"
errorLine2=" ~~~~~~~~~~~~">
@@ -7364,7 +7364,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasValidity()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -7373,7 +7373,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TimeInterval.fromProto(mImpl.getValidity());"
errorLine2=" ~~~~~~~~~~~">
@@ -7382,7 +7382,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasLayout()) {"
errorLine2=" ~~~~~~~~~">
@@ -7391,7 +7391,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return Layout.fromProto(mImpl.getLayout());"
errorLine2=" ~~~~~~~~~">
@@ -7400,7 +7400,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TimelineProto.TimelineEntry.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7409,7 +7409,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValidity(validity.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -7418,7 +7418,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setLayout(layout.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -7427,7 +7427,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.getTimelineEntriesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" for (TimelineProto.TimelineEntry item : mImpl.getTimelineEntriesList()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -7436,7 +7436,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TimelineProto.Timeline.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7445,7 +7445,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addTimelineEntries can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.addTimelineEntries(timelineEntry.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -7454,7 +7454,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOnLoadTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TriggerProto.Trigger.newBuilder().setOnLoadTrigger(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7463,7 +7463,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TriggerProto.Trigger.newBuilder().setOnLoadTrigger(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -7472,7 +7472,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OnLoadTrigger.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TriggerProto.OnLoadTrigger.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7481,7 +7481,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OnConditionMetTrigger.hasCondition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasCondition()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7490,7 +7490,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OnConditionMetTrigger.getCondition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicBoolFromProto(mImpl.getCondition());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7499,7 +7499,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOnConditionMetTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TriggerProto.Trigger.newBuilder().setOnConditionMetTrigger(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7508,7 +7508,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return TriggerProto.Trigger.newBuilder().setOnConditionMetTrigger(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -7517,7 +7517,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="OnConditionMetTrigger.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" TriggerProto.OnConditionMetTrigger.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7526,7 +7526,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCondition can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setCondition(dynamicBool.toDynamicBoolProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7535,7 +7535,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.hasOnLoadTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasOnLoadTrigger()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7544,7 +7544,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getOnLoadTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return OnLoadTrigger.fromProto(proto.getOnLoadTrigger(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7553,7 +7553,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.hasOnConditionMetTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (proto.hasOnConditionMetTrigger()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7562,7 +7562,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Trigger.getOnConditionMetTrigger can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return OnConditionMetTrigger.fromProto(proto.getOnConditionMetTrigger(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7571,7 +7571,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValueForLayout();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -7580,7 +7580,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getTextAlignmentForLayoutValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getTextAlignmentForLayoutValue();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7589,7 +7589,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final TypesProto.StringProp.Builder mImpl = TypesProto.StringProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7598,7 +7598,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValueForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValueForLayout(patternForLayout);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -7607,7 +7607,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTextAlignmentForLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTextAlignmentForLayout(AlignmentProto.TextAlignment.forNumber(alignment));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7616,7 +7616,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setTextAlignmentForLayout(AlignmentProto.TextAlignment.forNumber(alignment));"
errorLine2=" ~~~~~~~~~">
@@ -7625,7 +7625,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -7634,7 +7634,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final TypesProto.Int32Prop.Builder mImpl = TypesProto.Int32Prop.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7643,7 +7643,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -7652,7 +7652,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -7661,7 +7661,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7670,7 +7670,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicStringFromProto(mImpl.getDynamicValue());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7679,7 +7679,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final TypesProto.StringProp.Builder mImpl = TypesProto.StringProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7688,7 +7688,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -7697,7 +7697,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDynamicValue(dynamicValue.toDynamicStringProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7706,7 +7706,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7715,7 +7715,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~">
@@ -7724,7 +7724,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -7733,7 +7733,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7742,7 +7742,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return DynamicBuilders.dynamicFloatFromProto(mImpl.getDynamicValue());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7751,7 +7751,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final TypesProto.FloatProp.Builder mImpl = TypesProto.FloatProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7760,7 +7760,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -7769,7 +7769,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setDynamicValue(dynamicValue.toDynamicFloatProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7778,7 +7778,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasDynamicValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -7787,7 +7787,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.hasValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" if (mImpl.hasDynamicValue() && !mImpl.hasValue()) {"
errorLine2=" ~~~~~~~~">
@@ -7796,7 +7796,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -7805,7 +7805,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" private final TypesProto.BoolProp.Builder mImpl = TypesProto.BoolProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7814,7 +7814,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.protolayout`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
diff --git a/wear/tiles/tiles-material/lint-baseline.xml b/wear/tiles/tiles-material/lint-baseline.xml
index c4c5193..9c080eb 100644
--- a/wear/tiles/tiles-material/lint-baseline.xml
+++ b/wear/tiles/tiles-material/lint-baseline.xml
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.Modifiers.newBuilder(modifiers.toProto())"
errorLine2=" ~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setMetadata("
errorLine2=" ~~~~~~~~~~~">
diff --git a/wear/tiles/tiles-renderer/lint-baseline.xml b/wear/tiles/tiles-renderer/lint-baseline.xml
index f47a33a..7d85391 100644
--- a/wear/tiles/tiles-renderer/lint-baseline.xml
+++ b/wear/tiles/tiles-renderer/lint-baseline.xml
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" res.toProto()"
errorLine2=" ~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.parseFrom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" val resources = ResourceProto.Resources.parseFrom(resourcesData.contents)"
errorLine2=" ~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" ResourceBuilders.Resources.fromProto(resources))"
errorLine2=" ~~~~~~~~~">
@@ -38,43 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" val future = ResolvableFuture.create<T>()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/connection/DefaultTileClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" future.set(fn(it))"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/tiles/connection/DefaultTileClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" future.set(fn(it))"
- errorLine2=" ~~">
- <location
- file="src/main/java/androidx/wear/tiles/connection/DefaultTileClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" future.setException(ex)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/connection/DefaultTileClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" res -> ResourceBuilders.Resources.fromProto(res.toProto()),"
errorLine2=" ~~~~~~~~~">
@@ -83,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" StateBuilders.State.fromProto(nextState)));"
errorLine2=" ~~~~~~~~~">
@@ -92,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnimationEnabled can only be called from within the same library (androidx.wear.protolayout:protolayout-renderer)"
errorLine1=" .setAnimationEnabled(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -101,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIsViewFullyVisible can only be called from within the same library (androidx.wear.protolayout:protolayout-renderer)"
errorLine1=" .setIsViewFullyVisible(true)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -110,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setProtoLayoutTheme can only be called from within the same library (androidx.wear.protolayout:protolayout-renderer)"
errorLine1=" config.setProtoLayoutTheme(new ProtoLayoutThemeImpl(uiContext, tilesTheme));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -119,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" androidx.wear.tiles.StateBuilders.State.fromProto(nextState.toProto()));"
errorLine2=" ~~~~~~~">
@@ -128,61 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" checkNotNull(mLayout, errorMessage),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/renderer/TileRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" checkNotNull(mLayout, errorMessage),"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/renderer/TileRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" checkNotNull(mLayout, errorMessage),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/renderer/TileRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" checkNotNull(mResources, errorMessage),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/renderer/TileRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" checkNotNull(mResources, errorMessage),"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/renderer/TileRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" checkNotNull(mResources, errorMessage),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/renderer/TileRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return inflateLayout(layout.toProto(), resources.toProto(), parent);"
errorLine2=" ~~~~~~~">
@@ -191,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return inflateLayout(layout.toProto(), resources.toProto(), parent);"
errorLine2=" ~~~~~~~">
@@ -200,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mCache = new TilesTimelineCacheInternal(timeline.toProto());"
errorLine2=" ~~~~~~~">
@@ -209,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TimelineBuilders.TimelineEntry.fromProto(entry);"
errorLine2=" ~~~~~~~~~">
@@ -218,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TimelineBuilders.TimelineEntry.fromProto(entry);"
errorLine2=" ~~~~~~~~~">
@@ -227,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mCache.findCurrentTimelineEntryExpiry(entry.toProto(), fromTimeMillis);"
errorLine2=" ~~~~~~~">
@@ -236,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.getTimelineEntriesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" for (TimelineEntry entry : mTimeline.getTimelineEntriesList()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -245,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (!entry.hasValidity()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -254,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TimeInterval validity = entry.getValidity();"
errorLine2=" ~~~~~~~~~~~">
@@ -263,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" long validityLength = validity.getEndMillis() - validity.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -272,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" long validityLength = validity.getEndMillis() - validity.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -281,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (validity.getStartMillis() <= timeMillis"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -290,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" && timeMillis < validity.getEndMillis()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -299,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.getTimelineEntriesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" for (TimelineEntry entry : mTimeline.getTimelineEntriesList()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -308,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (!entry.hasValidity()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -317,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TimeInterval validity = entry.getValidity();"
errorLine2=" ~~~~~~~~~~~">
@@ -326,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (validity.getStartMillis() <= timeMillis && timeMillis < validity.getEndMillis()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -335,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (validity.getStartMillis() <= timeMillis && timeMillis < validity.getEndMillis()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -344,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (validity.getStartMillis() > timeMillis) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -353,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" error = validity.getStartMillis() - timeMillis;"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -362,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" error = timeMillis - validity.getEndMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -371,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (entry.hasValidity() && entry.getValidity().getEndMillis() > fromTimeMillis) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -380,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (entry.hasValidity() && entry.getValidity().getEndMillis() > fromTimeMillis) {"
errorLine2=" ~~~~~~~~~~~">
@@ -389,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (entry.hasValidity() && entry.getValidity().getEndMillis() > fromTimeMillis) {"
errorLine2=" ~~~~~~~~~~~">
@@ -398,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" currentSmallestExpiry = entry.getValidity().getEndMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -407,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" currentSmallestExpiry = entry.getValidity().getEndMillis();"
errorLine2=" ~~~~~~~~~~~">
@@ -416,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" entry.getValidity().getEndMillis() - entry.getValidity().getStartMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -425,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" entry.getValidity().getEndMillis() - entry.getValidity().getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -434,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" entry.getValidity().getEndMillis() - entry.getValidity().getStartMillis();"
errorLine2=" ~~~~~~~~~~~">
@@ -443,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" entry.getValidity().getEndMillis() - entry.getValidity().getStartMillis();"
errorLine2=" ~~~~~~~~~~~">
@@ -452,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.getTimelineEntriesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" for (TimelineEntry nextEntry : mTimeline.getTimelineEntriesList()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -461,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (!nextEntry.hasValidity()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -470,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TimeInterval nextEntryValidity = nextEntry.getValidity();"
errorLine2=" ~~~~~~~~~~~">
@@ -479,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (entry.hasValidity()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -488,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (nextEntryValidity.getStartMillis() > entry.getValidity().getEndMillis()"
errorLine2=" ~~~~~~~~~~~~">
@@ -497,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (nextEntryValidity.getStartMillis() > entry.getValidity().getEndMillis()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -506,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (nextEntryValidity.getStartMillis() > entry.getValidity().getEndMillis()"
errorLine2=" ~~~~~~~~~~~">
@@ -515,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" || nextEntryValidity.getStartMillis()"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -524,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" < entry.getValidity().getStartMillis()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -533,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" < entry.getValidity().getStartMillis()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -542,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (nextEntryValidity.getStartMillis() > currentSmallestExpiry) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -551,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (nextEntryValidity.getStartMillis() < fromTimeMillis) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -560,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" nextEntryValidity.getEndMillis() - nextEntryValidity.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -569,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" nextEntryValidity.getEndMillis() - nextEntryValidity.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -578,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" currentSmallestExpiry = nextEntryValidity.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -587,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return timeInterval.getEndMillis() > timeInterval.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -596,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return timeInterval.getEndMillis() > timeInterval.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -605,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" entry.getLayout())));"
errorLine2=" ~~~~~~~~~">
@@ -614,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" timeline.toProto(),"
errorLine2=" ~~~~~~~">
@@ -623,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementBuilders.Layout.fromProto(entry.getLayout())));"
errorLine2=" ~~~~~~~~~">
@@ -632,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementBuilders.Layout.fromProto(entry.getLayout())));"
errorLine2=" ~~~~~~~~~">
diff --git a/wear/tiles/tiles/lint-baseline.xml b/wear/tiles/tiles/lint-baseline.xml
index 52ebdb2..6222af8 100644
--- a/wear/tiles/tiles/lint-baseline.xml
+++ b/wear/tiles/tiles/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="RequireUnstableAidlAnnotation"
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidStringExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setStringVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setStringVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -146,7 +146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidStringExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.AndroidStringExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -155,7 +155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1281351679);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -164,7 +164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -173,7 +173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -182,7 +182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidIntExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -191,7 +191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setIntVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -200,7 +200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setIntVal(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -209,7 +209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidIntExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.AndroidIntExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -218,7 +218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1929293734);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -227,7 +227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -236,7 +236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -245,7 +245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidLongExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -254,7 +254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setLongVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -263,7 +263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setLongVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -272,7 +272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidLongExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.AndroidLongExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -281,7 +281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-874743180);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -290,7 +290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -299,7 +299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Long.hashCode(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -308,7 +308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidDoubleExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -317,7 +317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setDoubleVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -326,7 +326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setDoubleVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -335,7 +335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidDoubleExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.AndroidDoubleExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -344,7 +344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-278689892);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -353,7 +353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -362,7 +362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Double.hashCode(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -371,7 +371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidBooleanExtra.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -380,7 +380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setBooleanVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -389,7 +389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.AndroidExtra.newBuilder().setBooleanVal(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -398,7 +398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidBooleanExtra.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.AndroidBooleanExtra.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -407,7 +407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1238672683);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -416,7 +416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -425,7 +425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Boolean.hashCode(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -434,7 +434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasStringVal()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -443,7 +443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getStringVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidStringExtra.fromProto(proto.getStringVal());"
errorLine2=" ~~~~~~~~~~~~">
@@ -452,7 +452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasIntVal()) {"
errorLine2=" ~~~~~~~~~">
@@ -461,7 +461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getIntVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidIntExtra.fromProto(proto.getIntVal());"
errorLine2=" ~~~~~~~~~">
@@ -470,7 +470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLongVal()) {"
errorLine2=" ~~~~~~~~~~">
@@ -479,7 +479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getLongVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidLongExtra.fromProto(proto.getLongVal());"
errorLine2=" ~~~~~~~~~~">
@@ -488,7 +488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasDoubleVal()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -497,7 +497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getDoubleVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidDoubleExtra.fromProto(proto.getDoubleVal());"
errorLine2=" ~~~~~~~~~~~~">
@@ -506,7 +506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.hasBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasBooleanVal()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -515,7 +515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidExtra.getBooleanVal can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidBooleanExtra.fromProto(proto.getBooleanVal());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -524,7 +524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getPackageName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getPackageName();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -533,7 +533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getClassName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getClassName();"
errorLine2=" ~~~~~~~~~~~~">
@@ -542,7 +542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.getKeyToExtraMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getKeyToExtraMap().entrySet().stream()"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -551,7 +551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidActivity.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.AndroidActivity.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -560,7 +560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1939606345);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -569,7 +569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPackageName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setPackageName(packageName);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -578,7 +578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, packageName.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -587,7 +587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClassName can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setClassName(className);"
errorLine2=" ~~~~~~~~~~~~">
@@ -596,7 +596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, className.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -605,7 +605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putKeyToExtra can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.putKeyToExtra(key, extra.toAndroidExtraProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -614,7 +614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -623,7 +623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" key.hashCode(), checkNotNull(extra.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -632,7 +632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" key.hashCode(), checkNotNull(extra.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -641,7 +641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" key.hashCode(), checkNotNull(extra.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -650,7 +650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.hasAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasAndroidActivity()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -659,7 +659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.getAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidActivity.fromProto(mImpl.getAndroidActivity());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -668,7 +668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.Action.newBuilder().setLaunchAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -677,7 +677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.Action.newBuilder().setLaunchAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -686,7 +686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LaunchAction.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.LaunchAction.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -695,7 +695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(175064445);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -704,7 +704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidActivity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAndroidActivity(androidActivity.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -713,7 +713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -722,7 +722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(androidActivity.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -731,7 +731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(androidActivity.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -740,7 +740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(androidActivity.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -749,7 +749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.hasRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasRequestState()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -758,7 +758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.getRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return StateBuilders.State.fromProto(mImpl.getRequestState());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -767,7 +767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.Action.newBuilder().setLoadAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -776,7 +776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionProto.Action.newBuilder().setLoadAction(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -785,7 +785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LoadAction.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ActionProto.LoadAction.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -794,7 +794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1728161517);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -803,7 +803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRequestState can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRequestState(requestState.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -812,7 +812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -821,7 +821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(requestState.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -830,7 +830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(requestState.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -839,7 +839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(requestState.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -848,7 +848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.hasLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLaunchAction()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -857,7 +857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLaunchAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LaunchAction.fromProto(proto.getLaunchAction());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -866,7 +866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.hasLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLoadAction()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -875,7 +875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Action.getLoadAction can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LoadAction.fromProto(proto.getLoadAction());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -884,7 +884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.getArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getArgb();"
errorLine2=" ~~~~~~~">
@@ -893,7 +893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final ColorProto.ColorProp.Builder mImpl = ColorProto.ColorProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -902,7 +902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1332287496);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -911,7 +911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setArgb can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setArgb(argb);"
errorLine2=" ~~~~~~~">
@@ -920,7 +920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, argb);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -929,7 +929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenWidthDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getScreenWidthDp();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -938,7 +938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenHeightDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getScreenHeightDp();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -947,7 +947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenDensity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getScreenDensity();"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -956,7 +956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getDevicePlatform can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getDevicePlatform().getNumber();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -965,7 +965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DevicePlatform.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getDevicePlatform().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -974,7 +974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getScreenShape can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getScreenShape().getNumber();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -983,7 +983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ScreenShape.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getScreenShape().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -992,7 +992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DeviceParametersProto.DeviceParameters.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1001,7 +1001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenWidthDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setScreenWidthDp(screenWidthDp);"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1010,7 +1010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenHeightDp can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setScreenHeightDp(screenHeightDp);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1019,7 +1019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenDensity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setScreenDensity(screenDensity);"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -1028,7 +1028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setDevicePlatform can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setDevicePlatform("
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -1037,7 +1037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DevicePlatform.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DeviceParametersProto.DevicePlatform.forNumber(devicePlatform));"
errorLine2=" ~~~~~~~~~">
@@ -1046,7 +1046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setScreenShape can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setScreenShape(DeviceParametersProto.ScreenShape.forNumber(screenShape));"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -1055,7 +1055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ScreenShape.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setScreenShape(DeviceParametersProto.ScreenShape.forNumber(screenShape));"
errorLine2=" ~~~~~~~~~">
@@ -1064,7 +1064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1073,7 +1073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1082,7 +1082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1091,7 +1091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1100,7 +1100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1109,7 +1109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.SpacerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1118,7 +1118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.SpacerDimension.newBuilder().setLinearDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1127,7 +1127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DpProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final DimensionProto.DpProp.Builder mImpl = DimensionProto.DpProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1136,7 +1136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(752970309);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1145,7 +1145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -1154,7 +1154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Float.floatToIntBits(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1163,7 +1163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1172,7 +1172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final DimensionProto.SpProp.Builder mImpl = DimensionProto.SpProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1181,7 +1181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-2144685857);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1190,7 +1190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -1199,7 +1199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, Float.floatToIntBits(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1208,7 +1208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1217,7 +1217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="EmProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final DimensionProto.EmProp.Builder mImpl = DimensionProto.EmProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1226,7 +1226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1628313311);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1235,7 +1235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -1244,7 +1244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Float.floatToIntBits(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1253,7 +1253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -1262,7 +1262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DegreesProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DimensionProto.DegreesProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1271,7 +1271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(405060347);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1280,7 +1280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -1289,7 +1289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Float.floatToIntBits(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1298,7 +1298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1307,7 +1307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setExpandedDimension(mImpl)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1316,7 +1316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setExpandedDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1325,7 +1325,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder().setExpandedDimension(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -1334,7 +1334,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ExpandedDimensionProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DimensionProto.ExpandedDimensionProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1343,7 +1343,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1053378170);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1352,7 +1352,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ContainerDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1361,7 +1361,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setWrappedDimension(mImpl)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1370,7 +1370,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WrappedDimensionProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DimensionProto.WrappedDimensionProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1379,7 +1379,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-113456542);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1388,7 +1388,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.getAspectRatioWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getAspectRatioWidth();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1397,7 +1397,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.getAspectRatioHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getAspectRatioHeight();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1406,7 +1406,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionProto.ImageDimension.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -1415,7 +1415,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setProportionalDimension(mImpl)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1424,7 +1424,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ProportionalDimensionProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DimensionProto.ProportionalDimensionProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1433,7 +1433,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-2079046835);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1442,7 +1442,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAspectRatioWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAspectRatioWidth(aspectRatioWidth);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1451,7 +1451,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, aspectRatioWidth);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1460,7 +1460,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAspectRatioHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAspectRatioHeight(aspectRatioHeight);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1469,7 +1469,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, aspectRatioHeight);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1478,7 +1478,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1487,7 +1487,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1496,7 +1496,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasExpandedDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1505,7 +1505,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ExpandedDimensionProp.fromProto(proto.getExpandedDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1514,7 +1514,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.hasWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasWrappedDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1523,7 +1523,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContainerDimension.getWrappedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return WrappedDimensionProp.fromProto(proto.getWrappedDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -1532,7 +1532,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1541,7 +1541,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1550,7 +1550,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasExpandedDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1559,7 +1559,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getExpandedDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ExpandedDimensionProp.fromProto(proto.getExpandedDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1568,7 +1568,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.hasProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasProportionalDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1577,7 +1577,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageDimension.getProportionalDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ProportionalDimensionProp.fromProto(proto.getProportionalDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1586,7 +1586,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.hasLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLinearDimension()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1595,7 +1595,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpacerDimension.getLinearDimension can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DpProp.fromProto(proto.getLinearDimension());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -1604,7 +1604,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1613,7 +1613,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1622,7 +1622,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1631,7 +1631,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-384830516);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1640,7 +1640,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.HorizontalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1649,7 +1649,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.HorizontalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1658,7 +1658,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1667,7 +1667,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1676,7 +1676,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1685,7 +1685,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1694,7 +1694,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1443510393);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1703,7 +1703,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.VerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1712,7 +1712,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.VerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1721,7 +1721,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1730,7 +1730,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1739,7 +1739,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1748,7 +1748,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.FontWeightProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1757,7 +1757,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1793388920);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1766,7 +1766,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontWeight.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1775,7 +1775,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontWeight.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1784,7 +1784,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1793,7 +1793,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1802,7 +1802,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1811,7 +1811,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.FontVariantProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1820,7 +1820,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-293831500);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1829,7 +1829,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontVariant.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1838,7 +1838,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.FontVariant.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1847,7 +1847,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1856,7 +1856,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -1865,7 +1865,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -1874,7 +1874,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.SpanVerticalAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -1883,7 +1883,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1008812329);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -1892,7 +1892,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.SpanVerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -1901,7 +1901,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.SpanVerticalAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -1910,7 +1910,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -1919,7 +1919,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasSize()) {"
errorLine2=" ~~~~~~~">
@@ -1928,7 +1928,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.SpProp.fromProto(mImpl.getSize());"
errorLine2=" ~~~~~~~">
@@ -1937,7 +1937,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasItalic()) {"
errorLine2=" ~~~~~~~~~">
@@ -1946,7 +1946,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.BoolProp.fromProto(mImpl.getItalic());"
errorLine2=" ~~~~~~~~~">
@@ -1955,7 +1955,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasUnderline()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -1964,7 +1964,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.BoolProp.fromProto(mImpl.getUnderline());"
errorLine2=" ~~~~~~~~~~~~">
@@ -1973,7 +1973,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -1982,7 +1982,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ColorBuilders.ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -1991,7 +1991,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -2000,7 +2000,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return FontWeightProp.fromProto(mImpl.getWeight());"
errorLine2=" ~~~~~~~~~">
@@ -2009,7 +2009,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasLetterSpacing()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2018,7 +2018,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.EmProp.fromProto(mImpl.getLetterSpacing());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2027,7 +2027,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.hasVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasVariant()) {"
errorLine2=" ~~~~~~~~~~">
@@ -2036,7 +2036,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.getVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return FontVariantProp.fromProto(mImpl.getVariant());"
errorLine2=" ~~~~~~~~~~">
@@ -2045,7 +2045,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontStyle.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.FontStyle.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2054,7 +2054,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(181264306);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2063,7 +2063,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSize can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setSize(size.toProto());"
errorLine2=" ~~~~~~~">
@@ -2072,7 +2072,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2081,7 +2081,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(size.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2090,7 +2090,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(size.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2099,7 +2099,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(size.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2108,7 +2108,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setItalic(italic.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -2117,7 +2117,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2126,7 +2126,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(italic.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2135,7 +2135,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(italic.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2144,7 +2144,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(italic.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2153,7 +2153,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setItalic(TypesProto.BoolProp.newBuilder().setValue(italic));"
errorLine2=" ~~~~~~~~~~">
@@ -2162,7 +2162,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setItalic can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setItalic(TypesProto.BoolProp.newBuilder().setValue(italic));"
errorLine2=" ~~~~~~~~~">
@@ -2171,7 +2171,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setItalic(TypesProto.BoolProp.newBuilder().setValue(italic));"
errorLine2=" ~~~~~~~~">
@@ -2180,7 +2180,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, Boolean.hashCode(italic));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2189,7 +2189,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setUnderline(underline.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2198,7 +2198,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2207,7 +2207,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(underline.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2216,7 +2216,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(underline.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2225,7 +2225,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(underline.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2234,7 +2234,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setUnderline(TypesProto.BoolProp.newBuilder().setValue(underline));"
errorLine2=" ~~~~~~~~~~">
@@ -2243,7 +2243,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setUnderline can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setUnderline(TypesProto.BoolProp.newBuilder().setValue(underline));"
errorLine2=" ~~~~~~~~~~~~">
@@ -2252,7 +2252,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setUnderline(TypesProto.BoolProp.newBuilder().setValue(underline));"
errorLine2=" ~~~~~~~~">
@@ -2261,7 +2261,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(3, Boolean.hashCode(underline));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2270,7 +2270,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -2279,7 +2279,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2288,7 +2288,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2297,7 +2297,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2306,7 +2306,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -2315,7 +2315,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWeight(weight.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -2324,7 +2324,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2333,7 +2333,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(weight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2342,7 +2342,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(weight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2351,7 +2351,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(weight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2360,7 +2360,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWeight("
errorLine2=" ~~~~~~~~~">
@@ -2369,7 +2369,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeightProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.FontWeightProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2378,7 +2378,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.FontWeight.forNumber(weight)));"
errorLine2=" ~~~~~~~~">
@@ -2387,7 +2387,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontWeight.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.FontWeight.forNumber(weight)));"
errorLine2=" ~~~~~~~~~">
@@ -2396,7 +2396,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(5, weight);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2405,7 +2405,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLetterSpacing can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setLetterSpacing(letterSpacing.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -2414,7 +2414,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2423,7 +2423,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(letterSpacing.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2432,7 +2432,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(letterSpacing.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2441,7 +2441,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(letterSpacing.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2450,7 +2450,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVariant(variant.toProto());"
errorLine2=" ~~~~~~~~~~">
@@ -2459,7 +2459,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2468,7 +2468,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(variant.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2477,7 +2477,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(variant.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2486,7 +2486,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(variant.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2495,7 +2495,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVariant can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVariant("
errorLine2=" ~~~~~~~~~~">
@@ -2504,7 +2504,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariantProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.FontVariantProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -2513,7 +2513,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.FontVariant.forNumber(variant)));"
errorLine2=" ~~~~~~~~">
@@ -2522,7 +2522,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FontVariant.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.FontVariant.forNumber(variant)));"
errorLine2=" ~~~~~~~~~">
@@ -2531,7 +2531,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(7, variant);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2540,7 +2540,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -2549,7 +2549,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignmentProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -2558,7 +2558,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.TextAlignmentProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2567,7 +2567,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(797507251);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2576,7 +2576,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.TextAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -2585,7 +2585,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.TextAlignment.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -2594,7 +2594,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2603,7 +2603,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -2612,7 +2612,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -2621,7 +2621,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.TextOverflowProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2630,7 +2630,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1183432233);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2639,7 +2639,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.TextOverflow.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -2648,7 +2648,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.TextOverflow.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -2657,7 +2657,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2666,7 +2666,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -2675,7 +2675,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorTypeProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -2684,7 +2684,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorTypeProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.ArcAnchorTypeProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2693,7 +2693,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1193249074);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2702,7 +2702,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.ArcAnchorType.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -2711,7 +2711,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(AlignmentProto.ArcAnchorType.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -2720,7 +2720,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2729,7 +2729,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -2738,7 +2738,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.StringProp.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -2747,7 +2747,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2756,7 +2756,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return FontStyle.fromProto(mImpl.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2765,7 +2765,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -2774,7 +2774,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2783,7 +2783,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasMaxLines()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -2792,7 +2792,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.Int32Prop.fromProto(mImpl.getMaxLines());"
errorLine2=" ~~~~~~~~~~~">
@@ -2801,7 +2801,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasMultilineAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2810,7 +2810,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TextAlignmentProp.fromProto(mImpl.getMultilineAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2819,7 +2819,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasOverflow()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -2828,7 +2828,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TextOverflowProp.fromProto(mImpl.getOverflow());"
errorLine2=" ~~~~~~~~~~~">
@@ -2837,7 +2837,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.hasLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasLineHeight()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2846,7 +2846,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.getLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.SpProp.fromProto(mImpl.getLineHeight());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -2855,7 +2855,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -2864,7 +2864,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -2873,7 +2873,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Text.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Text.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -2882,7 +2882,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1976530157);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -2891,7 +2891,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(text.toProto());"
errorLine2=" ~~~~~~~">
@@ -2900,7 +2900,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2909,7 +2909,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2918,7 +2918,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2927,7 +2927,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -2936,7 +2936,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.mergeText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.mergeText(TypesProto.StringProp.newBuilder().setValue(text).build());"
errorLine2=" ~~~~~~~~~">
@@ -2945,7 +2945,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.mergeText(TypesProto.StringProp.newBuilder().setValue(text).build());"
errorLine2=" ~~~~~~~~">
@@ -2954,7 +2954,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.mergeText(TypesProto.StringProp.newBuilder().setValue(text).build());"
errorLine2=" ~~~~~~~~~~">
@@ -2963,7 +2963,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, text.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2972,7 +2972,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setFontStyle(fontStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -2981,7 +2981,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -2990,7 +2990,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -2999,7 +2999,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3008,7 +3008,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3017,7 +3017,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3026,7 +3026,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3035,7 +3035,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3044,7 +3044,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3053,7 +3053,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3062,7 +3062,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(maxLines.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3071,7 +3071,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3080,7 +3080,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(maxLines.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3089,7 +3089,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(maxLines.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3098,7 +3098,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(maxLines.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3107,7 +3107,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(TypesProto.Int32Prop.newBuilder().setValue(maxLines));"
errorLine2=" ~~~~~~~~~~~">
@@ -3116,7 +3116,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(TypesProto.Int32Prop.newBuilder().setValue(maxLines));"
errorLine2=" ~~~~~~~~">
@@ -3125,7 +3125,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(TypesProto.Int32Prop.newBuilder().setValue(maxLines));"
errorLine2=" ~~~~~~~~~~">
@@ -3134,7 +3134,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(4, maxLines);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3143,7 +3143,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMultilineAlignment(multilineAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3152,7 +3152,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3161,7 +3161,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(multilineAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3170,7 +3170,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(multilineAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3179,7 +3179,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(multilineAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3188,7 +3188,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMultilineAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3197,7 +3197,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.TextAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -3206,7 +3206,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -3215,7 +3215,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.TextAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -3224,7 +3224,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(5, multilineAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3233,7 +3233,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setOverflow(overflow.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -3242,7 +3242,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3251,7 +3251,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(overflow.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3260,7 +3260,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(overflow.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3269,7 +3269,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(overflow.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3278,7 +3278,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setOverflow("
errorLine2=" ~~~~~~~~~~~">
@@ -3287,7 +3287,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.TextOverflowProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -3296,7 +3296,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.TextOverflow.forNumber(overflow)));"
errorLine2=" ~~~~~~~~">
@@ -3305,7 +3305,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.TextOverflow.forNumber(overflow)));"
errorLine2=" ~~~~~~~~~">
@@ -3314,7 +3314,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(6, overflow);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3323,7 +3323,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setLineHeight(lineHeight.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3332,7 +3332,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3341,7 +3341,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(lineHeight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3350,7 +3350,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(lineHeight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3359,7 +3359,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(lineHeight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3368,7 +3368,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -3377,7 +3377,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleModeProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue().getNumber();"
errorLine2=" ~~~~~~~~">
@@ -3386,7 +3386,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleModeProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ContentScaleModeProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3395,7 +3395,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-893830536);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3404,7 +3404,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.ContentScaleMode.forNumber(value));"
errorLine2=" ~~~~~~~~">
@@ -3413,7 +3413,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(LayoutElementProto.ContentScaleMode.forNumber(value));"
errorLine2=" ~~~~~~~~~">
@@ -3422,7 +3422,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3431,7 +3431,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.hasTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasTint()) {"
errorLine2=" ~~~~~~~">
@@ -3440,7 +3440,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.getTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ColorBuilders.ColorProp.fromProto(mImpl.getTint());"
errorLine2=" ~~~~~~~">
@@ -3449,7 +3449,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ColorFilter.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ColorFilter.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3458,7 +3458,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(181311326);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3467,7 +3467,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setTint(tint.toProto());"
errorLine2=" ~~~~~~~">
@@ -3476,7 +3476,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3485,7 +3485,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(tint.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3494,7 +3494,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(tint.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3503,7 +3503,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(tint.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -3512,7 +3512,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasResourceId()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3521,7 +3521,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.StringProp.fromProto(mImpl.getResourceId());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3530,7 +3530,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -3539,7 +3539,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.imageDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -3548,7 +3548,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -3557,7 +3557,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.imageDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -3566,7 +3566,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasContentScaleMode()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3575,7 +3575,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ContentScaleModeProp.fromProto(mImpl.getContentScaleMode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3584,7 +3584,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -3593,7 +3593,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3602,7 +3602,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.hasColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasColorFilter()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3611,7 +3611,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.getColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ColorFilter.fromProto(mImpl.getColorFilter());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3620,7 +3620,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~">
@@ -3629,7 +3629,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -3638,7 +3638,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Image.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Image.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -3647,7 +3647,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-543078544);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3656,7 +3656,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(resourceId.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3665,7 +3665,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3674,7 +3674,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(resourceId.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3683,7 +3683,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(resourceId.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3692,7 +3692,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(resourceId.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3701,7 +3701,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(TypesProto.StringProp.newBuilder().setValue(resourceId));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -3710,7 +3710,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(TypesProto.StringProp.newBuilder().setValue(resourceId));"
errorLine2=" ~~~~~~~~">
@@ -3719,7 +3719,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(TypesProto.StringProp.newBuilder().setValue(resourceId));"
errorLine2=" ~~~~~~~~~~">
@@ -3728,7 +3728,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, resourceId.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3737,7 +3737,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toImageDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -3746,7 +3746,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3755,7 +3755,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3764,7 +3764,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3773,7 +3773,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -3782,7 +3782,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeight(height.toImageDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -3791,7 +3791,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3800,7 +3800,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3809,7 +3809,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3818,7 +3818,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3827,7 +3827,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setContentScaleMode(contentScaleMode.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3836,7 +3836,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3845,7 +3845,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(contentScaleMode.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3854,7 +3854,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(contentScaleMode.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3863,7 +3863,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(contentScaleMode.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3872,7 +3872,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContentScaleMode can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setContentScaleMode("
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3881,7 +3881,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleModeProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ContentScaleModeProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -3890,7 +3890,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -3899,7 +3899,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ContentScaleMode.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ContentScaleMode.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -3908,7 +3908,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(4, contentScaleMode);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3917,7 +3917,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3926,7 +3926,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3935,7 +3935,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3944,7 +3944,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3953,7 +3953,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -3962,7 +3962,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColorFilter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setColorFilter(colorFilter.toProto());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -3971,7 +3971,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -3980,7 +3980,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(colorFilter.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -3989,7 +3989,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(colorFilter.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -3998,7 +3998,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(colorFilter.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4007,7 +4007,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -4016,7 +4016,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.spacerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -4025,7 +4025,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -4034,7 +4034,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.spacerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -4043,7 +4043,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4052,7 +4052,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4061,7 +4061,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -4070,7 +4070,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4079,7 +4079,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spacer.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Spacer.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4088,7 +4088,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1748084575);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4097,7 +4097,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toSpacerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -4106,7 +4106,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4115,7 +4115,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4124,7 +4124,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4133,7 +4133,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4142,7 +4142,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeight(height.toSpacerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -4151,7 +4151,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4160,7 +4160,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4169,7 +4169,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4178,7 +4178,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4187,7 +4187,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4196,7 +4196,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4205,7 +4205,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4214,7 +4214,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4223,7 +4223,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4232,7 +4232,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getContentsList().stream()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -4241,7 +4241,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -4250,7 +4250,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -4259,7 +4259,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -4268,7 +4268,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -4277,7 +4277,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHorizontalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4286,7 +4286,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return HorizontalAlignmentProp.fromProto(mImpl.getHorizontalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4295,7 +4295,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasVerticalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4304,7 +4304,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return VerticalAlignmentProp.fromProto(mImpl.getVerticalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4313,7 +4313,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4322,7 +4322,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4331,7 +4331,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setBox(mImpl).build();"
errorLine2=" ~~~~~~">
@@ -4340,7 +4340,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setBox(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4349,7 +4349,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Box.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Box.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4358,7 +4358,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1881256071);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4367,7 +4367,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.addContents(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -4376,7 +4376,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -4385,7 +4385,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -4394,7 +4394,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -4403,7 +4403,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4412,7 +4412,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeight(height.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -4421,7 +4421,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4430,7 +4430,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4439,7 +4439,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4448,7 +4448,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4457,7 +4457,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -4466,7 +4466,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4475,7 +4475,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4484,7 +4484,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4493,7 +4493,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4502,7 +4502,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHorizontalAlignment(horizontalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4511,7 +4511,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4520,7 +4520,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" checkNotNull(horizontalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4529,7 +4529,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" checkNotNull(horizontalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4538,7 +4538,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" checkNotNull(horizontalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4547,7 +4547,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHorizontalAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -4556,7 +4556,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -4565,7 +4565,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -4574,7 +4574,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -4583,7 +4583,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(4, horizontalAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4592,7 +4592,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVerticalAlignment(verticalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4601,7 +4601,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4610,7 +4610,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(verticalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4619,7 +4619,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(verticalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4628,7 +4628,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(verticalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4637,7 +4637,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVerticalAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4646,7 +4646,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -4655,7 +4655,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -4664,7 +4664,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -4673,7 +4673,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(5, verticalAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4682,7 +4682,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4691,7 +4691,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4700,7 +4700,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4709,7 +4709,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4718,7 +4718,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4727,7 +4727,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -4736,7 +4736,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.StringProp.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -4745,7 +4745,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4754,7 +4754,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return FontStyle.fromProto(mImpl.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4763,7 +4763,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -4772,7 +4772,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.SpanModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4781,7 +4781,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -4790,7 +4790,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -4799,7 +4799,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanText.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.SpanText.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -4808,7 +4808,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-221774557);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4817,7 +4817,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(text.toProto());"
errorLine2=" ~~~~~~~">
@@ -4826,7 +4826,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4835,7 +4835,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4844,7 +4844,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4853,7 +4853,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -4862,7 +4862,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(TypesProto.StringProp.newBuilder().setValue(text));"
errorLine2=" ~~~~~~~">
@@ -4871,7 +4871,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(TypesProto.StringProp.newBuilder().setValue(text));"
errorLine2=" ~~~~~~~~">
@@ -4880,7 +4880,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(TypesProto.StringProp.newBuilder().setValue(text));"
errorLine2=" ~~~~~~~~~~">
@@ -4889,7 +4889,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, text.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4898,7 +4898,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setFontStyle(fontStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4907,7 +4907,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4916,7 +4916,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4925,7 +4925,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4934,7 +4934,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4943,7 +4943,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4952,7 +4952,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -4961,7 +4961,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -4970,7 +4970,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -4979,7 +4979,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -4988,7 +4988,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasResourceId()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -4997,7 +4997,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.StringProp.fromProto(mImpl.getResourceId());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5006,7 +5006,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -5015,7 +5015,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -5024,7 +5024,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -5033,7 +5033,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -5042,7 +5042,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5051,7 +5051,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.SpanModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5060,7 +5060,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.hasAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasAlignment()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5069,7 +5069,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.getAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return SpanVerticalAlignmentProp.fromProto(mImpl.getAlignment());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5078,7 +5078,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~">
@@ -5087,7 +5087,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.Span.newBuilder().setImage(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -5096,7 +5096,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanImage.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.SpanImage.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5105,7 +5105,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(502289772);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5114,7 +5114,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(resourceId.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5123,7 +5123,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5132,7 +5132,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(resourceId.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5141,7 +5141,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(resourceId.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5150,7 +5150,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(resourceId.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5159,7 +5159,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(TypesProto.StringProp.newBuilder().setValue(resourceId));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5168,7 +5168,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(TypesProto.StringProp.newBuilder().setValue(resourceId));"
errorLine2=" ~~~~~~~~">
@@ -5177,7 +5177,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(TypesProto.StringProp.newBuilder().setValue(resourceId));"
errorLine2=" ~~~~~~~~~~">
@@ -5186,7 +5186,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, resourceId.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5195,7 +5195,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toProto());"
errorLine2=" ~~~~~~~~">
@@ -5204,7 +5204,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5213,7 +5213,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5222,7 +5222,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5231,7 +5231,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -5240,7 +5240,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeight(height.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -5249,7 +5249,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5258,7 +5258,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5267,7 +5267,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5276,7 +5276,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5285,7 +5285,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5294,7 +5294,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5303,7 +5303,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5312,7 +5312,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5321,7 +5321,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5330,7 +5330,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAlignment(alignment.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5339,7 +5339,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5348,7 +5348,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(alignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5357,7 +5357,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(alignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5366,7 +5366,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(alignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5375,7 +5375,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAlignment("
errorLine2=" ~~~~~~~~~~~~">
@@ -5384,7 +5384,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.SpanVerticalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -5393,7 +5393,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -5402,7 +5402,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanVerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.SpanVerticalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -5411,7 +5411,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(5, alignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5420,7 +5420,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -5429,7 +5429,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return SpanText.fromProto(proto.getText());"
errorLine2=" ~~~~~~~">
@@ -5438,7 +5438,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.hasImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasImage()) {"
errorLine2=" ~~~~~~~~">
@@ -5447,7 +5447,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Span.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return SpanImage.fromProto(proto.getImage());"
errorLine2=" ~~~~~~~~">
@@ -5456,7 +5456,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getSpansList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getSpansList().stream()"
errorLine2=" ~~~~~~~~~~~~">
@@ -5465,7 +5465,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -5474,7 +5474,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5483,7 +5483,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasMaxLines()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -5492,7 +5492,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.Int32Prop.fromProto(mImpl.getMaxLines());"
errorLine2=" ~~~~~~~~~~~">
@@ -5501,7 +5501,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasMultilineAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5510,7 +5510,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return HorizontalAlignmentProp.fromProto(mImpl.getMultilineAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5519,7 +5519,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasOverflow()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -5528,7 +5528,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TextOverflowProp.fromProto(mImpl.getOverflow());"
errorLine2=" ~~~~~~~~~~~">
@@ -5537,7 +5537,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.hasLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasLineHeight()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5546,7 +5546,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.getLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.SpProp.fromProto(mImpl.getLineHeight());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5555,7 +5555,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpannable(mImpl).build();"
errorLine2=" ~~~~~~~~~~~~">
@@ -5564,7 +5564,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setSpannable(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -5573,7 +5573,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Spannable.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Spannable.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -5582,7 +5582,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1690284372);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5591,7 +5591,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addSpans can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.addSpans(span.toSpanProto());"
errorLine2=" ~~~~~~~~">
@@ -5600,7 +5600,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5609,7 +5609,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(span.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5618,7 +5618,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(span.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5627,7 +5627,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(span.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5636,7 +5636,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5645,7 +5645,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5654,7 +5654,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5663,7 +5663,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5672,7 +5672,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5681,7 +5681,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(maxLines.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -5690,7 +5690,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5699,7 +5699,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(maxLines.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5708,7 +5708,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(maxLines.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5717,7 +5717,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(maxLines.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5726,7 +5726,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMaxLines can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(TypesProto.Int32Prop.newBuilder().setValue(maxLines));"
errorLine2=" ~~~~~~~~~~~">
@@ -5735,7 +5735,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(TypesProto.Int32Prop.newBuilder().setValue(maxLines));"
errorLine2=" ~~~~~~~~">
@@ -5744,7 +5744,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMaxLines(TypesProto.Int32Prop.newBuilder().setValue(maxLines));"
errorLine2=" ~~~~~~~~~~">
@@ -5753,7 +5753,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(3, maxLines);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5762,7 +5762,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMultilineAlignment(multilineAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5771,7 +5771,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5780,7 +5780,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(multilineAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5789,7 +5789,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(multilineAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5798,7 +5798,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(multilineAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5807,7 +5807,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMultilineAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMultilineAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -5816,7 +5816,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -5825,7 +5825,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -5834,7 +5834,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -5843,7 +5843,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(4, multilineAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5852,7 +5852,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setOverflow(overflow.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -5861,7 +5861,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5870,7 +5870,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(overflow.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5879,7 +5879,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(overflow.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5888,7 +5888,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(overflow.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5897,7 +5897,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOverflow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setOverflow("
errorLine2=" ~~~~~~~~~~~">
@@ -5906,7 +5906,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflowProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.TextOverflowProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -5915,7 +5915,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.TextOverflow.forNumber(overflow)));"
errorLine2=" ~~~~~~~~">
@@ -5924,7 +5924,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TextOverflow.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(LayoutElementProto.TextOverflow.forNumber(overflow)));"
errorLine2=" ~~~~~~~~~">
@@ -5933,7 +5933,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(5, overflow);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5942,7 +5942,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLineHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setLineHeight(lineHeight.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -5951,7 +5951,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -5960,7 +5960,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(lineHeight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -5969,7 +5969,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(lineHeight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -5978,7 +5978,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 7, checkNotNull(lineHeight.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -5987,7 +5987,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getContentsList().stream()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -5996,7 +5996,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHorizontalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6005,7 +6005,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return HorizontalAlignmentProp.fromProto(mImpl.getHorizontalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6014,7 +6014,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -6023,7 +6023,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -6032,7 +6032,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -6041,7 +6041,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -6050,7 +6050,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6059,7 +6059,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6068,7 +6068,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setColumn(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -6077,7 +6077,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setColumn(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -6086,7 +6086,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Column.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Column.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6095,7 +6095,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1411218529);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6104,7 +6104,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.addContents(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -6113,7 +6113,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6122,7 +6122,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6131,7 +6131,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6140,7 +6140,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6149,7 +6149,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHorizontalAlignment(horizontalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6158,7 +6158,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6167,7 +6167,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" checkNotNull(horizontalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6176,7 +6176,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" checkNotNull(horizontalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6185,7 +6185,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" checkNotNull(horizontalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6194,7 +6194,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHorizontalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHorizontalAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6203,7 +6203,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6212,7 +6212,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -6221,7 +6221,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="HorizontalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.HorizontalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -6230,7 +6230,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, horizontalAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6239,7 +6239,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -6248,7 +6248,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6257,7 +6257,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6266,7 +6266,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6275,7 +6275,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6284,7 +6284,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeight(height.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -6293,7 +6293,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6302,7 +6302,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6311,7 +6311,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6320,7 +6320,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6329,7 +6329,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6338,7 +6338,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6347,7 +6347,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6356,7 +6356,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6365,7 +6365,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6374,7 +6374,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getContentsList().stream()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6383,7 +6383,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasVerticalAlignment()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6392,7 +6392,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return VerticalAlignmentProp.fromProto(mImpl.getVerticalAlignment());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6401,7 +6401,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -6410,7 +6410,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -6419,7 +6419,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasHeight()) {"
errorLine2=" ~~~~~~~~~">
@@ -6428,7 +6428,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.containerDimensionFromProto(mImpl.getHeight());"
errorLine2=" ~~~~~~~~~">
@@ -6437,7 +6437,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6446,7 +6446,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6455,7 +6455,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setRow(mImpl).build();"
errorLine2=" ~~~~~~">
@@ -6464,7 +6464,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setRow(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -6473,7 +6473,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Row.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Row.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6482,7 +6482,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1537205448);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6491,7 +6491,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.addContents(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -6500,7 +6500,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6509,7 +6509,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6518,7 +6518,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6527,7 +6527,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6536,7 +6536,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVerticalAlignment(verticalAlignment.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6545,7 +6545,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6554,7 +6554,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(verticalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6563,7 +6563,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(verticalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6572,7 +6572,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(verticalAlignment.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6581,7 +6581,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlignment can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVerticalAlignment("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6590,7 +6590,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -6599,7 +6599,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -6608,7 +6608,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignment.forNumber("
errorLine2=" ~~~~~~~~~">
@@ -6617,7 +6617,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, verticalAlignment);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6626,7 +6626,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~">
@@ -6635,7 +6635,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6644,7 +6644,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6653,7 +6653,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6662,7 +6662,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -6671,7 +6671,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeight can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeight(height.toContainerDimensionProto());"
errorLine2=" ~~~~~~~~~">
@@ -6680,7 +6680,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6689,7 +6689,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6698,7 +6698,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6707,7 +6707,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(height.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6716,7 +6716,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6725,7 +6725,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6734,7 +6734,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6743,7 +6743,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6752,7 +6752,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6761,7 +6761,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getContentsList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getContentsList().stream()"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -6770,7 +6770,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasAnchorAngle()) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6779,7 +6779,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DegreesProp.fromProto(mImpl.getAnchorAngle());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6788,7 +6788,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasAnchorType()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6797,7 +6797,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ArcAnchorTypeProp.fromProto(mImpl.getAnchorType());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6806,7 +6806,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasVerticalAlign()) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6815,7 +6815,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return VerticalAlignmentProp.fromProto(mImpl.getVerticalAlign());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -6824,7 +6824,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -6833,7 +6833,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.Modifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6842,7 +6842,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setArc(mImpl).build();"
errorLine2=" ~~~~~~">
@@ -6851,7 +6851,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.LayoutElement.newBuilder().setArc(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -6860,7 +6860,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Arc.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Arc.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -6869,7 +6869,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(299028337);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6878,7 +6878,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.addContents(content.toArcLayoutElementProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -6887,7 +6887,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6896,7 +6896,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6905,7 +6905,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -6914,7 +6914,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6923,7 +6923,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnchorAngle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAnchorAngle(anchorAngle.toProto());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -6932,7 +6932,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6941,7 +6941,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(anchorAngle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6950,7 +6950,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(anchorAngle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -6959,7 +6959,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(anchorAngle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -6968,7 +6968,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAnchorType(anchorType.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -6977,7 +6977,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -6986,7 +6986,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(anchorType.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -6995,7 +6995,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(anchorType.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7004,7 +7004,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(anchorType.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7013,7 +7013,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAnchorType can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAnchorType("
errorLine2=" ~~~~~~~~~~~~~">
@@ -7022,7 +7022,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorTypeProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.ArcAnchorTypeProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7031,7 +7031,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAnchorType.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(AlignmentProto.ArcAnchorType.forNumber(anchorType)));"
errorLine2=" ~~~~~~~~~">
@@ -7040,7 +7040,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue(AlignmentProto.ArcAnchorType.forNumber(anchorType)));"
errorLine2=" ~~~~~~~~">
@@ -7049,7 +7049,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(3, anchorType);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7058,7 +7058,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVerticalAlign(verticalAlign.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7067,7 +7067,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7076,7 +7076,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(verticalAlign.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7085,7 +7085,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(verticalAlign.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7094,7 +7094,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(verticalAlign.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7103,7 +7103,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVerticalAlign can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVerticalAlign("
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -7112,7 +7112,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignmentProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignmentProp.newBuilder()"
errorLine2=" ~~~~~~~~~~">
@@ -7121,7 +7121,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setValue("
errorLine2=" ~~~~~~~~">
@@ -7130,7 +7130,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="VerticalAlignment.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" AlignmentProto.VerticalAlignment.forNumber(verticalAlign)));"
errorLine2=" ~~~~~~~~~">
@@ -7139,7 +7139,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(4, verticalAlign);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7148,7 +7148,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7157,7 +7157,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7166,7 +7166,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7175,7 +7175,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7184,7 +7184,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7193,7 +7193,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -7202,7 +7202,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.StringProp.fromProto(mImpl.getText());"
errorLine2=" ~~~~~~~">
@@ -7211,7 +7211,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasFontStyle()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7220,7 +7220,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return FontStyle.fromProto(mImpl.getFontStyle());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7229,7 +7229,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7238,7 +7238,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.ArcModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7247,7 +7247,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -7256,7 +7256,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setText(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -7265,7 +7265,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcText.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ArcText.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7274,7 +7274,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(434391973);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7283,7 +7283,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(text.toProto());"
errorLine2=" ~~~~~~~">
@@ -7292,7 +7292,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7301,7 +7301,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7310,7 +7310,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7319,7 +7319,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(text.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
@@ -7328,7 +7328,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(TypesProto.StringProp.newBuilder().setValue(text));"
errorLine2=" ~~~~~~~">
@@ -7337,7 +7337,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(TypesProto.StringProp.newBuilder().setValue(text));"
errorLine2=" ~~~~~~~~">
@@ -7346,7 +7346,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setText(TypesProto.StringProp.newBuilder().setValue(text));"
errorLine2=" ~~~~~~~~~~">
@@ -7355,7 +7355,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, text.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7364,7 +7364,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFontStyle can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setFontStyle(fontStyle.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7373,7 +7373,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7382,7 +7382,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7391,7 +7391,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7400,7 +7400,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(fontStyle.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7409,7 +7409,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7418,7 +7418,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7427,7 +7427,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7436,7 +7436,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7445,7 +7445,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7454,7 +7454,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasLength()) {"
errorLine2=" ~~~~~~~~~">
@@ -7463,7 +7463,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DegreesProp.fromProto(mImpl.getLength());"
errorLine2=" ~~~~~~~~~">
@@ -7472,7 +7472,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasThickness()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7481,7 +7481,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getThickness());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7490,7 +7490,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -7499,7 +7499,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ColorBuilders.ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -7508,7 +7508,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7517,7 +7517,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.ArcModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7526,7 +7526,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setLine(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -7535,7 +7535,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setLine(mImpl).build();"
errorLine2=" ~~~~~~~">
@@ -7544,7 +7544,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLine.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ArcLine.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7553,7 +7553,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1371793535);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7562,7 +7562,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setLength(length.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -7571,7 +7571,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7580,7 +7580,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(length.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7589,7 +7589,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(length.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7598,7 +7598,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(length.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7607,7 +7607,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setThickness(thickness.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7616,7 +7616,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7625,7 +7625,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(thickness.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7634,7 +7634,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(thickness.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7643,7 +7643,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(thickness.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7652,7 +7652,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -7661,7 +7661,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7670,7 +7670,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7679,7 +7679,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7688,7 +7688,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -7697,7 +7697,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7706,7 +7706,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7715,7 +7715,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7724,7 +7724,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7733,7 +7733,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7742,7 +7742,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasLength()) {"
errorLine2=" ~~~~~~~~~">
@@ -7751,7 +7751,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DegreesProp.fromProto(mImpl.getLength());"
errorLine2=" ~~~~~~~~~">
@@ -7760,7 +7760,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasThickness()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7769,7 +7769,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getThickness());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7778,7 +7778,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.hasModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasModifiers()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -7787,7 +7787,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.getModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ModifiersBuilders.ArcModifiers.fromProto(mImpl.getModifiers());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7796,7 +7796,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -7805,7 +7805,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setSpacer(mImpl).build();"
errorLine2=" ~~~~~~~~~">
@@ -7814,7 +7814,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcSpacer.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ArcSpacer.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -7823,7 +7823,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-179760535);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7832,7 +7832,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLength can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setLength(length.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -7841,7 +7841,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7850,7 +7850,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(length.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7859,7 +7859,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(length.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7868,7 +7868,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(length.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7877,7 +7877,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7886,7 +7886,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(thickness.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7895,7 +7895,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(thickness.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7904,7 +7904,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(thickness.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7913,7 +7913,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setThickness can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setThickness(thickness.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7922,7 +7922,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setModifiers can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setModifiers(modifiers.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7931,7 +7931,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -7940,7 +7940,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -7949,7 +7949,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -7958,7 +7958,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(modifiers.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -7967,7 +7967,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.hasContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasContent()) {"
errorLine2=" ~~~~~~~~~~">
@@ -7976,7 +7976,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementBuilders.layoutElementFromProto(mImpl.getContent());"
errorLine2=" ~~~~~~~~~~">
@@ -7985,7 +7985,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.hasRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasRotateContents()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -7994,7 +7994,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.getRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.BoolProp.fromProto(mImpl.getRotateContents());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8003,7 +8003,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setAdapter(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -8012,7 +8012,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementProto.ArcLayoutElement.newBuilder().setAdapter(mImpl).build();"
errorLine2=" ~~~~~~~~~~">
@@ -8021,7 +8021,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcAdapter.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.ArcAdapter.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -8030,7 +8030,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(1696473935);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8039,7 +8039,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setContent can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setContent(content.toLayoutElementProto());"
errorLine2=" ~~~~~~~~~~">
@@ -8048,7 +8048,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -8057,7 +8057,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.addChildNode can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -8066,7 +8066,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~">
@@ -8075,7 +8075,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.addChildNode(checkNotNull(content.getFingerprint()));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8084,7 +8084,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRotateContents(rotateContents.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8093,7 +8093,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8102,7 +8102,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(rotateContents.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8111,7 +8111,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(rotateContents.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -8120,7 +8120,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(rotateContents.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8129,7 +8129,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRotateContents(TypesProto.BoolProp.newBuilder().setValue(rotateContents));"
errorLine2=" ~~~~~~~~~~">
@@ -8138,7 +8138,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRotateContents can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRotateContents(TypesProto.BoolProp.newBuilder().setValue(rotateContents));"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8147,7 +8147,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRotateContents(TypesProto.BoolProp.newBuilder().setValue(rotateContents));"
errorLine2=" ~~~~~~~~">
@@ -8156,7 +8156,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(2, Boolean.hashCode(rotateContents));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8165,7 +8165,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasColumn()) {"
errorLine2=" ~~~~~~~~~">
@@ -8174,7 +8174,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getColumn can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Column.fromProto(proto.getColumn(), fingerprint);"
errorLine2=" ~~~~~~~~~">
@@ -8183,7 +8183,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasRow()) {"
errorLine2=" ~~~~~~">
@@ -8192,7 +8192,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getRow can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Row.fromProto(proto.getRow(), fingerprint);"
errorLine2=" ~~~~~~">
@@ -8201,7 +8201,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasBox()) {"
errorLine2=" ~~~~~~">
@@ -8210,7 +8210,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getBox can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Box.fromProto(proto.getBox(), fingerprint);"
errorLine2=" ~~~~~~">
@@ -8219,7 +8219,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasSpacer()) {"
errorLine2=" ~~~~~~~~~">
@@ -8228,7 +8228,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Spacer.fromProto(proto.getSpacer(), fingerprint);"
errorLine2=" ~~~~~~~~~">
@@ -8237,7 +8237,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -8246,7 +8246,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Text.fromProto(proto.getText(), fingerprint);"
errorLine2=" ~~~~~~~">
@@ -8255,7 +8255,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasImage()) {"
errorLine2=" ~~~~~~~~">
@@ -8264,7 +8264,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Image.fromProto(proto.getImage(), fingerprint);"
errorLine2=" ~~~~~~~~">
@@ -8273,7 +8273,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasArc()) {"
errorLine2=" ~~~~~~">
@@ -8282,7 +8282,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getArc can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Arc.fromProto(proto.getArc(), fingerprint);"
errorLine2=" ~~~~~~">
@@ -8291,7 +8291,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.hasSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasSpannable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -8300,7 +8300,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="LayoutElement.getSpannable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Spannable.fromProto(proto.getSpannable(), fingerprint);"
errorLine2=" ~~~~~~~~~~~~">
@@ -8309,7 +8309,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasText()) {"
errorLine2=" ~~~~~~~">
@@ -8318,7 +8318,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getText can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ArcText.fromProto(proto.getText());"
errorLine2=" ~~~~~~~">
@@ -8327,7 +8327,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasLine()) {"
errorLine2=" ~~~~~~~">
@@ -8336,7 +8336,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getLine can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ArcLine.fromProto(proto.getLine());"
errorLine2=" ~~~~~~~">
@@ -8345,7 +8345,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasSpacer()) {"
errorLine2=" ~~~~~~~~~">
@@ -8354,7 +8354,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getSpacer can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ArcSpacer.fromProto(proto.getSpacer());"
errorLine2=" ~~~~~~~~~">
@@ -8363,7 +8363,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.hasAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (proto.hasAdapter()) {"
errorLine2=" ~~~~~~~~~~">
@@ -8372,7 +8372,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcLayoutElement.getAdapter can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ArcAdapter.fromProto(proto.getAdapter());"
errorLine2=" ~~~~~~~~~~">
@@ -8381,7 +8381,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.hasRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasRoot()) {"
errorLine2=" ~~~~~~~">
@@ -8390,7 +8390,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.getRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementBuilders.layoutElementFromProto(mImpl.getRoot());"
errorLine2=" ~~~~~~~">
@@ -8399,7 +8399,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.parseFrom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return fromProto(LayoutElementProto.Layout.parseFrom(byteArray));"
errorLine2=" ~~~~~~~~~">
@@ -8408,7 +8408,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Layout.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" LayoutElementProto.Layout.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -8417,7 +8417,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRoot(root.toLayoutElementProto());"
errorLine2=" ~~~~~~~">
@@ -8426,7 +8426,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFingerprint can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setFingerprint("
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8435,7 +8435,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRoot can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TreeFingerprint.newBuilder().setRoot(fingerprintToProto(fingerprint)));"
errorLine2=" ~~~~~~~">
@@ -8444,7 +8444,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TreeFingerprint.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TreeFingerprint.newBuilder().setRoot(fingerprintToProto(fingerprint)));"
errorLine2=" ~~~~~~~~~~">
@@ -8453,7 +8453,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="NodeFingerprint.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" FingerprintProto.NodeFingerprint.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -8462,7 +8462,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.selfTypeValue can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (fingerprint.selfTypeValue() != 0) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8471,7 +8471,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSelfTypeValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.setSelfTypeValue(fingerprint.selfTypeValue());"
errorLine2=" ~~~~~~~~~~~~~~~~">
@@ -8480,7 +8480,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.selfTypeValue can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.setSelfTypeValue(fingerprint.selfTypeValue());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8489,7 +8489,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.selfPropsValue can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (fingerprint.selfPropsValue() != 0) {"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8498,7 +8498,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSelfPropsValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.setSelfPropsValue(fingerprint.selfPropsValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -8507,7 +8507,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.selfPropsValue can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.setSelfPropsValue(fingerprint.selfPropsValue());"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -8516,7 +8516,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.childNodesValue can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (fingerprint.childNodesValue() != 0) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8525,7 +8525,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setChildNodesValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.setChildNodesValue(fingerprint.childNodesValue());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -8534,7 +8534,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.childNodesValue can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.setChildNodesValue(fingerprint.childNodesValue());"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -8543,7 +8543,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.childNodes can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" for (Fingerprint childNode : fingerprint.childNodes()) {"
errorLine2=" ~~~~~~~~~~">
@@ -8552,7 +8552,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addChildNodes can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" builder.addChildNodes(fingerprintToProto(childNode));"
errorLine2=" ~~~~~~~~~~~~~">
@@ -8561,7 +8561,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getId();"
errorLine2=" ~~~~~">
@@ -8570,7 +8570,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.hasOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasOnClick()) {"
errorLine2=" ~~~~~~~~~~">
@@ -8579,7 +8579,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.getOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ActionBuilders.actionFromProto(mImpl.getOnClick());"
errorLine2=" ~~~~~~~~~~">
@@ -8588,7 +8588,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Clickable.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.Clickable.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -8597,7 +8597,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(595587995);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8606,7 +8606,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setId(id);"
errorLine2=" ~~~~~">
@@ -8615,7 +8615,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, id.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8624,7 +8624,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setOnClick can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setOnClick(onClick.toActionProto());"
errorLine2=" ~~~~~~~~~~">
@@ -8633,7 +8633,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8642,7 +8642,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(onClick.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8651,7 +8651,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(onClick.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -8660,7 +8660,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(onClick.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8669,7 +8669,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.getObsoleteContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getObsoleteContentDescription();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8678,7 +8678,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Semantics.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.Semantics.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -8687,7 +8687,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1479823155);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8696,7 +8696,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setObsoleteContentDescription can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setObsoleteContentDescription(contentDescription);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8705,7 +8705,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(4, contentDescription.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8714,7 +8714,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasEnd()) {"
errorLine2=" ~~~~~~">
@@ -8723,7 +8723,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getEnd());"
errorLine2=" ~~~~~~">
@@ -8732,7 +8732,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasStart()) {"
errorLine2=" ~~~~~~~~">
@@ -8741,7 +8741,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getStart());"
errorLine2=" ~~~~~~~~">
@@ -8750,7 +8750,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasTop()) {"
errorLine2=" ~~~~~~">
@@ -8759,7 +8759,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getTop());"
errorLine2=" ~~~~~~">
@@ -8768,7 +8768,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasBottom()) {"
errorLine2=" ~~~~~~~~~">
@@ -8777,7 +8777,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getBottom());"
errorLine2=" ~~~~~~~~~">
@@ -8786,7 +8786,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.hasRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasRtlAware()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -8795,7 +8795,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.getRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TypeBuilders.BoolProp.fromProto(mImpl.getRtlAware());"
errorLine2=" ~~~~~~~~~~~">
@@ -8804,7 +8804,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Padding.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.Padding.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -8813,7 +8813,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1120275440);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -8822,7 +8822,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEnd can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setEnd(end.toProto());"
errorLine2=" ~~~~~~">
@@ -8831,7 +8831,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8840,7 +8840,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(end.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8849,7 +8849,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(end.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -8858,7 +8858,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(end.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8867,7 +8867,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStart can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setStart(start.toProto());"
errorLine2=" ~~~~~~~~">
@@ -8876,7 +8876,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8885,7 +8885,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(start.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8894,7 +8894,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(start.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -8903,7 +8903,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(start.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -8912,7 +8912,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTop can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setTop(top.toProto());"
errorLine2=" ~~~~~~">
@@ -8921,7 +8921,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8930,7 +8930,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(top.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8939,7 +8939,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(top.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -8948,7 +8948,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(top.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8957,7 +8957,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBottom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setBottom(bottom.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -8966,7 +8966,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -8975,7 +8975,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(bottom.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -8984,7 +8984,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(bottom.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -8993,7 +8993,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(bottom.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9002,7 +9002,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRtlAware(rtlAware.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -9011,7 +9011,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9020,7 +9020,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(rtlAware.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9029,7 +9029,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(rtlAware.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9038,7 +9038,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(rtlAware.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9047,7 +9047,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRtlAware(TypesProto.BoolProp.newBuilder().setValue(rtlAware));"
errorLine2=" ~~~~~~~~~~">
@@ -9056,7 +9056,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRtlAware can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRtlAware(TypesProto.BoolProp.newBuilder().setValue(rtlAware));"
errorLine2=" ~~~~~~~~~~~">
@@ -9065,7 +9065,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRtlAware(TypesProto.BoolProp.newBuilder().setValue(rtlAware));"
errorLine2=" ~~~~~~~~">
@@ -9074,7 +9074,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(5, Boolean.hashCode(rtlAware));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9083,7 +9083,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.hasWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasWidth()) {"
errorLine2=" ~~~~~~~~">
@@ -9092,7 +9092,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.getWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getWidth());"
errorLine2=" ~~~~~~~~">
@@ -9101,7 +9101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -9110,7 +9110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ColorBuilders.ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -9119,7 +9119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Border.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final ModifiersProto.Border.Builder mImpl = ModifiersProto.Border.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -9128,7 +9128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(2085330827);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9137,7 +9137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidth can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidth(width.toProto());"
errorLine2=" ~~~~~~~~">
@@ -9146,7 +9146,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9155,7 +9155,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9164,7 +9164,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9173,7 +9173,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(width.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -9182,7 +9182,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -9191,7 +9191,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9200,7 +9200,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9209,7 +9209,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9218,7 +9218,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -9227,7 +9227,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.hasRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasRadius()) {"
errorLine2=" ~~~~~~~~~">
@@ -9236,7 +9236,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.getRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DimensionBuilders.DpProp.fromProto(mImpl.getRadius());"
errorLine2=" ~~~~~~~~~">
@@ -9245,7 +9245,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Corner.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final ModifiersProto.Corner.Builder mImpl = ModifiersProto.Corner.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -9254,7 +9254,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-623478338);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9263,7 +9263,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRadius can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setRadius(radius.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -9272,7 +9272,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9281,7 +9281,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(radius.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9290,7 +9290,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(radius.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9299,7 +9299,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(radius.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9308,7 +9308,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.hasColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasColor()) {"
errorLine2=" ~~~~~~~~">
@@ -9317,7 +9317,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.getColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ColorBuilders.ColorProp.fromProto(mImpl.getColor());"
errorLine2=" ~~~~~~~~">
@@ -9326,7 +9326,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.hasCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasCorner()) {"
errorLine2=" ~~~~~~~~~">
@@ -9335,7 +9335,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.getCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Corner.fromProto(mImpl.getCorner());"
errorLine2=" ~~~~~~~~~">
@@ -9344,7 +9344,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Background.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.Background.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -9353,7 +9353,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(374507572);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9362,7 +9362,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setColor can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setColor(color.toProto());"
errorLine2=" ~~~~~~~~">
@@ -9371,7 +9371,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9380,7 +9380,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9389,7 +9389,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9398,7 +9398,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(color.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -9407,7 +9407,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setCorner can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setCorner(corner.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -9416,7 +9416,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9425,7 +9425,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(corner.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9434,7 +9434,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(corner.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9443,7 +9443,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(corner.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9452,7 +9452,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ElementMetadata.getTagData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getTagData().toByteArray();"
errorLine2=" ~~~~~~~~~~">
@@ -9461,7 +9461,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ElementMetadata.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.ElementMetadata.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -9470,7 +9470,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-589294723);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9479,7 +9479,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setTagData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setTagData(ByteString.copyFrom(tagData));"
errorLine2=" ~~~~~~~~~~">
@@ -9488,7 +9488,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Arrays.hashCode(tagData));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9497,7 +9497,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -9506,7 +9506,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Clickable.fromProto(mImpl.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9515,7 +9515,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasSemantics()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -9524,7 +9524,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Semantics.fromProto(mImpl.getSemantics());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9533,7 +9533,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasPadding()) {"
errorLine2=" ~~~~~~~~~~">
@@ -9542,7 +9542,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Padding.fromProto(mImpl.getPadding());"
errorLine2=" ~~~~~~~~~~">
@@ -9551,7 +9551,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasBorder()) {"
errorLine2=" ~~~~~~~~~">
@@ -9560,7 +9560,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Border.fromProto(mImpl.getBorder());"
errorLine2=" ~~~~~~~~~">
@@ -9569,7 +9569,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasBackground()) {"
errorLine2=" ~~~~~~~~~~~~~">
@@ -9578,7 +9578,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Background.fromProto(mImpl.getBackground());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -9587,7 +9587,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.hasMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasMetadata()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -9596,7 +9596,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.getMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return ElementMetadata.fromProto(mImpl.getMetadata());"
errorLine2=" ~~~~~~~~~~~">
@@ -9605,7 +9605,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Modifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.Modifiers.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -9614,7 +9614,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-170942531);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9623,7 +9623,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setClickable(clickable.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9632,7 +9632,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9641,7 +9641,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9650,7 +9650,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9659,7 +9659,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9668,7 +9668,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setSemantics(semantics.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9677,7 +9677,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9686,7 +9686,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(semantics.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9695,7 +9695,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(semantics.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9704,7 +9704,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(semantics.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9713,7 +9713,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setPadding can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setPadding(padding.toProto());"
errorLine2=" ~~~~~~~~~~">
@@ -9722,7 +9722,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9731,7 +9731,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(padding.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9740,7 +9740,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(padding.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9749,7 +9749,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 3, checkNotNull(padding.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9758,7 +9758,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBorder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setBorder(border.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -9767,7 +9767,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9776,7 +9776,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(border.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9785,7 +9785,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(border.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9794,7 +9794,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 4, checkNotNull(border.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9803,7 +9803,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setBackground can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setBackground(background.toProto());"
errorLine2=" ~~~~~~~~~~~~~">
@@ -9812,7 +9812,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9821,7 +9821,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(background.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9830,7 +9830,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(background.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9839,7 +9839,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 5, checkNotNull(background.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9848,7 +9848,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setMetadata can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setMetadata(metadata.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -9857,7 +9857,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9866,7 +9866,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(metadata.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9875,7 +9875,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(metadata.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9884,7 +9884,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 6, checkNotNull(metadata.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9893,7 +9893,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -9902,7 +9902,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Clickable.fromProto(mImpl.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9911,7 +9911,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.hasSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasSemantics()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -9920,7 +9920,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.getSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Semantics.fromProto(mImpl.getSemantics());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9929,7 +9929,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ArcModifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.ArcModifiers.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -9938,7 +9938,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1648736168);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9947,7 +9947,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setClickable(clickable.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9956,7 +9956,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -9965,7 +9965,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -9974,7 +9974,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -9983,7 +9983,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -9992,7 +9992,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setSemantics can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setSemantics(semantics.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -10001,7 +10001,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -10010,7 +10010,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(semantics.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -10019,7 +10019,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(semantics.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -10028,7 +10028,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 2, checkNotNull(semantics.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10037,7 +10037,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.hasClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasClickable()) {"
errorLine2=" ~~~~~~~~~~~~">
@@ -10046,7 +10046,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.getClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Clickable.fromProto(mImpl.getClickable());"
errorLine2=" ~~~~~~~~~~~~">
@@ -10055,7 +10055,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="SpanModifiers.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ModifiersProto.SpanModifiers.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10064,7 +10064,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1318656482);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10073,7 +10073,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setClickable can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setClickable(clickable.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -10082,7 +10082,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate("
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -10091,7 +10091,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.aggregateValueAsInt can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
@@ -10100,7 +10100,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~">
@@ -10109,7 +10109,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Preconditions.checkNotNull can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" 1, checkNotNull(clickable.getFingerprint()).aggregateValueAsInt());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10118,7 +10118,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DeviceParameters.fromProto(mImpl.getDeviceConfiguration());"
errorLine2=" ~~~~~~~~~">
@@ -10127,7 +10127,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DeviceParameters.fromProto("
errorLine2=" ~~~~~~~~~">
@@ -10136,7 +10136,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DeviceParametersProto.DeviceParameters.getDefaultInstance());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -10145,7 +10145,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return State.fromProto(mImpl.getCurrentState());"
errorLine2=" ~~~~~~~~~">
@@ -10154,7 +10154,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return State.fromProto(StateProto.State.getDefaultInstance());"
errorLine2=" ~~~~~~~~~">
@@ -10163,7 +10163,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return State.fromProto(StateProto.State.getDefaultInstance());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -10172,7 +10172,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setDeviceConfiguration(deviceConfiguration.toProto());"
errorLine2=" ~~~~~~~">
@@ -10181,7 +10181,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setCurrentState(currentState.toProto());"
errorLine2=" ~~~~~~~">
@@ -10190,7 +10190,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DeviceParameters.fromProto(mImpl.getDeviceConfiguration());"
errorLine2=" ~~~~~~~~~">
@@ -10199,7 +10199,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return DeviceParameters.fromProto("
errorLine2=" ~~~~~~~~~">
@@ -10208,7 +10208,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.getDefaultInstance can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" DeviceParametersProto.DeviceParameters.getDefaultInstance());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -10217,7 +10217,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setDeviceConfiguration(deviceConfiguration.toProto());"
errorLine2=" ~~~~~~~">
@@ -10226,7 +10226,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByResId.getResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getResourceId();"
errorLine2=" ~~~~~~~~~~~~~">
@@ -10235,7 +10235,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="AndroidImageResourceByResId.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ResourceProto.AndroidImageResourceByResId.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10244,7 +10244,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setResourceId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setResourceId(resourceId);"
errorLine2=" ~~~~~~~~~~~~~">
@@ -10253,7 +10253,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getData().toByteArray();"
errorLine2=" ~~~~~~~">
@@ -10262,7 +10262,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getWidthPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getWidthPx();"
errorLine2=" ~~~~~~~~~~">
@@ -10271,7 +10271,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getHeightPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getHeightPx();"
errorLine2=" ~~~~~~~~~~~">
@@ -10280,7 +10280,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.getNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getFormat().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -10289,7 +10289,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.getFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getFormat().getNumber();"
errorLine2=" ~~~~~~~~~">
@@ -10298,7 +10298,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="InlineImageResource.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ResourceProto.InlineImageResource.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10307,7 +10307,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setData can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setData(ByteString.copyFrom(data));"
errorLine2=" ~~~~~~~">
@@ -10316,7 +10316,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setWidthPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setWidthPx(widthPx);"
errorLine2=" ~~~~~~~~~~">
@@ -10325,7 +10325,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setHeightPx can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setHeightPx(heightPx);"
errorLine2=" ~~~~~~~~~~~">
@@ -10334,7 +10334,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setFormat can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setFormat(ResourceProto.ImageFormat.forNumber(format));"
errorLine2=" ~~~~~~~~~">
@@ -10343,7 +10343,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageFormat.forNumber can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setFormat(ResourceProto.ImageFormat.forNumber(format));"
errorLine2=" ~~~~~~~~~">
@@ -10352,7 +10352,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasAndroidResourceByResId()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10361,7 +10361,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return AndroidImageResourceByResId.fromProto(mImpl.getAndroidResourceByResId());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10370,7 +10370,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.hasInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasInlineResource()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -10379,7 +10379,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.getInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return InlineImageResource.fromProto(mImpl.getInlineResource());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -10388,7 +10388,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ImageResource.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ResourceProto.ImageResource.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10397,7 +10397,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setAndroidResourceByResId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setAndroidResourceByResId(androidResourceByResId.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10406,7 +10406,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setInlineResource can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setInlineResource(inlineResource.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~">
@@ -10415,7 +10415,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getVersion();"
errorLine2=" ~~~~~~~~~~">
@@ -10424,7 +10424,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.getIdToImageMap can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.getIdToImageMap().entrySet()) {"
errorLine2=" ~~~~~~~~~~~~~~~">
@@ -10433,7 +10433,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.parseFrom can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return fromProto(ResourceProto.Resources.parseFrom(byteArray));"
errorLine2=" ~~~~~~~~~">
@@ -10442,7 +10442,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" ResourceProto.Resources.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10451,7 +10451,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setVersion(version);"
errorLine2=" ~~~~~~~~~~">
@@ -10460,7 +10460,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.putIdToImage can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.putIdToImage(id, image.toProto());"
errorLine2=" ~~~~~~~~~~~~">
@@ -10469,7 +10469,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.getLastClickableId can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getLastClickableId();"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -10478,7 +10478,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final StateProto.State.Builder mImpl = StateProto.State.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10487,7 +10487,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(616326811);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10496,7 +10496,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return Timeline.fromProto(mImpl.getTileTimeline());"
errorLine2=" ~~~~~~~~~">
@@ -10505,7 +10505,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" return State.fromProto(mImpl.getState());"
errorLine2=" ~~~~~~~~~">
@@ -10514,7 +10514,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setTileTimeline(tileTimeline.toProto());"
errorLine2=" ~~~~~~~">
@@ -10523,7 +10523,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="State.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setState(state.toProto());"
errorLine2=" ~~~~~~~">
@@ -10532,34 +10532,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" ResolvableFuture<Resources> result = ResolvableFuture.create();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/TileService.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" result.set("
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/tiles/TileService.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" Resources.fromProto(legacyResourcesRequestResult.get().toProto()));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/TileService.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.fromProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" Resources.fromProto(legacyResourcesRequestResult.get().toProto()));"
errorLine2=" ~~~~~~~~~">
@@ -10568,16 +10541,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" result.setException(e);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/TileService.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.hasRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .hasRendererSchemaVersion()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10586,7 +10550,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setRendererSchemaVersion(DEFAULT_VERSION)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10595,7 +10559,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="DeviceParameters.hasRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .hasRendererSchemaVersion()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10604,7 +10568,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setRendererSchemaVersion can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" .setRendererSchemaVersion(DEFAULT_VERSION)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10613,7 +10577,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" updateResources(callback, resources.toProto().toByteArray());"
errorLine2=" ~~~~~~~">
@@ -10622,7 +10586,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Resources.toProto can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" .toProto()"
errorLine2=" ~~~~~~~">
@@ -10631,25 +10595,7 @@
</issue>
<issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" ResolvableFuture<T> errorFuture = ResolvableFuture.create();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/TileService.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.tiles`)"
- errorLine1=" errorFuture.setException(throwable);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/tiles/TileService.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getStartMillis();"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -10658,7 +10604,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.getEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getEndMillis();"
errorLine2=" ~~~~~~~~~~~~">
@@ -10667,7 +10613,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimeInterval.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TimelineProto.TimeInterval.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10676,7 +10622,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setStartMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setStartMillis(startMillis);"
errorLine2=" ~~~~~~~~~~~~~~">
@@ -10685,7 +10631,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setEndMillis can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setEndMillis(endMillis);"
errorLine2=" ~~~~~~~~~~~~">
@@ -10694,7 +10640,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasValidity()) {"
errorLine2=" ~~~~~~~~~~~">
@@ -10703,7 +10649,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return TimeInterval.fromProto(mImpl.getValidity());"
errorLine2=" ~~~~~~~~~~~">
@@ -10712,7 +10658,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.hasLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" if (mImpl.hasLayout()) {"
errorLine2=" ~~~~~~~~~">
@@ -10721,7 +10667,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.getLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return LayoutElementBuilders.Layout.fromProto(mImpl.getLayout());"
errorLine2=" ~~~~~~~~~">
@@ -10730,7 +10676,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="TimelineEntry.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TimelineProto.TimelineEntry.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10739,7 +10685,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValidity can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValidity(validity.toProto());"
errorLine2=" ~~~~~~~~~~~">
@@ -10748,7 +10694,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setLayout can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setLayout(layout.toProto());"
errorLine2=" ~~~~~~~~~">
@@ -10757,7 +10703,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.getTimelineEntriesList can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" for (TimelineProto.TimelineEntry item : mImpl.getTimelineEntriesList()) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
@@ -10766,7 +10712,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Timeline.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" TimelineProto.Timeline.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10775,7 +10721,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.addTimelineEntries can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.addTimelineEntries(timelineEntry.toProto());"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -10784,7 +10730,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -10793,7 +10739,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Int32Prop.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final TypesProto.Int32Prop.Builder mImpl = TypesProto.Int32Prop.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10802,7 +10748,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-1809132005);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10811,7 +10757,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -10820,7 +10766,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -10829,7 +10775,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -10838,7 +10784,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="StringProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final TypesProto.StringProp.Builder mImpl = TypesProto.StringProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10847,7 +10793,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-319420356);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10856,7 +10802,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -10865,7 +10811,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, value.hashCode());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -10874,7 +10820,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -10883,7 +10829,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="FloatProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final TypesProto.FloatProp.Builder mImpl = TypesProto.FloatProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10892,7 +10838,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(399943127);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10901,7 +10847,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -10910,7 +10856,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Float.floatToIntBits(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
@@ -10919,7 +10865,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.getValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" return mImpl.getValue();"
errorLine2=" ~~~~~~~~">
@@ -10928,7 +10874,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="BoolProp.newBuilder can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final TypesProto.BoolProp.Builder mImpl = TypesProto.BoolProp.newBuilder();"
errorLine2=" ~~~~~~~~~~">
@@ -10937,7 +10883,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" private final Fingerprint mFingerprint = new Fingerprint(-278424864);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
@@ -10946,7 +10892,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Builder.setValue can only be called from within the same library group (referenced groupId=`` from groupId=`androidx.wear.tiles`)"
errorLine1=" mImpl.setValue(value);"
errorLine2=" ~~~~~~~~">
@@ -10955,7 +10901,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="Fingerprint.recordPropertyUpdate can only be called from within the same library group (referenced groupId=`androidx.wear.protolayout` from groupId=`androidx.wear.tiles`)"
errorLine1=" mFingerprint.recordPropertyUpdate(1, Boolean.hashCode(value));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
diff --git a/wear/watchface/watchface-client-guava/lint-baseline.xml b/wear/watchface/watchface-client-guava/lint-baseline.xml
deleted file mode 100644
index fe1e9d36..0000000
--- a/wear/watchface/watchface-client-guava/lint-baseline.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" val future = ResolvableFuture.create<T>()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="AbstractResolvableFuture.addListener can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" future.addListener("
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="AbstractResolvableFuture.isCancelled can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" if (future.isCancelled) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="AbstractResolvableFuture.isCancelled can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" if (future.isCancelled) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" future.set(block())"
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" future.set(block())"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" future.setException(e)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/client/ListenableWatchFaceControlClient.kt"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-complications-data/lint-baseline.xml b/wear/watchface/watchface-complications-data/lint-baseline.xml
index bce397f..4defde3 100644
--- a/wear/watchface/watchface-complications-data/lint-baseline.xml
+++ b/wear/watchface/watchface-complications-data/lint-baseline.xml
@@ -73,22 +73,4 @@
file="src/main/aidl/android/support/wearable/complications/IProviderInfoService.aidl"/>
</issue>
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/data/DefaultComplicationDataSourcePolicyWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/data/DefaultComplicationDataSourcePolicyWireFormat.java"/>
- </issue>
-
</issues>
diff --git a/wear/watchface/watchface-complications-rendering/lint-baseline.xml b/wear/watchface/watchface-complications-rendering/lint-baseline.xml
deleted file mode 100644
index aa857e4..0000000
--- a/wear/watchface/watchface-complications-rendering/lint-baseline.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" if (!checkNotNull(mComplicationData.isColorRampInterpolated())) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/rendering/ComplicationRenderer.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="Preconditions.checkNotNull can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" if (!checkNotNull(mComplicationData.isColorRampInterpolated())) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/complications/rendering/ComplicationRenderer.java"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface-data/lint-baseline.xml b/wear/watchface/watchface-data/lint-baseline.xml
index 278d918..3e6e6b2 100644
--- a/wear/watchface/watchface-data/lint-baseline.xml
+++ b/wear/watchface/watchface-data/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
+<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="cli" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
id="RequireUnstableAidlAnnotation"
@@ -334,526 +334,4 @@
file="src/main/aidl/androidx/wear/watchface/data/WatchUiState.aidl"/>
</issue>
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/BoundingArcWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/BoundingArcWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/ComplicationOverlayWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/ComplicationOverlayWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/ComplicationRenderParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/ComplicationRenderParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/ComplicationSlotMetadataWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/ComplicationSlotMetadataWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/ComplicationStateWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/ComplicationStateWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/DefaultProviderPoliciesParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/DefaultProviderPoliciesParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/DeviceConfig.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/DeviceConfig.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/data/EditorStateWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/data/EditorStateWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/GetComplicationSlotMetadataParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/GetComplicationSlotMetadataParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/GetUserStyleFlavorsParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/GetUserStyleFlavorsParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/GetUserStyleSchemaParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/GetUserStyleSchemaParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/HeadlessWatchFaceInstanceParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/HeadlessWatchFaceInstanceParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/IdAndComplicationDataWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/IdAndComplicationDataWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/IdAndComplicationStateWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/IdAndComplicationStateWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/IdAndTapEventWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/IdAndTapEventWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/IdTypeAndDefaultProviderPolicyWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/IdTypeAndDefaultProviderPolicyWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/LayerParameterWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/LayerParameterWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/OptionWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/OptionWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/RenderParametersWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/RenderParametersWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleFlavorWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleFlavorWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleFlavorsWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleFlavorsWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleSchemaWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleSchemaWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleSettingWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleSettingWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/style/data/UserStyleWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/WallpaperInteractiveWatchFaceInstanceParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/WallpaperInteractiveWatchFaceInstanceParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/WatchFaceColorsWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/WatchFaceColorsWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/WatchFaceOverlayStyleWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/WatchFaceOverlayStyleWireFormat.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/WatchFaceRenderParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/control/data/WatchFaceRenderParams.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" parcel.writeParcelable(ParcelUtils.toParcelable(this), flags);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/WatchUiState.java"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.fromParcelable can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" return ParcelUtils.fromParcelable("
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/data/WatchUiState.java"/>
- </issue>
-
</issues>
diff --git a/wear/watchface/watchface-editor-guava/lint-baseline.xml b/wear/watchface/watchface-editor-guava/lint-baseline.xml
deleted file mode 100644
index ef35e65..0000000
--- a/wear/watchface/watchface-editor-guava/lint-baseline.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" val result = ResolvableFuture.create<ListenableEditorSession?>()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" val result = ResolvableFuture.create<ListenableEditorSession?>()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" result.set("
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" result.set("
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" ListenableEditorSession(EditorSession.createOnWatchEditorSession(activity))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" ListenableEditorSession(EditorSession.createOnWatchEditorSession(activity))"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" result.setException(e)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" result.setException(e)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.create can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" val future = ResolvableFuture.create<ChosenComplicationDataSource?>()"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" future.set("
- errorLine2=" ~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.set can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" wrappedEditorSession.openComplicationDataSourceChooser(complicationSlotId)"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ResolvableFuture.setException can only be called from within the same library group prefix (referenced groupId=`androidx.concurrent` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" future.setException(e)"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/editor/ListenableEditorSession.kt"/>
- </issue>
-
-</issues>
diff --git a/wear/watchface/watchface/lint-baseline.xml b/wear/watchface/watchface/lint-baseline.xml
index a5991f9..4af149b 100644
--- a/wear/watchface/watchface/lint-baseline.xml
+++ b/wear/watchface/watchface/lint-baseline.xml
@@ -2,24 +2,6 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
- message="ParcelUtils.fromInputStream can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" ParcelUtils.fromInputStream<WallpaperInteractiveWatchFaceInstanceParams>(reader)"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/WatchFaceService.kt"/>
- </issue>
-
- <issue
- id="RestrictedApi"
- message="ParcelUtils.toOutputStream can only be called from within the same library group prefix (referenced groupId=`androidx.versionedparcelable` with prefix androidx from groupId=`androidx.wear.watchface`)"
- errorLine1=" writer.use { ParcelUtils.toOutputStream(prefs, writer) }"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/wear/watchface/WatchFaceService.kt"/>
- </issue>
-
- <issue
id="VisibleForTests"
message="This method should only be accessed from tests or within private scope"
errorLine1=" complicationSlotsManager.watchState,"
diff --git a/webkit/integration-tests/testapp/lint-baseline.xml b/webkit/integration-tests/testapp/lint-baseline.xml
index 7d54279..f050d14 100644
--- a/webkit/integration-tests/testapp/lint-baseline.xml
+++ b/webkit/integration-tests/testapp/lint-baseline.xml
@@ -2,7 +2,25 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
+ message="WebViewFeature.DOCUMENT_START_SCRIPT can only be accessed from within the same library group (referenced groupId=`androidx.webkit` from groupId=`androidx.webkit.integration-tests`)"
+ errorLine1=" if (!WebViewFeature.isFeatureSupported(WebViewFeature.DOCUMENT_START_SCRIPT)) {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/webkit/DocumentStartJavaScriptActivity.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
+ message="WebViewCompat.addDocumentStartJavaScript can only be called from within the same library group (referenced groupId=`androidx.webkit` from groupId=`androidx.webkit.integration-tests`)"
+ errorLine1=" WebViewCompat.addDocumentStartJavaScript(webView, jsCode, allowedOriginRules);"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/com/example/androidx/webkit/DocumentStartJavaScriptActivity.java"/>
+ </issue>
+
+ <issue
+ id="RestrictedApiAndroidX"
message="WebViewFeature.REQUESTED_WITH_HEADER_ALLOW_LIST can only be accessed from within the same library group (referenced groupId=`androidx.webkit` from groupId=`androidx.webkit.integration-tests`)"
errorLine1=" if (!WebViewFeature.isFeatureSupported(WebViewFeature.REQUESTED_WITH_HEADER_ALLOW_LIST)) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
diff --git a/window/window/lint-baseline.xml b/window/window/lint-baseline.xml
index f3ed016..848181a 100644
--- a/window/window/lint-baseline.xml
+++ b/window/window/lint-baseline.xml
@@ -2,7 +2,7 @@
<issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15">
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_3 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" return ExtensionsUtil.safeVendorApiLevel >= WindowExtensions.VENDOR_API_LEVEL_3"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -11,7 +11,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_1 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" WindowExtensions.VENDOR_API_LEVEL_1 -> api1Impl.translateCompat(splitInfo)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -20,7 +20,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" WindowExtensions.VENDOR_API_LEVEL_2 -> api2Impl.translateCompat(splitInfo)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -29,7 +29,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ActivityStack.getToken can only be called from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" primaryActivityStack.token,"
errorLine2=" ~~~~~">
@@ -38,7 +38,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ActivityStack.getToken can only be called from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" primaryActivityStack.token,"
errorLine2=" ~~~~~">
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ActivityStack.getToken can only be called from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" secondaryActivityStack.token,"
errorLine2=" ~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ActivityStack.getToken can only be called from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" secondaryActivityStack.token,"
errorLine2=" ~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" if (vendorApiLevel < WindowExtensions.VENDOR_API_LEVEL_2) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" require(vendorApiLevel >= WindowExtensions.VENDOR_API_LEVEL_2)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" require(vendorApiLevel >= WindowExtensions.VENDOR_API_LEVEL_2)"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" if (vendorApiLevel < WindowExtensions.VENDOR_API_LEVEL_2) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" if (vendorApiLevel < WindowExtensions.VENDOR_API_LEVEL_2) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" if (ExtensionsUtil.safeVendorApiLevel < VENDOR_API_LEVEL_2) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -119,7 +119,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_2 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" ExtensionsUtil.safeVendorApiLevel >= VENDOR_API_LEVEL_2"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -128,7 +128,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_3 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" ExtensionsUtil.safeVendorApiLevel >= VENDOR_API_LEVEL_3"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
@@ -137,7 +137,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="WindowExtensions.VENDOR_API_LEVEL_3 can only be accessed from within the same library group (referenced groupId=`androidx.window.extensions` from groupId=`androidx.window`)"
errorLine1=" ExtensionsUtil.safeVendorApiLevel >= VENDOR_API_LEVEL_3"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
diff --git a/work/integration-tests/testapp/lint-baseline.xml b/work/integration-tests/testapp/lint-baseline.xml
index f41c3d1..20fb715 100644
--- a/work/integration-tests/testapp/lint-baseline.xml
+++ b/work/integration-tests/testapp/lint-baseline.xml
@@ -47,7 +47,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" remoteWorkManager.enqueue(listOf(request)).await()"
errorLine2=" ~~~~~">
@@ -56,7 +56,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" ).await()"
errorLine2=" ~~~~~">
@@ -65,7 +65,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" ).await()"
errorLine2=" ~~~~~">
@@ -74,7 +74,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" .await()"
errorLine2=" ~~~~~">
@@ -83,7 +83,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" remoteWorkManager.cancelAllWorkByTag(WORK_TAG).await()"
errorLine2=" ~~~~~">
@@ -92,7 +92,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" remoteWorkManager.cancelAllWork().await()"
errorLine2=" ~~~~~">
@@ -101,7 +101,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" val workInfoList: List<WorkInfo> = remoteWorkManager.getWorkInfos(query).await()"
errorLine2=" ~~~~~">
@@ -110,7 +110,7 @@
</issue>
<issue
- id="RestrictedApi"
+ id="RestrictedApiAndroidX"
message="ListenableFutureKt.await can only be called from within the same library group (referenced groupId=`androidx.work` from groupId=`androidx.work.integration-tests`)"
errorLine1=" setProgressAsync(progress).await()"
errorLine2=" ~~~~~">