summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Daniel Sandler <dsandler@android.com> 2014-10-29 00:01:25 -0400
committer Daniel Sandler <dsandler@android.com> 2014-10-29 00:05:56 -0400
commit795893eb6ff0c02c30a5765e06807ce1ee43978f (patch)
tree40742a3bb20209ab5cf499ec3c41a1b729af8a53 /cmds/bootanimation/BootAnimation.cpp
parent685720309a582acc513454d674f82368479c5297 (diff)
More flexible intent extra parsing.
Specifically, --ei (int extras) and --eia (int[] extras) now use Integer.decode(), which means they accept negative integers, base-16 integers formatted as #NNN and 0xNNN, and base-8 integers formatted as 0NNN. Additionally, --ez (boolean extras) can now be specified as "true", "false", "t", "f", or an integer (any nonzero treated as true). The previous behavior, based on Boolean.valueOf(), would silently assign false if you managed to get the spelling of "true" wrong. Change-Id: I058254e907308006d403b5b7866c86bcaa03d8d3
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions