Add PRODUCT_ORDERED_ID

- This can be used by product specific activity interceptors.

Bug: 274529983
Test: NA
Change-Id: I8cff97850b95275d6471bc16ac466b3da002eeb3
This commit is contained in:
Gaurav Bhola
2023-03-24 20:34:31 -07:00
parent b7985fbaa5
commit 46c42f481f

View File

@@ -84,6 +84,7 @@ public interface ActivityInterceptorCallback {
PERMISSION_POLICY_ORDERED_ID,
VIRTUAL_DEVICE_SERVICE_ORDERED_ID,
DREAM_MANAGER_ORDERED_ID,
PRODUCT_ORDERED_ID,
SYSTEM_LAST_ORDERED_ID, // Update this when adding new ids
// Order Ids for mainline module services
MAINLINE_FIRST_ORDERED_ID,
@@ -118,12 +119,19 @@ public interface ActivityInterceptorCallback {
*/
int DREAM_MANAGER_ORDERED_ID = 4;
/**
* The identifier for an interceptor which is specific to the type of android product like
* automotive, wear, TV etc.
* @hide
*/
int PRODUCT_ORDERED_ID = 5;
/**
* The final id, used by the framework to determine the valid range of ids. Update this when
* adding new ids.
* @hide
*/
int SYSTEM_LAST_ORDERED_ID = DREAM_MANAGER_ORDERED_ID;
int SYSTEM_LAST_ORDERED_ID = PRODUCT_ORDERED_ID;
/**
* The first mainline module id, used by the framework to determine the valid range of ids