Expose PackageState#getSeInfo
Exposed through PackageState instead of AndroidPackage so that the
overrideSeInfo can be applied through PackageState instead of
exposing the value separately and relying on the caller to apply
the override.
This also moves the backing field into PackageSetting, since
there's no reason to keep it in PackageImpl now. It's always
re-set on package scan.
Bug: 254029037
Change-Id: I703a45a86d9c7b4e27f225b3cf2c66427744c32a
diff --git a/services/api/current.txt b/services/api/current.txt
index 42ae10e..35a4dcb 100644
--- a/services/api/current.txt
+++ b/services/api/current.txt
@@ -99,6 +99,7 @@
method public int getAppId();
method @NonNull public String getPackageName();
method @Nullable public String getPrimaryCpuAbi();
+ method @Nullable public String getSeInfo();
method @Nullable public String getSecondaryCpuAbi();
method @NonNull public com.android.server.pm.pkg.PackageUserState getStateForUser(@NonNull android.os.UserHandle);
method @NonNull public java.util.List<com.android.server.pm.pkg.SharedLibrary> getUsesLibraries();