Commit graph

3 commits

Author SHA1 Message Date
DannyS712
07911fc915 Expand BlockActionInfo test coverage
Add tests for getActionFromId and for calling
getIdFromAction for an action added via hook,
reduce duplication around creating the BlockActionInfo
by always registering the hook.

Change-Id: Ibd0bd452019939340ffa9f728fb4d6b60456453e
2022-03-28 00:49:30 +00:00
Thalia
6cb1016594 Allow partial action blocks to be made via ApiBlock
Bug: T280522
Change-Id: I114e3c76cfb6dd2f79b5217aee4b3da34df00850
2021-05-04 17:48:21 +01:00
STran
df89e2fb49 Add GetAllBlockActions hook
Call onGetAllBlockActions to add to the blocked actions array.
This allows extensions to define blockable actions.

Bug: T279562
Change-Id: Ia72fdabba1dcca0e2f71e4c09400453295f0e05c
2021-04-28 08:59:18 -07:00