1 parent 2ce6495 commit e47368bCopy full SHA for e47368b
1 file changed
module/xml.sh
@@ -205,3 +205,16 @@ support_se_route
205
integer_100="burst_shoot_count"
206
integer_1="support_inner_record support_widevine_l1"
207
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