Fix a performance regression in Enum.valueOf()

Change-Id: If10e30d1f528dfaaeca9ce0eb2932f4ca22a6ec8
http://b/4087759
4 files changed