mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-27 12:41:07 +01:00
Remove some inspect code warnings
This commit is contained in:
parent
d1c0b6abdc
commit
0861be363b
2 changed files with 6 additions and 7 deletions
|
|
@ -66,7 +66,6 @@ import com.termux.terminal.TerminalSession.SessionChangedCallback;
|
|||
import com.termux.view.TerminalKeyListener;
|
||||
import com.termux.view.TerminalView;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedHashSet;
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ public final class TerminalView extends View {
|
|||
/** Log view key and IME events. */
|
||||
private static final boolean LOG_KEY_EVENTS = false;
|
||||
|
||||
public static interface KeyboardModifiers {
|
||||
public boolean readControlButton();
|
||||
public boolean readAltButton();
|
||||
public interface KeyboardModifiers {
|
||||
boolean readControlButton();
|
||||
boolean readAltButton();
|
||||
}
|
||||
|
||||
public KeyboardModifiers mModifiers;
|
||||
|
|
@ -219,7 +219,7 @@ public final class TerminalView extends View {
|
|||
|
||||
/**
|
||||
* Attach a {@link TerminalSession} to this view.
|
||||
*
|
||||
*
|
||||
* @param session
|
||||
* 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.
|
||||
*
|
||||
*
|
||||
* @param textSize
|
||||
* 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.
|
||||
*
|
||||
*
|
||||
* @param keyCode
|
||||
* The keycode of the key which was released.
|
||||
* @param event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue