Only listen to connectivity broadcast events when needed (#8222)
* [android] - only listen to connectivity change events when needed. * [android] - fix compile var args warning, remove redundant test
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
package com.mapbox.mapboxsdk.constants;
|
||||
|
||||
|
||||
import com.mapbox.mapboxsdk.testapp.model.constants.AppConstant;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
|
||||
public class StyleVersionTest {
|
||||
|
||||
private static final double DELTA = 1e-15;
|
||||
|
||||
@Test
|
||||
public void testSanity() {
|
||||
assertEquals("Style version should match, when upgrading, verify that integers.xml is updated",
|
||||
AppConstant.STYLE_VERSION,
|
||||
9,
|
||||
DELTA);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user