mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
[im] Update DirectoryRosterStore TODO note regarding Android API 26.
This commit is contained in:
parent
40aa9e87b7
commit
65d7c1c1b8
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ public final class DirectoryRosterStore implements RosterStore {
|
||||||
private static Item readEntry(File file) {
|
private static Item readEntry(File file) {
|
||||||
Reader reader;
|
Reader reader;
|
||||||
try {
|
try {
|
||||||
// TODO: Should use Files.newBufferedReader() but it is not available on Android.
|
// TODO: Use Files.newBufferedReader() once Smack's minimum Android API level is 26 or higher.
|
||||||
reader = new FileReader(file);
|
reader = new FileReader(file);
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
LOGGER.log(Level.FINE, "Roster entry file not found", e);
|
LOGGER.log(Level.FINE, "Roster entry file not found", e);
|
||||||
|
|
Loading…
Reference in a new issue