From 249915ed3f1ba5df3eeb1906580e028d01172cb9 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 14 Mar 2016 19:09:46 +0100 Subject: [PATCH] Small updates to maps api --- .../android/gms/maps/internal/IMapFragmentDelegate.aidl | 2 ++ .../google/android/gms/maps/internal/IMapViewDelegate.aidl | 2 +- .../java/com/google/android/gms/maps/GoogleMapOptions.java | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl index ebfee0d1..988ecee2 100644 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl +++ b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl @@ -3,6 +3,7 @@ package com.google.android.gms.maps.internal; import android.os.Bundle; import com.google.android.gms.maps.internal.IGoogleMapDelegate; +import com.google.android.gms.maps.internal.IOnMapReadyCallback; import com.google.android.gms.maps.GoogleMapOptions; import com.google.android.gms.dynamic.IObjectWrapper; @@ -18,4 +19,5 @@ interface IMapFragmentDelegate { void onLowMemory(); void onSaveInstanceState(inout Bundle outState); boolean isReady(); + void getMapAsync(IOnMapReadyCallback callback); } diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl index b53e364f..80362ce0 100644 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl +++ b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl @@ -15,5 +15,5 @@ interface IMapViewDelegate { void onLowMemory(); void onSaveInstanceState(inout Bundle outState); IObjectWrapper getView(); - void addOnMapReadyCallback(IOnMapReadyCallback callback); + void getMapAsync(IOnMapReadyCallback callback); } diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java index a5534cb2..fc6ee3fb 100644 --- a/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java +++ b/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java @@ -43,6 +43,12 @@ public final class GoogleMapOptions extends AutoSafeParcelable { private boolean tiltGesturesEnabled = true; @SafeParceled(11) private boolean rotateGesturesEnabled = true; + @SafeParceled(12) + private boolean liteMode = false; + @SafeParceled(14) + private boolean mapToobarEnabled = false; + @SafeParceled(15) + private boolean ambientEnabled = false; public GoogleMapOptions() { }