Merge "Make InputDevice getAssociatedDisplayId part of the test API" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
bcfe98be95
@@ -3526,6 +3526,7 @@ package android.view {
|
||||
public final class InputDevice implements android.os.Parcelable {
|
||||
method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void disable();
|
||||
method @RequiresPermission("android.permission.DISABLE_INPUT_DEVICE") public void enable();
|
||||
method public int getAssociatedDisplayId();
|
||||
method @NonNull public android.hardware.input.InputDeviceIdentifier getIdentifier();
|
||||
method @Nullable public String getKeyboardLanguageTag();
|
||||
method @Nullable public String getKeyboardLayoutType();
|
||||
|
||||
@@ -1319,6 +1319,7 @@ public final class InputDevice implements Parcelable {
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@TestApi
|
||||
public int getAssociatedDisplayId() {
|
||||
return mAssociatedDisplayId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user