diff options
| author | Jiyong Park <jiyong@google.com> | 2020-11-23 21:42:27 +0900 |
|---|---|---|
| committer | Jiyong Park <jiyong@google.com> | 2020-11-24 18:35:37 +0900 |
| commit | 4e4e82225ac09edc418c914a47b89c47650ff607 (patch) | |
| tree | 90a902c0804b801a94c924537daaee5d71e3acda /docs/html/sdk/api_diff/10/changes | |
| parent | 8b0cc5a24ccce499ae752bcad79554f0ea25134b (diff) | |
SharedLibraryInfo.isNative() returns true for native libs
This CL fixes a bug that SharedLibraryInfo.isNative() returns false
even for native shared libraries. This was because when a
SharedLibraryInfo is copied to a new SharedLibraryInfo (to add some
extra info about declaring package, etc.), the native-ness was
mistakenly ignored. Fixing the issue.
Also, the old constructor of SharedLibraryInfo that doesn't accept the
native-ness was removed to prevent similar mistakes.
Bug: 142191088
Test: atest CtsUsesNativeLibraryTest
Test: write an app that calls PackageManager.getSharedLibraries()
and inspect the mIsNative fields in the returned list. Entries for
native shared libs all have mIsNative=false. Will add a testcase to
the CTS test when isNative() becomes an API.
Change-Id: I35d9530f332614e0444448feec70a4461c9bbfa8
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions
