Adding missing break statements causing crash on MSG_SET_EXTRAS.

The case block for MSG_SET_EXTRAS was missing its break statement, all
the way back to summer 2015 when that code was originally added.

When the new MSG_ON_CONNECTION_EVENT handler was added, it introduced a
new potential fall-through from MSG_SET_EXTRAS (in addition to the fact it
too was missing a break statement).

Bug: 27338441
Change-Id: I2df2bc78c4ceb32e6245888eed18c2d8834e629b
This commit is contained in:
Tyler Gunn
2016-02-24 13:17:21 -08:00
parent 22d87695c6
commit 86c9fb4173

View File

@ -240,8 +240,8 @@ final class ConnectionServiceAdapterServant {
} finally {
args.recycle();
}
break;
}
case MSG_ON_CONNECTION_EVENT: {
SomeArgs args = (SomeArgs) msg.obj;
try {
@ -249,6 +249,7 @@ final class ConnectionServiceAdapterServant {
} finally {
args.recycle();
}
break;
}
}
}