commit | 0c13c67158c5c1ca00b659a05f95de18a03fa57b | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Thu Feb 11 16:14:37 2021 -0800 |
committer | Suren Baghdasaryan <surenb@google.com> | Fri Feb 12 01:12:44 2021 +0000 |
tree | 2e5c22921b992deecfdf02c0bee6975286853b03 | |
parent | ca115f206a9a7b182773937f7ebf043a18f2965d [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