Disable startup provider due to resource loading issue
When run UT case with atest SettingsUnitTests, test failed due to "Unable to get provider androidx.startup.InitializationProvider: android.content.res.Resources$NotFoundException". Bug: 208883742 Test: atest SettingsUnitTests Change-Id: I9843b01fb9d3c2a64e7b52080b2594703cee78a6
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.android.settings.tests.unit">
|
||||
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
@@ -69,6 +70,13 @@
|
||||
android:resource="@xml/authenticator" />
|
||||
</service>
|
||||
|
||||
<!-- Disable startup provider due to resource loading issue. -->
|
||||
<provider
|
||||
android:name="androidx.startup.InitializationProvider"
|
||||
android:authorities="${applicationId}.androidx-startup"
|
||||
tools:node="remove"
|
||||
tools:replace="android:authorities"/>
|
||||
|
||||
</application>
|
||||
|
||||
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
Reference in New Issue
Block a user