Under Review

bug: changing font scale doesn't trigger onSettingsChanged or getInitialView in simulator

I'm not 100% sure how this works on real devices, as I don't have a relevant device, but in the simulator in SDK 8.3.0 (i.e venu441mm) onSettingsChanged() isn't called, nor is getInitialView() (as for example when changing time setting between 12h and 24h)

Parents
  • Neither is onLayout called.

    onUpdate works (I mean I can call System.getDeviceSettings().fontScale in onUpdate or compute, and it returns the new value after the change), but it's not a real solution, nor is it parallel to how other settings trigger onSettingsChanged. 

    I wonder though, if this is a simulator bug or Garmin really forgot this trigger somehow from real devices as well.

Comment
  • Neither is onLayout called.

    onUpdate works (I mean I can call System.getDeviceSettings().fontScale in onUpdate or compute, and it returns the new value after the change), but it's not a real solution, nor is it parallel to how other settings trigger onSettingsChanged. 

    I wonder though, if this is a simulator bug or Garmin really forgot this trigger somehow from real devices as well.

Children
No Data