blob: 73a76d77fd38a91e2c85e6a4217fdf9ab4b263c6 [file] [log] [blame]
package test.pkg;
import android.content.Context;
import android.view.MotionEvent;
import android.view.View;
@SuppressWarnings("UnusedDeclaration")
public class Class extends View {
public Class(Context context) {
super(context);
}
protected boolean dispatchGenericFocusedEvent(MotionEvent event) {
return super.dispatchGenericFocusedEvent(event); // OK: same method
}
public void randomMethod(MotionEvent event) {
super.<error descr="Call requires API level 14 (current min is 1): android.view.View#dispatchGenericFocusedEvent">dispatchGenericFocusedEvent</error>(event); // ERROR
}
}