• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

set HVAC related properties in polestar 2 emulator

In order to set HVAC related properties, the following code needs to be called in system app. While I tried to deploy my app as system app by pushing it to /system folder in polestar 2 emulator, an error message show polestar 2 is a production build and so /system folder is readonly. Could you give some hint about how to solve the problem.

car = Car.createCar(applicationContext)
carPropertyManager = car.getCarManager(Car.PROPERTY_SERVICE) as CarPropertyManager
carPropertyManager.setBooleanProperty(VehiclePropertyIds.HVAC_AC_ON, VehicleAreaSeat.SEAT_ROW_1_CENTER, true)
 
Back
Top Bottom