More native input event dispatching.
Added ANRs handling. Added event injection. Fixed a NPE ActivityManagerServer writing ANRs to the drop box. Fixed HOME key interception. Fixed trackball reporting. Fixed pointer rotation in landscape mode. Change-Id: I50340f559f22899ab924e220a78119ffc79469b7
This commit is contained in:
@@ -341,11 +341,4 @@ public class MessageQueue {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
void poke()
|
||||
{
|
||||
synchronized (this) {
|
||||
nativeWake();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ import android.util.Slog;
|
||||
* to the ViewRoot through a Binder transaction as part of registering the Window.
|
||||
* @hide
|
||||
*/
|
||||
public class InputChannel implements Parcelable {
|
||||
public final class InputChannel implements Parcelable {
|
||||
private static final String TAG = "InputChannel";
|
||||
|
||||
public static final Parcelable.Creator<InputChannel> CREATOR
|
||||
|
||||
@@ -25,7 +25,7 @@ package android.view;
|
||||
* These parameters are used by the native input dispatching code.
|
||||
* @hide
|
||||
*/
|
||||
public class InputTarget {
|
||||
public final class InputTarget {
|
||||
public InputChannel mInputChannel;
|
||||
public int mFlags;
|
||||
public long mTimeoutNanos;
|
||||
|
||||
Reference in New Issue
Block a user