From: Erfan Abdi Date: Sat, 26 Jun 2021 22:40:09 +0000 (+0430) Subject: anbox: Switch to full screen mode X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/131ead44653298e9e961554b63ea66cd9f0f6cb4?ds=inline anbox: Switch to full screen mode --- diff --git a/scripts/install.sh b/scripts/install.sh index 82ff4a2..526a038 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -83,15 +83,15 @@ if [ -f anbox.prop ]; then fi if grep -q "anbox.display_height" anbox.prop.bak; then grep "anbox.display_height" anbox.prop.bak >> anbox.prop -else - echo "NOTE: Edit /home/anbox/anbox.prop based on your device screen resolution" - echo "anbox.display_height=1920" >> anbox.prop fi if grep -q "anbox.display_width" anbox.prop.bak; then grep "anbox.display_width" anbox.prop.bak >> anbox.prop -else - echo "NOTE: Edit /home/anbox/anbox.prop based on your device screen resolution" - echo "anbox.display_width=1080" >> anbox.prop +fi +if grep -q "anbox.display_height_padding" anbox.prop.bak; then + grep "anbox.display_height_padding" anbox.prop.bak >> anbox.prop +fi +if grep -q "anbox.display_width_padding" anbox.prop.bak; then + grep "anbox.display_width_padding" anbox.prop.bak >> anbox.prop fi echo "${GRALLOC_PROP}" >> anbox.prop echo "${EGL_PROP}" >> anbox.prop