mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-04 08:01:08 +01:00
Use absolute reference for android.R (lint check)
This commit is contained in:
parent
a73228b109
commit
b95d84fe13
1 changed files with 1 additions and 3 deletions
|
|
@ -11,8 +11,6 @@ import android.widget.EditText;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import android.R;
|
|
||||||
|
|
||||||
public final class DialogUtils {
|
public final class DialogUtils {
|
||||||
|
|
||||||
public interface TextSetListener {
|
public interface TextSetListener {
|
||||||
|
|
@ -72,7 +70,7 @@ public final class DialogUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (onNegative == null) {
|
if (onNegative == null) {
|
||||||
builder.setNegativeButton(R.string.cancel, null);
|
builder.setNegativeButton(android.R.string.cancel, null);
|
||||||
} else {
|
} else {
|
||||||
builder.setNegativeButton(negativeButtonText, new DialogInterface.OnClickListener() {
|
builder.setNegativeButton(negativeButtonText, new DialogInterface.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue