navbar: pass the context to getNavBarActions

We need a context to check for torch compatibility

PS2: add to getNavRingActions also

Change-Id: I41d319ea1c9a4f065b3c2b23efb3bc823e0045f9
Merge "navbar: pass the context to getNavBarActions" into kk44