Add SharedLibraryInfo#isNative to @TestApi surface.

The method is used in ClasspathDeviceTest to filter out native .so
files, as it only cares about java classes.

Bug: 189347015
Bug: 187823488
Test: m
Change-Id: Id4d41ddef1cddbecd7f7028e28da4040cdfd5c26
This commit is contained in:
satayev
2021-06-03 14:09:36 +01:00
parent b2198d3a3d
commit 749427e8b7
2 changed files with 2 additions and 0 deletions

View File

@@ -829,6 +829,7 @@ package android.content.pm {
public final class SharedLibraryInfo implements android.os.Parcelable {
method @NonNull public java.util.List<java.lang.String> getAllCodePaths();
method public boolean isNative();
}
public final class ShortcutInfo implements android.os.Parcelable {

View File

@@ -147,6 +147,7 @@ public final class SharedLibraryInfo implements Parcelable {
*
* @hide
*/
@TestApi
public boolean isNative() {
return mIsNative;
}