Change emulator build to 35.4.5 and spotless

Change-Id: I0d18e6554667a32609512246fe84079b99aed2fc
ja/edge-to-edge-dropshots
Jose Alcérreca 8 months ago
parent 16464b0f80
commit 6fe0bcdd17

@ -250,9 +250,9 @@ jobs:
- api-level: 27 - api-level: 27
profile: pixel_5 profile: pixel_5
target: default target: default
- api-level: 33 # - api-level: 33
profile: pixel_fold # profile: pixel_fold
target: google_apis # target: google_apis
- api-level: 35 - api-level: 35
profile: pixel_fold profile: pixel_fold
target: google_apis target: google_apis
@ -350,7 +350,7 @@ jobs:
arch: x86_64 arch: x86_64
disable-animations: true disable-animations: true
disk-size: 6000M disk-size: 6000M
emulator-build: 11834374 # 34.2.14 emulator-build: 12895296 # 35.4.5 - https://developer.android.com/studio/emulator_archive
heap-size: 600M heap-size: 600M
profile: ${{ matrix.profile }} profile: ${{ matrix.profile }}
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none

@ -92,9 +92,8 @@ class EdgeToEdgeTest {
@Before @Before
fun enableDemoMode() { fun enableDemoMode() {
UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()).apply { UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()).apply {
executeShellCommand( executeShellCommand(
"settings put global development_settings_enabled 1" "settings put global development_settings_enabled 1",
) )
executeShellCommand("settings put global sysui_demo_allowed 1") executeShellCommand("settings put global sysui_demo_allowed 1")
executeShellCommand( executeShellCommand(
@ -128,16 +127,16 @@ class EdgeToEdgeTest {
fun disableDemoMode() { fun disableDemoMode() {
exitDemoMode() exitDemoMode()
executeShellCommand( executeShellCommand(
"settings put global sysui_demo_allowed 0" "settings put global sysui_demo_allowed 0",
) )
executeShellCommand( executeShellCommand(
"settings put global development_settings_enabled 0" "settings put global development_settings_enabled 0",
) )
} }
private fun exitDemoMode() { private fun exitDemoMode() {
executeShellCommand( executeShellCommand(
"am broadcast -a com.android.systemui.demo -e command exit" "am broadcast -a com.android.systemui.demo -e command exit",
) )
} }

Loading…
Cancel
Save