AI 145122: am: CL 144927 Fix throttling in scripted monkeys (bug #1739843).
Original author: emillar Automated import of CL 145122
This commit is contained in:
committed by
The Android Open Source Project
parent
d4e48c3aa4
commit
fb7c34758a
@@ -16,11 +16,10 @@
|
||||
|
||||
package com.android.commands.monkey;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import android.app.IActivityManager;
|
||||
import android.os.RemoteException;
|
||||
import android.os.SystemClock;
|
||||
import android.view.IWindowManager;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
|
||||
/**
|
||||
@@ -29,8 +28,8 @@ import android.view.MotionEvent;
|
||||
public class MonkeyThrottleEvent extends MonkeyEvent {
|
||||
private long mThrottle;
|
||||
|
||||
public MonkeyThrottleEvent(int type, long throttle) {
|
||||
super(type);
|
||||
public MonkeyThrottleEvent(long throttle) {
|
||||
super(MonkeyEvent.EVENT_TYPE_THROTTLE);
|
||||
mThrottle = throttle;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user