Do not keep a dead backend open.

Do not try to unbind forever if the backend died (e.g. DeadObjectException).

Currently reinstalling an active backend may result in infinite exception spamming as dead backends are marked "bound" and can never unbind (IllegalArgumentException).

Make only one try to unbind.
This commit is contained in:
Rene Treffer 2014-06-09 10:11:38 +02:00
parent 0b2f855fa8
commit 366d929aa4

View file

@ -57,6 +57,7 @@ public class BackendHelper implements BackendHandler {
} catch (Exception e) {
Log.w(TAG, e);
}
bound = false;
}
}