Skip to content

Commit 4b86dc6

Browse files
committed
convert android auto road label to a bitmap widget (#5794)
1 parent 2063098 commit 4b86dc6

File tree

11 files changed

+57
-578
lines changed

11 files changed

+57
-578
lines changed

libnavui-androidauto/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Mapbox welcomes participation and contributions from everyone.
1010
- Moved `surfacelayer` package into an internal package because it will be replaced by `BitmapWidget`. [#6527](https://github.com/mapbox/mapbox-navigation-android/pull/6527)
1111
- Flattened the `car` package because it is adding an unnecessary and confusing layer. [#6527](https://github.com/mapbox/mapbox-navigation-android/pull/6527)
1212
- Removed `Fragment.attachAudioGuidance` extension function because it will be replaced by `ComponentInstaller`. [#6527](https://github.com/mapbox/mapbox-navigation-android/pull/6527)
13+
- Fixed an issue with compass, logo and speed limit widgets that caused them to disappear if road label widget was not added to the same screen. [#6541](https://github.com/mapbox/mapbox-navigation-android/pull/6541)
1314

1415
## androidauto-v0.15.0 - October 21, 2022
1516
### Changelog

libnavui-androidauto/src/main/java/com/mapbox/androidauto/internal/surfacelayer/CarSurfaceLayer.kt

Lines changed: 0 additions & 77 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package com.mapbox.androidauto.internal.surfacelayer
2+
3+
import com.mapbox.maps.CustomLayerHost
4+
import com.mapbox.maps.CustomLayerRenderParameters
5+
6+
// This layer fixes an issue on some Xiaomi devices that causes bitmap widgets not to render
7+
class EmptyLayerHost : CustomLayerHost {
8+
9+
override fun initialize() {
10+
}
11+
12+
override fun render(parameters: CustomLayerRenderParameters) {
13+
}
14+
15+
override fun contextLost() {
16+
}
17+
18+
override fun deinitialize() {
19+
}
20+
}

libnavui-androidauto/src/main/java/com/mapbox/androidauto/internal/surfacelayer/GLUtils.kt

Lines changed: 0 additions & 20 deletions
This file was deleted.

libnavui-androidauto/src/main/java/com/mapbox/androidauto/internal/surfacelayer/textview/CarCamera2d.kt

Lines changed: 0 additions & 62 deletions
This file was deleted.

libnavui-androidauto/src/main/java/com/mapbox/androidauto/internal/surfacelayer/textview/CarScene2d.kt

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)