Obsolete
Status Update
Comments
mi...@gmail.com <mi...@gmail.com> #2
Sorry for my mistakes on BUG title..
Correct: "can't set location using ADB command line because new version of emulator override it using values from Extended Control, Location TAB"
Correct: "can't set location using ADB command line because new version of emulator override it using values from Extended Control, Location TAB"
ya...@google.com <ya...@google.com> #3
Thanks for your report.
bohu@ and jameskaye@, the current emulator refreshes the GPS address every few seconds for CTS. What would be our plan for this issue?
bohu@ and jameskaye@, the current emulator refreshes the GPS address every few seconds for CTS. What would be our plan for this issue?
bo...@google.com <bo...@google.com> #4
probably recent refactoring of sensor code on the host changed the behavior
lf...@google.com <lf...@google.com> #5
Bo: the bug is actually due to the CTS fix. We refreshed every few seconds using the value from the location page, while what we want here is to disable that and allow the location command to work correctly.
lf...@google.com <lf...@google.com> #6
What #3 is actually asking is how do we come up with a better solution that allows both CTS to pass, and to allow the command line commands to work.
ya...@google.com <ya...@google.com> #7
Right. Those are conflicting requirements.
lf...@google.com <lf...@google.com>
bo...@google.com <bo...@google.com> #9
thanks frank, quick fix;
it would be nice to have some test in place as well: we dont want to fix it again
:)
it would be nice to have some test in place as well: we dont want to fix it again
:)
mi...@gmail.com <mi...@gmail.com> #10
Thank you.
Would anybody please let me know where and when I can get new (fixed) version of an emulator?
Would anybody please let me know where and when I can get new (fixed) version of an emulator?
lf...@google.com <lf...@google.com> #11
mi...@gmail.com <mi...@gmail.com> #12
Amazing! GPS Location command works well. Thanks)
lf...@google.com <lf...@google.com> #13
Awesome! Thanks for trying this out. Glad it's fixing that issue :)
ap...@google.com <ap...@google.com> #14
Project: platform/external/qemu
Branch: emu-master-dev
commit ea85adfc73d1ef1bc22b9cbbf554fa550ffde2c9
Author: Lingfeng Yang <lfy@google.com>
Date: Sat Feb 17 17:01:56 2018
[location] Make most location settings per-AVD
bug: 73471760
bug: 73450633
Unless there is no AVD, use a per-AVD setting for
lat/lon/alt and the playback settings.
Also update the qt setting if location was updated
from the console.
Change-Id: I0268e0e7ef25db0398844c38039e9298b3a2129b
M android/android-emu/android/console.cpp
M android/android-emu/android/emulation/control/location_agent.h
M android/android-emu/android/skin/qt/extended-pages/location-page.cpp
M android/android-emu/android/skin/qt/extended-pages/location-page.h
M android/android-emu/android/skin/qt/qt-settings.h
https://android-review.googlesource.com/620933
https://goto.google.com/android-sha1/ea85adfc73d1ef1bc22b9cbbf554fa550ffde2c9
Branch: emu-master-dev
commit ea85adfc73d1ef1bc22b9cbbf554fa550ffde2c9
Author: Lingfeng Yang <lfy@google.com>
Date: Sat Feb 17 17:01:56 2018
[location] Make most location settings per-AVD
bug: 73471760
bug: 73450633
Unless there is no AVD, use a per-AVD setting for
lat/lon/alt and the playback settings.
Also update the qt setting if location was updated
from the console.
Change-Id: I0268e0e7ef25db0398844c38039e9298b3a2129b
M android/android-emu/android/console.cpp
M android/android-emu/android/emulation/control/location_agent.h
M android/android-emu/android/skin/qt/extended-pages/location-page.cpp
M android/android-emu/android/skin/qt/extended-pages/location-page.h
M android/android-emu/android/skin/qt/qt-settings.h
ap...@google.com <ap...@google.com> #15
Project: platform/external/qemu
Branch: emu-2.6-release
commit eff2175376a42c53cd032151b09439219e631fc2
Author: Lingfeng Yang <lfy@google.com>
Date: Sat Feb 17 17:01:56 2018
[location] Make most location settings per-AVD
bug: 73471760
bug: 73450633
Unless there is no AVD, use a per-AVD setting for
lat/lon/alt and the playback settings.
Also update the qt setting if location was updated
from the console.
Change-Id: I0268e0e7ef25db0398844c38039e9298b3a2129b
(cherry picked from commit ea85adfc73d1ef1bc22b9cbbf554fa550ffde2c9)
M android/android-emu/android/console.cpp
M android/android-emu/android/emulation/control/location_agent.h
M android/android-emu/android/skin/qt/extended-pages/location-page.cpp
M android/android-emu/android/skin/qt/extended-pages/location-page.h
M android/android-emu/android/skin/qt/qt-settings.h
https://android-review.googlesource.com/622406
https://goto.google.com/android-sha1/eff2175376a42c53cd032151b09439219e631fc2
Branch: emu-2.6-release
commit eff2175376a42c53cd032151b09439219e631fc2
Author: Lingfeng Yang <lfy@google.com>
Date: Sat Feb 17 17:01:56 2018
[location] Make most location settings per-AVD
bug: 73471760
bug: 73450633
Unless there is no AVD, use a per-AVD setting for
lat/lon/alt and the playback settings.
Also update the qt setting if location was updated
from the console.
Change-Id: I0268e0e7ef25db0398844c38039e9298b3a2129b
(cherry picked from commit ea85adfc73d1ef1bc22b9cbbf554fa550ffde2c9)
M android/android-emu/android/console.cpp
M android/android-emu/android/emulation/control/location_agent.h
M android/android-emu/android/skin/qt/extended-pages/location-page.cpp
M android/android-emu/android/skin/qt/extended-pages/location-page.h
M android/android-emu/android/skin/qt/qt-settings.h
pj...@google.com <pj...@google.com>
lf...@google.com <lf...@google.com> #16
Hi all,
We should have this fixed and released in the next emulator canary. Details to follow.
We should have this fixed and released in the next emulator canary. Details to follow.
lf...@google.com <lf...@google.com> #17
Emulator 27.1.11 canary with the fix is live now.
mi...@gmail.com <mi...@gmail.com> #18
Location event's elevation field is (stil?) not passed from GPS data playback - Elevation column when replaying : Android location.getAltitude() does not return an altitude on the emulator (as reported in 36939275). On all 3 my physical devices my program is working fine - I do receive altitude.
I upgraded to Emulator 28.0.3 to see if that was fixed and the problem persists.
Emulator 28.0.3-4946491 (KVM 12.0.0), AVD configuration Nexus_7_API_26 , Android version 8.0 (Oreo)
I upgraded to Emulator 28.0.3 to see if that was fixed and the problem persists.
Emulator 28.0.3-4946491 (KVM 12.0.0), AVD configuration Nexus_7_API_26 , Android version 8.0 (Oreo)
lf...@google.com <lf...@google.com> #19
Ok, that is weird. It is the altitude that is broken, right? That is a known issue, but the lat/lon should be fixed. Reaching out to our resident GPS expert for more info.
mi...@gmail.com <mi...@gmail.com> #20
Yes, altitude... it is such a pain to test code containing calculations which depends on altitude changes....
For example I get values such as:
Location[fused 40.274500,-74.815100 hAcc=0 et=+18m56s627ms alt=0.0 vel=81.56 bear=37.0 vAcc=??? sAcc=??? bAcc=???]
when I am replaying a track containing real Elevations such as in the screenshot.
For example I get values such as:
Location[fused 40.274500,-74.815100 hAcc=0 et=+18m56s627ms alt=0.0 vel=81.56 bear=37.0 vAcc=??? sAcc=??? bAcc=???]
when I am replaying a track containing real Elevations such as in the screenshot.
ja...@google.com <ja...@google.com> #21
In my tests I see the altitude set correctly.
I'm testing 28.0.3-4946491 as in #18. I used a third-party app to display the GPS location and altitude, and I see latitude, longitude, and altitude all updating. For me it worked both when clicking Send for a single location and when playing a KML.
FYI, I used the app "GPS Location" by Jeroen van Iddekinge, last updated Sep 2, 2017.
Could you see if this app correctly reports the altitude for you?
I'm testing 28.0.3-4946491 as in #18. I used a third-party app to display the GPS location and altitude, and I see latitude, longitude, and altitude all updating. For me it worked both when clicking Send for a single location and when playing a KML.
FYI, I used the app "GPS Location" by Jeroen van Iddekinge, last updated Sep 2, 2017.
Could you see if this app correctly reports the altitude for you?
ja...@google.com <ja...@google.com> #22
Are you still seeing this problem?
ja...@google.com <ja...@google.com> #23
I believe this is working correctly now.
Please open a new bug if you are still seeing a problem.
Please open a new bug if you are still seeing a problem.
Description
Android Studio Version:Android Studio 3.0.1
Build #AI-171.4443003, built on November 9, 2017
JRE: 1.8.0_152-release-915-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 27.1.7-4581633
HAXM / KVM Version:
Android SDK Tools:
Host Operating System: Win10
CPU Manufacturer: AMD
Steps to Reproduce Bug:
1. Make new device on AVD (nexus 6, android 8)
2. run it, open google map
3. open Extend controls, Location TAB, set Longitude '0', Latitude '0'
4. run CMD on Windows, type command "adb -P 5037 -s emulator-5554 emu geo fix -2.00599 52.50659" (this command change GPS location on emulator)
5. watch google map: location on google map - correct (-2.00599 52.50659)
6. wait some time (about 1 second)
Expected Behavior:
location on Google map still -2.00599 52.50659
Observed Behavior:
location on Google map set to 0 0
PS: Also I post detailed question on SO :