Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ConditionalDefaultsLookup: allow to dynamically add conditions for evaluation | Sergio Gimeno | 2024-10-16 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | Why: To facilitate the evaluation of conditions not directly "known" by the lookup, eg: owned by extensions What: - Add ConditionalDefaultOptionsAddCondition hook which runs before instantiating ConditionalDefaultsLookup allowing to add conditions for evaluation in the $extraConditions array. - Evaluate the configured conditional default against the extra added conditions after evaluation of "known" conditions. Bug: T376918 Change-Id: Ife6f96397eafd61fdb40528aac315ddde1ef2774 | ||||
* | Adjust method signature of onSaveUserOptions | TChin | 2021-07-26 | 1 | -2/+3 |
| | | | | | | | | This allows hook callers to compare before and after the save Bug: T287397 Depends-On: I20098ae076b282296670d1116e14bbd29ea76b11 Change-Id: I4d09008bc2bc10afc3742b74564e5ef90ecfe5bf | ||||
* | Introduce new hooks for UserOptionsManager | Petr Pchelko | 2021-07-21 | 2 | -0/+58 |
Bug: T286576 Change-Id: Ib960ec594d376e086da868d216dd85c8ea6bba14 |