Skip to content
Snippets Groups Projects
  1. Sep 21, 2023
    • Hai Zhang's avatar
      Add missing permission checks for adding permission listeners. · 6a7f3726
      Hai Zhang authored
      They were in the old PermissionManagerServiceImpl but missing in
      ag/20684040. The new subsystem is only enabled in V+ so we can just fix
      it directly.
      
      Also added the permission check for removing despite that the old method
      was only enforcing not instant app, because the removing API is
      annotated with requiring the permission, and anyone currently able to
      add will still remain able to remove since it's the same permission.
      
      Bug: 263504888
      Test: presubmit
      Change-Id: Ie5688abdbc4d9039c3f7c42f3d253e69f7cc899d
      6a7f3726
  2. Sep 20, 2023
Loading