Emulator 30.0.17 is now available in the Canary and Dev channels. Changes:
- Graphics
- More debug info has been added to WGL initialization on Windows in order to trace failures.
- Fixed an issue on Vulkan initialization on some GPU drivers, where certain 1.1 device functions were not found.
- Media
- CUDA VPx decode is now properly supported, if CUDA VPx decode is available in hardware.
- Added better support for detecting remote sessions on Windows.
- Radio
- Added a drop down item in Extended Controls > Cellular to toggle simulation of metered connections, such as for 5G use cases. This requires the latest R system image and is a no-op on previous API levels.
- Added console command to control
- gsm meter on
- gsm meter off
- Fixed GPX/KML route playback to follow timestamps.
- Fixed bouncing icon on launch for macOS.
- Fixed a snapshot corruption issue when sending snapshot commands through gRPC, as well as when pressing the snapshot save button in Android Studio embedded emulator.
Foldables: Configurable hinges and 3D preview
Added the ability to configure hinges for foldable devices along with a 3D preview in Extended Controls > Virtual Sensors. Future system images will be sensitive to the hinge configuration and adapt to a particular set of hinges. Up to 3 hinges can be specified.
Example: Create a Pixel 2 XL AVD and add the following lines to ~/.android/avd/avdName.avd/config.ini:
hw.sensor.hinge = yes
hw.sensor.hinge.count = 2
hw.sensor.hinge.count = 2
hw.sensor.hinge.ranges = 0-360,0-360
hw.sensor.hinge.defaults = 180,180
hw.sensor.hinge.areas = 0-987-1440-0, 0-1974-1440-0
hw.sensor.posture_list=1, 2, 3, 4
hw.sensor.hinge_angles_posture_definitions=0-30 & 0-30, 30-150 & 30-150, 150-210 & 150-210, 210-360 & 210-360
hw.sensor.hinge.defaults = 180,180
hw.sensor.hinge.areas = 0-987-1440-0, 0-1974-1440-0
hw.sensor.posture_list=1, 2, 3, 4
hw.sensor.hinge_angles_posture_definitions=0-30 & 0-30, 30-150 & 30-150, 150-210 & 150-210, 210-360 & 210-360