Tobrun
a47f8245da
Monkey crashes ( #10440 )
...
* [android] - avoid null map from trackballevent
* [android] - fixup animated marker test activity from monkey runs
* [android] - harden NativeMapView OnMapChangeListener
* [android] - harden against destroyed wrapper activity while moving touch pointers
* [android] - harden bulk marker activity for monkey runner
* [android] - harden scale end gesture event for null velocity tracker
* [android] - invalid mapboxMap invocation
* [android] - reset test setup
2017-11-10 16:33:51 +01:00
Tobrun
225fba8a0a
Merge branch 'release-agua' into tvn-merge-release
2017-11-10 06:16:35 +01:00
Ivo van Dongen
c30161e4c8
[android] MapRendererRunnable - avoid weak reference table overflow
...
Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-09 15:24:34 +02:00
Ivo van Dongen
43f89d6b6a
[android] fix map snapshotter marker example
...
The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
2017-11-09 15:24:15 +02:00
Pablo Guardiola
cec7d12e37
[android] revert adding mapbox-android-core dependency ( #10354 ) ( #10380 )
2017-11-09 12:43:28 +01:00
Pablo Guardiola
46fcc83097
[android] release 5.2.0-beta.4 ( #10384 )
2017-11-08 01:58:51 -08:00
Tobrun
cc67335499
[android] - add config file for excluding generated tests, refactor generation script output
2017-11-08 09:58:31 +01:00
tobrun
24de48b772
[android] - update android unit tests, update test make target to SDK
2017-11-06 18:53:50 +01:00
tobrun
4d486e10ce
[android] - check for null value when calling mapboxMap.clear
2017-11-06 17:16:27 +01:00
Tobrun
9aac976104
[android] - update getting started documentation
2017-11-03 17:44:29 -07:00
Pablo Guardiola
cdc5dde0ec
[android] revert adding mapbox-android-core dependency ( #10354 ) ( #10380 )
2017-11-03 15:39:53 -07:00
Ivo van Dongen
d1d0c20044
[android] TextureView - cleanup destruction code
2017-11-03 09:19:39 -07:00
Ivo van Dongen
8753edf08f
[android] test app - texture view test activities
2017-11-03 09:19:39 -07:00
Ivo van Dongen
3b2bd7ce4f
[android] bring back texture view
2017-11-03 09:19:39 -07:00
Ivo van Dongen
e9bb4d1582
[android] texture view map renderer
2017-11-03 09:19:39 -07:00
Ivo van Dongen
fd5f357d1d
[android] move egl under renderer package
2017-11-03 09:19:39 -07:00
Ivo van Dongen
6adeee601e
[android] encapsulate gl surfaceview rendering specifics in map renderer subclass
...
- preparation for re-introduction of texture view
2017-11-03 09:19:39 -07:00
Ivo van Dongen
c24721103d
[android] TextureView - cleanup destruction code
2017-11-03 12:31:44 +02:00
Tobrun
d9fe241761
[android] - workaround Android O OkHttp bug.
2017-11-02 13:27:50 -07:00
Ivo van Dongen
1970a94695
[android] test app - texture view test activities
2017-11-02 19:55:46 +02:00
Ivo van Dongen
8671b834b4
[android] bring back texture view
2017-11-02 19:55:46 +02:00
Ivo van Dongen
efc776e4f9
[android] texture view map renderer
2017-11-02 19:55:46 +02:00
Ivo van Dongen
0fb2629a37
[android] move egl under renderer package
2017-11-02 19:55:46 +02:00
Ivo van Dongen
b30ec535bf
[android] encapsulate gl surfaceview rendering specifics in map renderer subclass
...
- preparation for re-introduction of texture view
2017-11-02 19:55:46 +02:00
Tobrun
5dbd94016b
[android] - fix logo scale for MapSnapshot
2017-11-02 07:41:53 -07:00
Pablo Guardiola
29a94ae939
[android] make location provider optional ( #9488 ) ( #10354 )
2017-11-01 18:25:52 -07:00
Pablo Guardiola
f13a8b0afa
[android] make location provider optional ( #9488 )
2017-11-01 17:12:12 -07:00
Osana Babayan
d0d401b007
[android] android.hardware.location.gps feature should not be required ( #10347 )
2017-11-01 17:10:49 -07:00
Tobrun
e6d50da2c5
[android] - check for possitive animation duration
2017-11-01 14:56:37 -07:00
Tobrun
a5ff277ed9
[android] - add logo resize to MapSnapshotter
2017-11-01 14:56:37 -07:00
Tobrun
cb7f6dfaec
[android] - make snapshot logo optional
2017-11-01 14:56:37 -07:00
Tobrun
ae1ada3b2b
[android] - check for possitive animation duration
2017-11-01 13:57:55 -07:00
Tobrun
e5243b7691
[android] - ignore activity gen tests
2017-11-01 09:23:53 -04:00
Ivo van Dongen
0c5e15e21e
[android] map snapshotter - expose attributions
2017-11-01 09:23:53 -04:00
Ivo van Dongen
9c3e78a9b9
[android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality
2017-11-01 09:23:53 -04:00
Ivo van Dongen
fd3587608b
[android] map snapshotter - add mutators
2017-11-01 09:23:53 -04:00
Tobrun
53e61fa71b
[android] - add logo resize to MapSnapshotter
2017-11-01 03:17:45 -07:00
Tobrun
c61ccb30e9
[android] - make snapshot logo optional
2017-11-01 03:17:22 -07:00
Tobrun
03d3aee6fc
[android] - rework ease interactions to take in account possitve duration requirement
2017-10-31 15:30:48 -07:00
Osana Babayan
9aa2c197ca
[android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument ( #10321 )
...
if non-positive duration is passed in
2017-10-31 15:30:48 -07:00
Tobrun
56c2af5670
[android] - rework ease interactions to take in account possitve duration requirement
2017-10-31 15:28:19 -07:00
Tobrun
0f1296c01c
[android] - run all instrumenetation tests
2017-10-31 14:14:11 -07:00
Tobrun
f578b26282
[android] - add bulk addImages api on MapboxMap
2017-10-31 13:47:12 -07:00
Ivo van Dongen
e0a305247a
[android] map snapshotter - expose attributions
2017-10-31 19:52:08 +02:00
Ivo van Dongen
dde1a92291
[android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality
2017-10-31 19:52:08 +02:00
Ivo van Dongen
7481d317e7
[android] map snapshotter - add mutators
2017-10-31 19:52:08 +02:00
Osana Babayan
ebe6a30821
[android] Make sure onFinish has new camera position after camera.move ( #10324 )
2017-10-31 09:23:02 -07:00
Osana Babayan
8c716fde96
[android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument ( #10321 )
...
if non-positive duration is passed in
2017-10-30 16:48:56 -07:00
Ramin Mirsharifi
9b41791dec
[android] - Add angular velocity effect on rotation gesture.
2017-10-30 16:25:37 -07:00
Ramin Mirsharifi
c351f65c09
[android] - Add touch velocity effects on scale gesture. Fine tune.
2017-10-30 16:25:37 -07:00