mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Fix lint failure (target 31) (#1869)
This commit is contained in:
parent
01b780e013
commit
d8413c6e11
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ public class ShareActivity extends StateDialogActivity
|
||||||
);
|
);
|
||||||
if (cursor != null) {
|
if (cursor != null) {
|
||||||
cursor.moveToFirst();
|
cursor.moveToFirst();
|
||||||
displayName = cursor.getString(cursor.getColumnIndex(displayNameColumn));
|
displayName = cursor.getString(cursor.getColumnIndexOrThrow(displayNameColumn));
|
||||||
}
|
}
|
||||||
if (cursor != null) {
|
if (cursor != null) {
|
||||||
cursor.close();
|
cursor.close();
|
||||||
|
|
Loading…
Reference in a new issue