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