androidcar2022
Lurker
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)
car = Car.createCar(applicationContext)
carPropertyManager = car.getCarManager(Car.PROPERTY_SERVICE) as CarPropertyManager
carPropertyManager.setBooleanProperty(VehiclePropertyIds.HVAC_AC_ON, VehicleAreaSeat.SEAT_ROW_1_CENTER, true)