Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Guiorgy committed Jun 10, 2019
1 parent 1645f7c commit 127d3f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ public boolean onKey(final DialogInterface dialog, final int keyCode, final KeyE
if (!_list.hasFocus()) {
switch (keyCode) {
case KeyEvent.KEYCODE_DPAD_UP:
if (_btnNeutral == null) return;
if (_btnNeutral == null) return false;
if (_btnNeutral.hasFocus() || _btnNegative.hasFocus() || _btnPositive.hasFocus()) {
if (_options != null && _options.getVisibility() == VISIBLE) {
_options.requestFocus(_btnNeutral.hasFocus() ? FOCUS_RIGHT : FOCUS_LEFT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ public boolean onKey(final DialogInterface dialog, final int keyCode, final KeyE
if (!_list.hasFocus()) {
switch (keyCode) {
case KeyEvent.KEYCODE_DPAD_UP:
if (_btnNeutral == null) return;
if (_btnNeutral == null) return false;
if (_btnNeutral.hasFocus() || _btnNegative.hasFocus() || _btnPositive.hasFocus()) {
if (_options != null && _options.getVisibility() == VISIBLE) {
_options.requestFocus(_btnNeutral.hasFocus() ? FOCUS_RIGHT : FOCUS_LEFT);
Expand Down

0 comments on commit 127d3f8

Please # to comment.