commit | 528a87e90ff9354581d54fd37fbe9f95cccbcdb1 | [log] [tgz] |
---|---|---|
author | Yi-an Chen <theianchen@google.com> | Wed Feb 21 01:56:22 2024 +0000 |
committer | Yi-an Chen <theianchen@google.com> | Mon Mar 11 18:59:52 2024 +0000 |
tree | ff346b98e3ddcba9ac48ef21c085991dd4474150 | |
parent | ebab9abbd8213729165cb7c94a0f678ec9a9db5a [diff] |
Fix error handling for non-dynamic permissions We only allow removing dynamic permissions. When removePermission() is called for a non-dynamic permission, in addition to logging it, we should also return early to avoid the removePermission() call. Test: manual Bug: 321555066 Fixes: 321711213 Change-Id: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5