Expose empty PackageDataSnapshot as system API.

`PackageDataSnapshot` is in the parameter list of ART Services APIs
(go/art-services-apis). We need at least an empty class to unblock us.

Bug: 177273468
Test: m update-api
Change-Id: I292f1847ba9b07fc9096b583571cec5e4526b441
This commit is contained in:
Jiakai Zhang
2022-06-13 16:15:26 +01:00
committed by Winson Chiu
parent 8ac430cea2
commit ef321cc885
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 {
}