CI and temporary (?) fix in 26

Change-Id: Ibf487f37d3a9274d34ff78b47a3909fd275648e5
ben/dropshots
Jose Alcérreca 6 months ago
parent 8571212666
commit 85b2fabf27

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

@ -54,7 +54,8 @@ class EdgeToEdgeTest {
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)
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