Skip to content

Commit e47368b

Browse files
committed
scripts: dont change aod fullacreen support for hos3
1 parent 2ce6495 commit e47368b

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

module/xml.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,16 @@ support_se_route
205205
integer_100="burst_shoot_count"
206206
integer_1="support_inner_record support_widevine_l1"
207207
string_game_enhance_fisr="game_enhance_feature_name"
208+
209+
# remove full screen aod for hos3 since it bootloops on some devices.
210+
case "$(getprop ro.build.fingerprint)" in
211+
Xiaomi/*/*:*/*/OS3.*:user/release-keys | \
212+
Redmi/*/*:*/*/OS3.*:user/release-keys | \
213+
POCO/*/*:*/*/OS3.*:user/release-keys)
214+
echo "[-] Device is in HyperOS 3. Full Screen AOD support will not be changed temporarily."
215+
aod_bools_true="$(printf '%s\n' "$aod_bools_true" | awk '$0 != "support_aod_fullscreen"')"
216+
;;
217+
*)
218+
# nothing
219+
;;
220+
esac

0 commit comments

Comments
 (0)