Merge "Up the history on SignalControllers"

This commit is contained in:
Jason Monk
2015-02-17 15:25:34 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 1 deletions

View File

@ -248,6 +248,11 @@ public class NetworkControllerSignalTest extends NetworkControllerBaseTest {
}
}
public void testHistorySize() {
// Verify valid history size, otherwise it gits printed out the wrong order and whatnot.
assertEquals(0, SignalController.HISTORY_SIZE & (SignalController.HISTORY_SIZE - 1));
}
private void setCdma() {
setIsGsm(false);
updateDataConnectionState(TelephonyManager.DATA_CONNECTED,