diff options
author | Ray Essick <essick@google.com> | 2019-10-23 09:17:27 -0700 |
---|---|---|
committer | Ray Essick <essick@google.com> | 2019-10-30 15:17:05 +0000 |
commit | b0c3f3f9716d91361c657f4c7bf352db02166f88 (patch) | |
tree | 8a81999f27c4b300af7d15f1b13971ac0644a676 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | f9527fd0ed65213e38372a141de0f7328a4e8cbb (diff) |
parse{Int,Long,Rational}Range null checking
These allowed null parameters handling them with a try/catch block.
Avoid the exception overhead for this frequent case by comparing for null
before the try{} block.
Bug: 143173083
Test: boot, simple playback
Change-Id: I761a8f35839054d61bba5aa1c80eb45058b9db22
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions