summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2024-07-26 02:20:07 +0200
committerDavid Göransson <david.goransson@mullvad.net>2024-07-26 02:20:25 +0200
commit948c6af3821ac6ceeb1670449c36aa9c70b2eb5b (patch)
tree10437e7c686ed8871a3756b18b34a4b7ba9e0838
parentc8d267ec8e95c9fc894c272190071b1fff3e0305 (diff)
downloadmullvadvpn-android/bottom-sheet-test-3.tar.xz
mullvadvpn-android/bottom-sheet-test-3.zip
-rw-r--r--android/app/lint-baseline.xml24
-rw-r--r--android/config/baseline.xml3
-rw-r--r--android/lib/resource/lint-baseline.xml16
3 files changed, 33 insertions, 10 deletions
diff --git a/android/app/lint-baseline.xml b/android/app/lint-baseline.xml
index 9f67e68efa..2d8a9cd3cf 100644
--- a/android/app/lint-baseline.xml
+++ b/android/app/lint-baseline.xml
@@ -1,5 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.4.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.4.0)" variant="all" version="8.4.0">
+<issues format="6" by="lint 8.4.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0)" variant="all" version="8.4.0">
+
+ <issue
+ id="UsingMaterialAndMaterial3Libraries"
+ message="Using a material import while also using the material3 library"
+ errorLine1="import androidx.compose.material.navigation.ModalBottomSheetLayout"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/MullvadApp.kt"
+ line="5"
+ column="8"/>
+ </issue>
+
+ <issue
+ id="UsingMaterialAndMaterial3Libraries"
+ message="Using a material import while also using the material3 library"
+ errorLine1="import androidx.compose.material.navigation.rememberBottomSheetNavigator"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/MullvadApp.kt"
+ line="6"
+ column="8"/>
+ </issue>
<issue
id="UseCheckPermission"
diff --git a/android/config/baseline.xml b/android/config/baseline.xml
index 2853558f03..a25f658c1d 100644
--- a/android/config/baseline.xml
+++ b/android/config/baseline.xml
@@ -21,6 +21,9 @@
<ID>MagicNumber:SelectLocationScreen.kt$270f</ID>
<ID>MagicNumber:TalpidVpnService.kt$TalpidVpnService$128</ID>
<ID>MagicNumber:TalpidVpnService.kt$TalpidVpnService$32</ID>
+ <ID>MatchingDeclarationName:CustomListEntryBottomSheet.kt$CustomListEntrySheetNavArgs</ID>
+ <ID>MatchingDeclarationName:EditCustomListBottomSheet.kt$CustomListSheetNavArgs</ID>
+ <ID>MatchingDeclarationName:LocationBottomSheet.kt$LocationNavArgs</ID>
<ID>NestedBlockDepth:MockApiDispatcher.kt$MockApiDispatcher$override fun dispatch(request: RecordedRequest): MockResponse</ID>
<ID>PrintStackTrace:Extensions.kt$ex</ID>
<ID>ReturnCount:RelayNameComparator.kt$RelayNameComparator$private infix fun List&lt;String&gt;.compareWith(other: List&lt;String&gt;): Int</ID>
diff --git a/android/lib/resource/lint-baseline.xml b/android/lib/resource/lint-baseline.xml
index d46970e0db..908e46fe3d 100644
--- a/android/lib/resource/lint-baseline.xml
+++ b/android/lib/resource/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 8.1.4" type="baseline" client="gradle" dependencies="false" name="AGP (8.1.4)" variant="all" version="8.1.4">
+<issues format="6" by="lint 8.4.0" type="baseline" client="gradle" dependencies="false" name="AGP (8.3.0)" variant="all" version="8.4.0">
<issue
id="ObsoleteSdkInt"
@@ -11,12 +11,11 @@
<issue
id="VectorPath"
message="Very long vector path (917 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
- errorLine1=" &lt;path android:fillColor=&quot;#FF294D73&quot;"
- errorLine2=" ~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/drawable/account_history_remove_pressed.xml"
- line="7"
- column="30"/>
+ line="8"/>
</issue>
<issue
@@ -33,12 +32,11 @@
<issue
id="VectorPath"
message="Very long vector path (917 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
- errorLine1=" &lt;path android:fillColor=&quot;#99FFFFFF&quot;"
- errorLine2=" ~~~~~~~~~">
+ errorLine1=" android:pathData=&quot;"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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