You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: add misc stubs for Open Sudoku
This commit is contained in:
committed by
Mis012
parent
1fb5be92dc
commit
e5a6ee2b55
@@ -27,4 +27,5 @@ public abstract class AbsSeekBar extends ProgressBar {
|
||||
|
||||
public void setKeyProgressIncrement(int keyProgressIncrement) {}
|
||||
|
||||
public int getKeyProgressIncrement() {return 0;}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
package android.widget;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.Gravity;
|
||||
import android.view.Menu;
|
||||
@@ -310,6 +312,11 @@ public class PopupMenu {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'addSubMenu'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int addIntentOptions (int groupId, int itemId, int order, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
private class SubMenuImpl extends MenuImpl implements SubMenu {
|
||||
@@ -505,6 +512,9 @@ public class PopupMenu {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'setAlphabeticShortcut'");
|
||||
}
|
||||
|
||||
@Override
|
||||
public MenuItem setShortcut(char numeric, char alpha) { return this; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user