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

Better print something on exception

This commit is contained in:
Albert Vaca
2015-09-11 03:44:52 -07:00
parent 9fed9e4b9a
commit 34ec43445d
2 changed files with 2 additions and 0 deletions

View File

@@ -353,6 +353,7 @@ public class DeviceFragment extends Fragment {
mActivity.invalidateOptionsMenu();
} catch (IllegalStateException e) {
e.printStackTrace();
//Ignore: The activity was closed while we were trying to update it
} catch (ConcurrentModificationException e) {
Log.e("DeviceActivity", "ConcurrentModificationException");