[android] - throw exception when another style is loading, correct RuntimeStyleTest when removing layer at, add javadoc to isFullyLoaded

This commit is contained in:
tobrun
2018-12-10 12:02:54 +01:00
committed by Tobrun
parent aa9e6c59bb
commit a018c0f7b5
3 changed files with 32 additions and 18 deletions

View File

@@ -133,7 +133,7 @@ public class RuntimeStyleTests extends BaseActivityTest {
// Test remove by index bounds checks
Timber.i("Remove layer at index > size");
assertNull(mapboxMap.getStyle().removeLayerAt(Integer.MAX_VALUE));
assertFalse(mapboxMap.getStyle().removeLayerAt(Integer.MAX_VALUE));
}
});
}