mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Remove unused function
This commit is contained in:
@@ -35,7 +35,7 @@ public final class ExtraKeysView extends GridLayout {
|
|||||||
private static final int BUTTON_COLOR = 0x00000000;
|
private static final int BUTTON_COLOR = 0x00000000;
|
||||||
private static final int INTERESTING_COLOR = 0xFF80DEEA;
|
private static final int INTERESTING_COLOR = 0xFF80DEEA;
|
||||||
private static final int BUTTON_PRESSED_COLOR = 0x7FFFFFFF;
|
private static final int BUTTON_PRESSED_COLOR = 0x7FFFFFFF;
|
||||||
|
|
||||||
public ExtraKeysView(Context context, AttributeSet attrs) {
|
public ExtraKeysView(Context context, AttributeSet attrs) {
|
||||||
super(context, attrs);
|
super(context, attrs);
|
||||||
}
|
}
|
||||||
@@ -118,11 +118,6 @@ public final class ExtraKeysView extends GridLayout {
|
|||||||
return readSpecialButton(SpecialButton.ALT);
|
return readSpecialButton(SpecialButton.ALT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @deprecated call readSpecialButton(SpecialButton.FN); */
|
|
||||||
public boolean readFnButton() {
|
|
||||||
return readSpecialButton(SpecialButton.FN);
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean readSpecialButton(SpecialButton name) {
|
public boolean readSpecialButton(SpecialButton name) {
|
||||||
SpecialButtonState state = specialButtons.get(name);
|
SpecialButtonState state = specialButtons.get(name);
|
||||||
if (state == null)
|
if (state == null)
|
||||||
|
Reference in New Issue
Block a user