mirror of
https://github.com/PurpleI2P/i2pd-android.git
synced 2025-02-02 18:04:28 +00:00
Update I2PDActivity.java (#24)
This commit is contained in:
parent
3a91d05c8c
commit
80830ac712
@ -164,8 +164,13 @@ public class I2PDActivity extends Activity {
|
||||
//cancelGracefulStop0();
|
||||
try {
|
||||
doUnbindService();
|
||||
} catch (IllegalArgumentException ex) {
|
||||
Log.e(TAG, "throwable caught and ignored", ex);
|
||||
if (ex.getMessage().startsWith("Service not registered: " + org.purplei2p.i2pd.I2PDActivity.class.getName())) {
|
||||
Log.i(TAG, "Service not registered exception seems to be normal, not a bug it seems.");
|
||||
}
|
||||
} catch (Throwable tr) {
|
||||
Log.e(TAG, "", tr);
|
||||
Log.e(TAG, "throwable caught and ignored", tr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user