зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1630229: Part 8 - Stop throwing AssertionError for binding of defunct ServiceAllocator.InstanceInfo; r=geckoview-reviewers,owlish
I'm keeping this patch as simple as possible so that we can uplift to beta. I'll sort out the rest of this in follow-up bugs. Differential Revision: https://phabricator.services.mozilla.com/D76333
This commit is contained in:
Родитель
7b19f0d6d4
Коммит
06cd8d0427
|
@ -214,11 +214,7 @@ import java.util.Map.Entry;
|
|||
protected boolean bindService() {
|
||||
if (mIsDefunct) {
|
||||
final String errorMsg = "Attempt to bind a defunct InstanceInfo for " + mType + " child process";
|
||||
if (BuildConfig.DEBUG) {
|
||||
throw new AssertionError(errorMsg);
|
||||
} else {
|
||||
throw new BindException(errorMsg);
|
||||
}
|
||||
throw new BindException(errorMsg);
|
||||
}
|
||||
|
||||
return updateBindings();
|
||||
|
|
Загрузка…
Ссылка в новой задаче