summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author chiachangwang <chiachangwang@google.com> 2023-05-29 06:02:33 +0000
committer Chiachang Wang <chiachangwang@google.com> 2023-05-30 01:31:43 +0000
commit49f9216a1255b1891e20f85036d913270b4e01ce (patch)
tree363be5b9853fb5d6d7faafebdcea2dc5c239c1be /cmds/bootanimation/BootAnimation.cpp
parent86ba654646d1c73d0a6b0e7a395d8181cd2c1531 (diff)
Use PersistableBundle.getInt(String, int) with default value parameter
The default value for PersistableBundle.getInt(String) is 0. This value is a valid value for the KEY_PREFERRED_IKE_PROTOCOL_INT setting which is PREFERRED_IKE_PROTOCOL_AUTO. But the preferred design now is to use IPv4 instead of AUTO. The default value for getting KEY_PREFERRED_IKE_PROTOCOL_INT should be explicitly set to an invalid value so that the flow will go into the default case as expectation. Bug: 269714970 Bug: 284246686 Test: m ; flash and check the value Change-Id: Icf83ec1a50972b2d9ce7d168dad75dd9aa3cf1bb
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions