Fix some API discrepancies in InputEvent.

Change-Id: I8e33e125e10075d6f256a1eb3dd46990f35074d6
This commit is contained in:
Jeff Brown
2010-09-12 17:17:30 -07:00
parent b88102f5b7
commit 692065128e
2 changed files with 4 additions and 22 deletions

View File

@@ -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"

View File

@@ -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;
}