Merge "Expose empty PackageDataSnapshot as system API."

This commit is contained in:
Jiakai Zhang
2022-06-16 08:57:54 +00:00
committed by Android (Google) Code Review
2 changed files with 11 additions and 0 deletions

View File

@@ -54,6 +54,13 @@ package com.android.server.pm {
}
package com.android.server.pm.snapshot {
public interface PackageDataSnapshot {
}
}
package com.android.server.role {
public interface RoleServicePlatformHelper {

View File

@@ -16,6 +16,7 @@
package com.android.server.pm.snapshot;
import android.annotation.SystemApi;
import android.content.pm.PackageManagerInternal;
import com.android.server.pm.Computer;
@@ -28,6 +29,9 @@ import com.android.server.pm.PackageManagerService;
*
* Usage inside {@link PackageManagerInternal} and related should cast the object instance to
* a {@link Computer} to access data.
*
* @hide
*/
@SystemApi(client = SystemApi.Client.SYSTEM_SERVER)
public interface PackageDataSnapshot {
}