Status Update
Comments
db...@gmail.com <db...@gmail.com> #2
vi...@google.com <vi...@google.com>
bo...@google.com <bo...@google.com>
wd...@google.com <wd...@google.com> #3
Here is what I found:
On API 31+, time was not updated after the host was waken up. While on API 30 and under, time was updated after host was waken up. The main difference is caused by switching the modem simulator. In API 30 and under, time will be updated whenever signal strength query is received.
Looking at the code in API 31+ for time update when signal strength query is received, I think it is possible that timeUpdate is not invoked
void NetworkService::HandleSignalStrength(const Client& client) {
std::vector<std::string> responses;
std::stringstream ss;
if (WakeupFromSleep()) {
misc_service_->TimeUpdate();
} else if (first_signal_strength_request_) {
first_signal_strength_request_ = false;
misc_service_->TimeUpdate();
}
android_last_signal_time_ = time(0);
auto response = BuildCSQCommandResponse(GetCurrentSignalStrength());
responses.push_back(response);
responses.push_back("OK");
client.SendCommandResponse(responses);
}
wd...@google.com <wd...@google.com>
wd...@google.com <wd...@google.com> #5
wd...@google.com <wd...@google.com>
db...@gmail.com <db...@gmail.com> #6
Still seeing this issue with Emulator 31.3.14 Stable. Refer to the screenshot.
wd...@google.com <wd...@google.com> #7
@devki How do I know if the fix is in 31.3.14 stable? Any tool for checking if a CL went into the specified version?
wd...@google.com <wd...@google.com> #8
[Deleted User] <[Deleted User]> #9
RE#9 Thanks Devki. Actually the fix is included in aosp-emu-31-release branch.
Description
Please Read:https://developer.android.com/studio/report-bugs.html#emulator-bugs
Android Studio Version: Unknown
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 31.3.14-9322596 HAXM / KVM Version: HAXM 7.6.5
Android SDK Tools: 26.1.1
Host Operating System: Windows 10 Pro
CPU Manufacturer: Intel CPU Virtualization is supported 64-bit CPU
RAM: 16327 MB
GPU: GPU #1 Make: 1002 Model: AMD Radeon HD 7570 Device ID: 675d
Build Fingerprint:
AVD Details: Name: Pixel_2_API_33_2 CPU/ABI: x86_64 Path: C:\Users\Doron.android\avd\Pixel_2_API_33_2.avd Target: google_apis_playstore [Google Play] (API level 33) Skin: pixel_2 SD Card: 512M AvdId: Pixel_2_API_33_2 PlayStore.enabled: true avd.ini.displayname: Pixel 2 API 33 2 avd.ini.encoding: UTF-8 disk.dataPartition.size: 6442450944 fastboot.chosenSnapshotFile: fastboot.forceChosenSnapshotBoot: no fastboot.forceColdBoot: no fastboot.forceFastBoot: yes hw.accelerometer: yes hw.arc: false hw.audioInput: yes hw.battery: yes hw.camera.back: virtualscene hw.camera.front: emulated hw.cpu.ncore: 4 hw.dPad: no hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a7 hw.device.manufacturer: Google hw.device.name: pixel_2 hw.gps: yes hw.gpu.enabled: yes hw.gpu.mode: auto hw.initialOrientation: Portrait hw.keyboard: yes hw.lcd.density: 420 hw.lcd.height: 1920 hw.lcd.width: 1080 hw.mainKeys: no hw.ramSize: 1536 hw.sdCard: yes hw.sensors.orientation: yes hw.sensors.proximity: yes hw.trackBall: no image.sysdir.1: system-images\android-33\google_apis_playstore\x86_64
runtime.network.latency: none runtime.network.speed: full showDeviceFrame: yes skin.dynamic: yes tag.display: Google Play tag.id: google_apis_playstore vm.heapSize: 228
Steps to Reproduce Bug:
Write Hebrew characters when sending a message - the message is not sent. Same happens if sent programmatically from another app. The happens on API 33 but not on API 29.
Expected Behavior:
Observed Behavior: