mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 10:45:23 +08:00
Remove some inspect code warnings
This commit is contained in:
@@ -66,7 +66,6 @@ import com.termux.terminal.TerminalSession.SessionChangedCallback;
|
|||||||
import com.termux.view.TerminalKeyListener;
|
import com.termux.view.TerminalKeyListener;
|
||||||
import com.termux.view.TerminalView;
|
import com.termux.view.TerminalView;
|
||||||
|
|
||||||
import java.nio.charset.StandardCharsets;
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
|
@@ -49,9 +49,9 @@ public final class TerminalView extends View {
|
|||||||
/** Log view key and IME events. */
|
/** Log view key and IME events. */
|
||||||
private static final boolean LOG_KEY_EVENTS = false;
|
private static final boolean LOG_KEY_EVENTS = false;
|
||||||
|
|
||||||
public static interface KeyboardModifiers {
|
public interface KeyboardModifiers {
|
||||||
public boolean readControlButton();
|
boolean readControlButton();
|
||||||
public boolean readAltButton();
|
boolean readAltButton();
|
||||||
}
|
}
|
||||||
|
|
||||||
public KeyboardModifiers mModifiers;
|
public KeyboardModifiers mModifiers;
|
||||||
@@ -219,7 +219,7 @@ public final class TerminalView extends View {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Attach a {@link TerminalSession} to this view.
|
* Attach a {@link TerminalSession} to this view.
|
||||||
*
|
*
|
||||||
* @param session
|
* @param session
|
||||||
* The {@link TerminalSession} this view will be displaying.
|
* The {@link TerminalSession} this view will be displaying.
|
||||||
*/
|
*/
|
||||||
@@ -369,7 +369,7 @@ public final class TerminalView extends View {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the text size, which in turn sets the number of rows and columns.
|
* Sets the text size, which in turn sets the number of rows and columns.
|
||||||
*
|
*
|
||||||
* @param textSize
|
* @param textSize
|
||||||
* the new font size, in density-independent pixels.
|
* the new font size, in density-independent pixels.
|
||||||
*/
|
*/
|
||||||
@@ -728,7 +728,7 @@ public final class TerminalView extends View {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a key is released in the view.
|
* Called when a key is released in the view.
|
||||||
*
|
*
|
||||||
* @param keyCode
|
* @param keyCode
|
||||||
* The keycode of the key which was released.
|
* The keycode of the key which was released.
|
||||||
* @param event
|
* @param event
|
||||||
|
Reference in New Issue
Block a user