Skip to content

Commit e008b9d

Browse files
authored
fix: Add DMI for ONEXPLAYER 2 PRO 8840U model (ublue-os#1232)
1 parent cfbb54c commit e008b9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system_files/desktop/shared/usr/etc/default/waydroid-launcher

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ case "$(cat /sys/devices/virtual/dmi/id/product_name)" in
1616
"AYANEO 2" | "AYANEO 2S" | "AOKZOE A1 AR07" | "AOKZOE A1 Pro" | "G1619-04")
1717
WAYDROID_WIDTH=1920
1818
WAYDROID_HEIGHT=1200 ;;
19-
"83E1" | "ONEXPLAYER 2 ARP23" | "ONEXPLAYER 2 PRO ARP23P" | "ONEXPLAYER 2 PRO ARP23P EVA-01")
19+
"83E1" | "ONEXPLAYER 2 ARP23" | "ONEXPLAYER 2 PRO ARP23H" | "ONEXPLAYER 2 PRO ARP23P" | "ONEXPLAYER 2 PRO ARP23P EVA-01")
2020
WAYDROID_WIDTH=2560
2121
WAYDROID_HEIGHT=1600
2222
WAYDROID_DENSITY=340 ;;

system_files/desktop/shared/usr/libexec/hwsupport/simpledeckytdp-supported-hardware

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/bash
22
# Returns true for hardware that is supported by SimpleDeckyTDP
33
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
4-
if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:G1618-04:G1619-04:G1617-01:G1619-05:AIR Plus:AIR 1S:AIR 1S Limited:AIR:SLIDE:V3:AOKZOE A1 AR07:AOKZOE A1 Pro:ONEXPLAYER 2 ARP23:ONEXPLAYER 2 PRO ARP23P:ONEXPLAYER 2 PRO ARP23P EVA-01:" =~ ":$SYS_ID:" ]]; then
4+
if [[ ":ROG Ally RC71L_RC71L:ROG Ally RC71L:83E1:G1618-04:G1619-04:G1617-01:G1619-05:AIR Plus:AIR 1S:AIR 1S Limited:AIR:SLIDE:V3:AOKZOE A1 AR07:AOKZOE A1 Pro:ONEXPLAYER 2 ARP23:ONEXPLAYER 2 PRO ARP23H:ONEXPLAYER 2 PRO ARP23P:ONEXPLAYER 2 PRO ARP23P EVA-01:" =~ ":$SYS_ID:" ]]; then
55
exit 0
66
fi
77

0 commit comments

Comments
 (0)