Skip to content

Commit 62a1a12

Browse files
sk7n4k3dclaude
authored andcommitted
Update lint baselines for UnifiedPushReceiver and ObsoleteSdkInt
Add ExportedReceiver baseline entry for the UnifiedPush broadcast receiver (must be exported for distributors to send messages) and ObsoleteSdkInt for the automotive flavor SDK check. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6f5208f commit 62a1a12

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

app/lint-baseline.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,4 +1796,15 @@
17961796
column="42"/>
17971797
</issue>
17981798

1799+
<issue
1800+
id="ExportedReceiver"
1801+
message="Exported receiver does not require permission"
1802+
errorLine1=" &lt;receiver"
1803+
errorLine2=" ~~~~~~~~">
1804+
<location
1805+
file="src/main/AndroidManifest.xml"
1806+
line="1024"
1807+
column="9"/>
1808+
</issue>
1809+
17991810
</issues>

automotive/lint-baseline.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,4 +3426,26 @@
34263426
column="42"/>
34273427
</issue>
34283428

3429+
<issue
3430+
id="ObsoleteSdkInt"
3431+
message="Unnecessary; SDK_INT is never &lt; 29"
3432+
errorLine1=" Build.VERSION.SDK_INT &lt; Build.VERSION_CODES.O ||"
3433+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
3434+
<location
3435+
file="${:automotive*fullDebug*MAIN*sourceProvider*0*javaDir*5}/io/homeassistant/companion/android/settings/SettingsFragment.kt"
3436+
line="548"
3437+
column="13"/>
3438+
</issue>
3439+
3440+
<issue
3441+
id="ExportedReceiver"
3442+
message="Exported receiver does not require permission"
3443+
errorLine1=" &lt;receiver"
3444+
errorLine2=" ~~~~~~~~">
3445+
<location
3446+
file="src/main/AndroidManifest.xml"
3447+
line="1024"
3448+
column="9"/>
3449+
</issue>
3450+
34293451
</issues>

0 commit comments

Comments
 (0)