Merge "Add @ChangeId for CTS test" am: 8e08b87e82
Change-Id: Iedf068f910721679097ccd0f222e844c2448f837
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
package com.android.server.compat;
|
package com.android.server.compat;
|
||||||
|
|
||||||
import android.annotation.Nullable;
|
import android.annotation.Nullable;
|
||||||
|
import android.compat.annotation.ChangeId;
|
||||||
import android.compat.annotation.EnabledAfter;
|
import android.compat.annotation.EnabledAfter;
|
||||||
import android.content.pm.ApplicationInfo;
|
import android.content.pm.ApplicationInfo;
|
||||||
|
|
||||||
@@ -38,6 +39,13 @@ import java.util.Map;
|
|||||||
*/
|
*/
|
||||||
public final class CompatChange extends CompatibilityChangeInfo {
|
public final class CompatChange extends CompatibilityChangeInfo {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A change ID to be used only in the CTS test for this SystemApi
|
||||||
|
*/
|
||||||
|
@ChangeId
|
||||||
|
@EnabledAfter(targetSdkVersion = 1234) // Needs to be > test APK targetSdkVersion.
|
||||||
|
private static final long CTS_SYSTEM_API_CHANGEID = 149391281; // This is a bug id.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback listener for when compat changes are updated for a package.
|
* Callback listener for when compat changes are updated for a package.
|
||||||
* See {@link #registerListener(ChangeListener)} for more details.
|
* See {@link #registerListener(ChangeListener)} for more details.
|
||||||
|
|||||||
Reference in New Issue
Block a user