mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +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) {
|
||||
cursor.moveToFirst();
|
||||
displayName = cursor.getString(cursor.getColumnIndex(displayNameColumn));
|
||||
displayName = cursor.getString(cursor.getColumnIndexOrThrow(displayNameColumn));
|
||||
}
|
||||
if (cursor != null) {
|
||||
cursor.close();
|
||||
|
|
Loading…
Reference in a new issue