mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Backed out changeset e562d64f2bf9 (bug 1630229) for lints failure on ServiceAllocator.java CLOSED TREE
This commit is contained in:
parent
645e4e3c37
commit
5e15baf1e4
@ -214,7 +214,11 @@ import java.util.Map.Entry;
|
||||
protected boolean bindService() {
|
||||
if (mIsDefunct) {
|
||||
final String errorMsg = "Attempt to bind a defunct InstanceInfo for " + mType + " child process";
|
||||
throw new BindException(errorMsg);
|
||||
if (BuildConfig.DEBUG) {
|
||||
throw new AssertionError(errorMsg);
|
||||
} else {
|
||||
throw new BindException(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
return updateBindings();
|
||||
|
Loading…
Reference in New Issue
Block a user