Precalculate lazy fields on component initialization.
This doesn't actually update the logic, because the component is a singleton and gets the feature in the constructor. So the value would never change at the run time. But the creation of the controllers in the constructor would limit the concurrency to the component creation. Test: manual: open Device Controls with enabled feature Test: manual: run the device with disabled feature Test: atest ControlsComponentTest Bug: 295495878 Change-Id: I209e799294d3fce4a97650e0074b1c726b8630d5
Loading
Please register or sign in to comment