Create logging (dummy) instrument cluster renderer
- refactor instrument cluster to move all display vs meta-data to renderer
making abstract InstrumentClusterRenderer agnostic to implementation;
- fixed crash in KS when opened inst cluster fragment;
- do not call renderer methods from main thread anymore, this doesn't make
much sense for meta-data implementations;
Change-Id: Id8b1f4b9a9e344aa5ee477516ad4dca6ad1f0acf
Fix:27884323
(cherry picked from commit 07cdf56960c2b655f7feaf46836dc7b6ec8f355c)
diff --git a/car-lib/api/system-current.txt b/car-lib/api/system-current.txt
index 1eb9592..a4098a0 100644
--- a/car-lib/api/system-current.txt
+++ b/car-lib/api/system-current.txt
@@ -293,17 +293,16 @@
public abstract class InstrumentClusterRenderer {
ctor public InstrumentClusterRenderer();
method protected abstract android.car.cluster.renderer.NavigationRenderer createNavigationRenderer();
- method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties();
method public synchronized android.car.cluster.renderer.NavigationRenderer getNavigationRenderer();
method public final synchronized void initialize();
method public abstract void onCreate(android.content.Context);
- method public abstract android.view.View onCreateView(android.car.cluster.renderer.DisplayConfiguration);
method public abstract void onStart();
method public abstract void onStop();
}
public abstract class NavigationRenderer {
ctor public NavigationRenderer();
+ method public abstract android.car.navigation.CarNavigationInstrumentCluster getNavigationProperties();
method public abstract void onNextTurnChanged(int, java.lang.String, int, int, android.graphics.Bitmap, int);
method public abstract void onNextTurnDistanceChanged(int, int);
method public abstract void onStartNavigation();