Move FEATURE_IME to TestApi

This is to allow us to check if the IME is organized by WM Shell in CTS.

Test: atest KeyboardVisibilityControlTest#testRestoreImeVisibility
Bug: 223640691
Change-Id: I19457c4cd26e45a42ba4522fb8ef54a9682cda07
This commit is contained in:
Chris Li
2022-03-22 17:44:34 +08:00
parent 6cc0fa4d00
commit 0300924d51
2 changed files with 1 additions and 1 deletions

View File

@@ -3250,6 +3250,7 @@ package android.window {
method public void onDisplayAreaVanished(@NonNull android.window.DisplayAreaInfo);
method @CallSuper @NonNull @RequiresPermission(android.Manifest.permission.MANAGE_ACTIVITY_TASKS) public java.util.List<android.window.DisplayAreaAppearedInfo> registerOrganizer(int);
field public static final int FEATURE_DEFAULT_TASK_CONTAINER = 1; // 0x1
field public static final int FEATURE_IME = 8; // 0x8
field public static final int FEATURE_ONE_HANDED = 3; // 0x3
field public static final int FEATURE_ROOT = 0; // 0x0
field public static final int FEATURE_SYSTEM_FIRST = 0; // 0x0

View File

@@ -108,7 +108,6 @@ public class DisplayAreaOrganizer extends WindowOrganizer {
* the position and settings of the container manually. This is useful for foldable devices
* which require custom UX rules for the IME position (e.g. IME on one screen and the focused
* app on another screen).
* @hide
*/
public static final int FEATURE_IME = FEATURE_SYSTEM_FIRST + 8;