summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2021-02-11 16:14:37 -0800
committerSuren Baghdasaryan <surenb@google.com>2021-02-12 01:12:44 +0000
commit0c13c67158c5c1ca00b659a05f95de18a03fa57b (patch)
tree2e5c22921b992deecfdf02c0bee6975286853b03 /tools/aapt2/java/JavaClassGenerator.cpp
parentca115f206a9a7b182773937f7ebf043a18f2965d (diff)
Remove unnecessary calls to JNIEnv::GetArrayLength
Replace repeated calls to JNIEnv::GetArrayLength operating on the same array with a cached value obtained once and then reused. Bug: 165832481 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Id85f887a9a4dc8eeacbb047beca7ced49853484e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions