summaryrefslogtreecommitdiff
path: root/libs/permission/AppOpsManager.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-03-29 15:58:34 -0700
committer Vishnu Nair <vishnun@google.com> 2023-03-30 02:13:32 +0000
commit20e1f9625f009948e721e5194557d0d3beee212e (patch)
tree88a76b7b94a9a5a1f74abd0d658feb2ebe8faf70 /libs/permission/AppOpsManager.cpp
parent68ca576a8dcffa5764026a7ca9c9b1090ccd63a3 (diff)
[layertracegenerator] be more resilient to unknown layer ids
While unexpected, the layer lifecycle in legacy which is used to generate the transaction traces is less explicit. We rely on layer destruction when the object becomes unreachable. The new front end logic will crash if called with an unknown layer id. While we have to interop between both sets of logic, log and ignore the unknown layer ids so we can still generate useful layer traces. Fixes: 275630566 Test: presbumit Change-Id: I5b2a217c78b4a9e94f0772459d6aa0c68a8a51d0
Diffstat (limited to 'libs/permission/AppOpsManager.cpp')
0 files changed, 0 insertions, 0 deletions