Reduce logging

This commit is contained in:
M66B 2020-04-15 12:32:47 +02:00
parent 31f5899c7d
commit 38cb9449ee
2 changed files with 8 additions and 2 deletions

View File

@ -893,7 +893,10 @@ public class FragmentCompose extends FragmentBase {
@Override
public void onError(Exception ex) {
Log.e("PGP", ex);
if ("bindService() returned false!".equals(ex.getMessage()))
Log.w("PGP", ex);
else
Log.e("PGP", ex);
}
});
pgpService.bindToService();

View File

@ -1262,7 +1262,10 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void onError(Exception ex) {
Log.e("PGP", ex);
if ("bindService() returned false!".equals(ex.getMessage()))
Log.w("PGP", ex);
else
Log.e("PGP", ex);
}
});
pgpService.bindToService();