return mService.position();
} catch (final RemoteException ignored) {
} catch (final IllegalStateException ex) {
- Log.e(MusicUtils.class.getSimpleName(), ex.getMessage());
+ // Illegal State Exception message is empty so logging will actually throw an
+ // exception. We should come back and figure out why we get an exception in the
+ // first place and make sure we understand it completely. I will use
+ // https://cyanogen.atlassian.net/browse/MUSIC-125 to track investigating this more
}
}
return 0;
return mService.duration();
} catch (final RemoteException ignored) {
} catch (final IllegalStateException ignored) {
+ // Illegal State Exception message is empty so logging will actually throw an
+ // exception. We should come back and figure out why we get an exception in the
+ // first place and make sure we understand it completely. I will use
+ // https://cyanogen.atlassian.net/browse/MUSIC-125 to track investigating this more
}
}
return 0;