Fix some API discrepancies in InputEvent.
Change-Id: I8e33e125e10075d6f256a1eb3dd46990f35074d6
This commit is contained in:
@@ -177727,7 +177727,7 @@
|
|||||||
native="false"
|
native="false"
|
||||||
synchronized="false"
|
synchronized="false"
|
||||||
static="false"
|
static="false"
|
||||||
final="true"
|
final="false"
|
||||||
deprecated="not deprecated"
|
deprecated="not deprecated"
|
||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
@@ -177775,26 +177775,6 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
<field name="mDeviceId"
|
|
||||||
type="int"
|
|
||||||
transient="false"
|
|
||||||
volatile="false"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="protected"
|
|
||||||
>
|
|
||||||
</field>
|
|
||||||
<field name="mSource"
|
|
||||||
type="int"
|
|
||||||
transient="false"
|
|
||||||
volatile="false"
|
|
||||||
static="false"
|
|
||||||
final="false"
|
|
||||||
deprecated="not deprecated"
|
|
||||||
visibility="protected"
|
|
||||||
>
|
|
||||||
</field>
|
|
||||||
</class>
|
</class>
|
||||||
<class name="InputQueue"
|
<class name="InputQueue"
|
||||||
extends="java.lang.Object"
|
extends="java.lang.Object"
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ import android.os.Parcelable;
|
|||||||
* Common base class for input events.
|
* Common base class for input events.
|
||||||
*/
|
*/
|
||||||
public abstract class InputEvent implements Parcelable {
|
public abstract class InputEvent implements Parcelable {
|
||||||
|
/** @hide */
|
||||||
protected int mDeviceId;
|
protected int mDeviceId;
|
||||||
|
/** @hide */
|
||||||
protected int mSource;
|
protected int mSource;
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
@@ -76,7 +78,7 @@ public abstract class InputEvent implements Parcelable {
|
|||||||
mSource = source;
|
mSource = source;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final int describeContents() {
|
public int describeContents() {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user