summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-04-19 18:25:23 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-04-21 14:59:07 +0000
commit0c1fb9352a93ccc1334bcf2ec2cdcfe8e44fc343 (patch)
treee3a40ccc4293cfdca7f19107910b5d0fb6ac1061 /cmds/bootanimation/BootAnimationUtil.cpp
parentdfc317e1aac345e0c534363eb983014bfc4d06ef (diff)
Validate forced display size from settings
To avoid unexpected extreme large value that breaks bootup. e.g. max=2147483647 adb shell settings set global display_size_forced "$max,$max" adb reboot Bug: 238420014 Test: atest DisplayWindowSettingsTests# \ testDisplayWindowSettingsAppliedOnDisplayReady Change-Id: If67f344cf55620b9c2fde2cfdbe20457021ff62e
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions