CI and temporary (?) fix in 26

Change-Id: Ibf487f37d3a9274d34ff78b47a3909fd275648e5
ja/edge-to-edge-dropshots
Jose Alcérreca 6 months ago
parent 9a6d41598d
commit 9b7317d00e

@ -213,6 +213,7 @@ jobs:
- name: Record new instrumented screenshots - name: Record new instrumented screenshots
id: screenshotsrecordinstrumented id: screenshotsrecordinstrumented
continue-on-error: true
if: steps.dropshotsverify.outcome == 'failure' && github.event_name == 'pull_request' if: steps.dropshotsverify.outcome == 'failure' && github.event_name == 'pull_request'
uses: reactivecircus/android-emulator-runner@v2 uses: reactivecircus/android-emulator-runner@v2
with: with:

@ -54,7 +54,8 @@ class EdgeToEdgeTest {
val tmpFolder: TemporaryFolder = TemporaryFolder.builder().assureDeletion().build() val tmpFolder: TemporaryFolder = TemporaryFolder.builder().assureDeletion().build()
/** /**
* Grant [android.Manifest.permission.POST_NOTIFICATIONS] permission. * Grant [android.Manifest.permission.POST_NOTIFICATIONS] permission to prevent the
* permissions dialog from showing on top.
*/ */
@get:Rule(order = 2) @get:Rule(order = 2)
val postNotificationsPermission = GrantPostNotificationsPermissionRule() val postNotificationsPermission = GrantPostNotificationsPermissionRule()

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- Needed for Dropshots on API 26 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
</manifest>
Loading…
Cancel
Save