Skip to content

Commit

Permalink
ver Nov14th
Browse files Browse the repository at this point in the history
updated systemui_egg_land_default.m.textproto to make it portable to
  Mobile-Env
  • Loading branch information
zdy023 committed Nov 14, 2024
1 parent bfdfd9c commit c5394c4
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions demos/systemui_egg_land_default.m.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ description: "Flappy droid 'Marshmallow Land' from AOSP SystemUI."

setup_steps: [
{
adb_request: {
adb_call: {
install_apk: {
filesystem: {
path: "2020.02.05-systemui-egg-land-debug.apk"
Expand All @@ -52,22 +52,18 @@ setup_steps: [
}
},
{ # Put the device in portrait mode.
adb_request: {
settings: {
name_space: SYSTEM
put: { key: "user_rotation" value: "0" }
}
adb_call: {
rotate: { orientation: PORTRAIT_0 }
}
}
]
reset_steps: [
{ adb_request: { force_stop: { package_name: "com.android.systemui.egg" } } },
{ adb_request: { package_manager: { clear: { package_name: "com.android.systemui.egg" } } } },
{ adb_call: { force_stop: { package_name: "com.android.systemui.egg" } } },
{ adb_call: { clear_cache: { package_name: "com.android.systemui.egg" } } } },
{
adb_request: {
adb_call: {
start_activity: {
force_stop: true
full_activity: "com.android.systemui.egg/com.android.systemui.egg.MLandActivity"
extra_args: [
"--ez", '"RL_TASK_ENABLED"', '"true"',
Expand All @@ -88,7 +84,7 @@ reset_steps: [
}
},
{
adb_request: {
adb_call: {
start_screen_pinning: {
full_activity: "com.android.systemui.egg/com.android.systemui.egg.MLandActivity"
}
Expand Down

0 comments on commit c5394c4

Please sign in to comment.