2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Fixed warning

This commit is contained in:
Albert Vaca
2014-10-18 20:22:39 -07:00
parent d18b61f2a1
commit 6b9a691f24

View File

@@ -204,7 +204,7 @@ public class ShareToReceiver extends ActionBarActivity {
String path = cursor.getString(column_index);
np.set("filename", Uri.parse(path).getLastPathSegment());
np.set("size", (int)new File(path).length());
} catch(Exception _) {
} catch(Exception unused) {
Log.e("ShareToReceiver", "Could not resolve media to a file, trying to get info as media");