Migrate away from listening for main/side specific stage types
Bug: 349828130 Flag: com.android.wm.shell.enable_flexible_split Test: Manual, incremental change, not stable yet. Works fine with flag off Change-Id: Ief1a41fb9f32cd99266f0ac73b17d5676ead042a
This commit is contained in:
1 parent
a9095ca0c8
commit
49282f8ecc
2 files changed
+25
-2
No files matched your search
@@ -73,7 +73,27 @@ public final class SplitConfigurationOptions {
|
||||
*/
|
||||
public static final int STAGE_TYPE_SIDE = 1;
|
||||
|
||||
@IntDef({STAGE_TYPE_UNDEFINED, STAGE_TYPE_MAIN, STAGE_TYPE_SIDE})
|
||||
/**
|
||||
* Position independent stage identifier for a given Stage
|
||||
*/
|
||||
public static final int STAGE_TYPE_A = 2;
|
||||
/**
|
||||
* Position independent stage identifier for a given Stage
|
||||
*/
|
||||
public static final int STAGE_TYPE_B = 3;
|
||||
/**
|
||||
* Position independent stage identifier for a given Stage
|
||||
*/
|
||||
public static final int STAGE_TYPE_C = 4;
|
||||
|
||||
@IntDef({
|
||||
STAGE_TYPE_UNDEFINED,
|
||||
STAGE_TYPE_MAIN,
|
||||
STAGE_TYPE_SIDE,
|
||||
STAGE_TYPE_A,
|
||||
STAGE_TYPE_B,
|
||||
STAGE_TYPE_C
|
||||
})
|
||||
public @interface StageType {}
|
||||
///////////////////////////////////
|
||||
|
||||
|
||||
Reference in new issue
Block a user