commit | 2b5d63b64b2b8208ccc4f62eac3d8962f981dbf8 | [log] [tgz] |
---|---|---|
author | Yi-an Chen <theianchen@google.com> | Tue Feb 20 04:34:57 2024 +0000 |
committer | Yi-an Chen <theianchen@google.com> | Mon Mar 11 19:00:11 2024 +0000 |
tree | 16beec0f4434b38c676d79577b54088e25220580 | |
parent | 110f1d8b2669f6a7064b876d890bde0cd8914c77 [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: I7336f2fc78804f26e4b2a329870ecdea776595d8 Merged-In: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5