Add background activity action
Background activity action is designed for wakeup alarm anomaly. This cl also change the parameter in anomaly action interface from "packageName" to "anomaly" Bug: 36921529 Test: RunSettingsRoboTests Change-Id: Ibde69f351f81043641f228f0e74deaa2e230c08a
This commit is contained in:
@@ -42,9 +42,11 @@ public class Anomaly implements Parcelable {
|
||||
}
|
||||
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef({AnomalyActionType.FORCE_STOP})
|
||||
@IntDef({AnomalyActionType.FORCE_STOP,
|
||||
AnomalyActionType.BACKGROUND_CHECK})
|
||||
public @interface AnomalyActionType {
|
||||
int FORCE_STOP = 0;
|
||||
int BACKGROUND_CHECK = 1;
|
||||
}
|
||||
|
||||
@AnomalyType
|
||||
|
||||
Reference in New Issue
Block a user