Snap for 6672760 from 075503de8ebfc30f0590a75eddc512c9996b5943 to rvc-release

Change-Id: I7d8f96d15d5d0ec5b59d8508b553f4d39ccb6ce4
diff --git a/linux-x86_64/emulator b/linux-x86_64/emulator
index 592a2bb..4780f8a 100755
--- a/linux-x86_64/emulator
+++ b/linux-x86_64/emulator
Binary files differ
diff --git a/linux-x86_64/lib/emulator_controller.proto b/linux-x86_64/lib/emulator_controller.proto
index 7f6cbe9..8169aa9 100644
--- a/linux-x86_64/lib/emulator_controller.proto
+++ b/linux-x86_64/lib/emulator_controller.proto
@@ -72,10 +72,25 @@
   rpc setBattery(BatteryState) returns (google.protobuf.Empty) {}
   rpc getBattery(google.protobuf.Empty) returns (BatteryState) {}
 
-  // Set/get the state of the gps.
-  rpc getGps(google.protobuf.Empty) returns (GpsState) {}
+  // Set the state of the gps, gps support will only work
+  // properly if:
+  //
+  // - no location ui is active. That is the emulator
+  //   is launched in headless mode (-no-window) or the location
+  //   ui is disabled (-no-location-ui).
+  // - the passiveUpdate is set to false. Setting this to false
+  //   will disable/break the LocationUI.
+  //
+  // Keep in mind that android usually only samples the gps at 1 hz.
   rpc setGps(GpsState) returns (google.protobuf.Empty) {}
 
+  // Gets the latest gps state as delivered by the setGps call, or location ui
+  // if active.
+  //
+  // Note: this is not neccessarily the actual gps coordinate visible at the
+  // time, due to gps sample frequency (usually 1hz).
+  rpc getGps(google.protobuf.Empty) returns (GpsState) {}
+
   // Simulate a touch event on the finger print sensor.
   rpc sendFingerprint(Fingerprint) returns (google.protobuf.Empty) {}
 
@@ -567,6 +582,13 @@
 }
 
 message GpsState {
+  // Setting this to false will disable auto updating  from the LocationUI,
+  // otherwise the location UI will override the location at a frequency of 1hz.
+  //
+  // - This is unused if the emulator is launched with -no-window, or when he
+  //   location ui is disabled.
+  // - This will BREAK the location ui experience if it is set to false. For
+  //    example routing will no longer function.
   bool passiveUpdate = 1;
 
   // The latitude, in degrees.
diff --git a/linux-x86_64/lib64/libOpenglRender.so b/linux-x86_64/lib64/libOpenglRender.so
index 1c21d1a..5131150 100644
--- a/linux-x86_64/lib64/libOpenglRender.so
+++ b/linux-x86_64/lib64/libOpenglRender.so
Binary files differ
diff --git a/linux-x86_64/lib64/libshadertranslator.so b/linux-x86_64/lib64/libshadertranslator.so
index a01504e..2b9bac5 100644
--- a/linux-x86_64/lib64/libshadertranslator.so
+++ b/linux-x86_64/lib64/libshadertranslator.so
Binary files differ
diff --git a/linux-x86_64/qemu-img b/linux-x86_64/qemu-img
index fb0cf67..0b4fc37 100755
--- a/linux-x86_64/qemu-img
+++ b/linux-x86_64/qemu-img
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64 b/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64
index 290ad5c..1e93efe 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64-headless b/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64-headless
index bec091a..87f9ce4 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64-headless
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64-headless
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-armel b/linux-x86_64/qemu/linux-x86_64/qemu-system-armel
index 71a0613..1d3706d 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-armel
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-armel
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-armel-headless b/linux-x86_64/qemu/linux-x86_64/qemu-system-armel-headless
index c607692..22a5287 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-armel-headless
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-armel-headless
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-i386 b/linux-x86_64/qemu/linux-x86_64/qemu-system-i386
index f93c9c8..43fa158 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-i386
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-i386
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-i386-headless b/linux-x86_64/qemu/linux-x86_64/qemu-system-i386-headless
index 17b9ffd..5c67699 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-i386-headless
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-i386-headless
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64 b/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64
index eb83199..38923aa 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64
Binary files differ
diff --git a/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64-headless b/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64-headless
index 8e301b6..96f800e 100755
--- a/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64-headless
+++ b/linux-x86_64/qemu/linux-x86_64/qemu-system-x86_64-headless
Binary files differ
diff --git a/linux-x86_64/source.properties b/linux-x86_64/source.properties
index 670b585..e42a94d 100644
--- a/linux-x86_64/source.properties
+++ b/linux-x86_64/source.properties
@@ -1,5 +1,5 @@
 Pkg.UserSrc=false
-Pkg.Revision=30.0.20
+Pkg.Revision=30.0.21
 Pkg.Path=emulator
 Pkg.Desc=Android Emulator
-Pkg.BuildId=6629878
\ No newline at end of file
+Pkg.BuildId=6647651
\ No newline at end of file