commit | 3255d1a242392385ebe3c9e8dc950d701cea8b9e | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Tue Sep 10 16:30:31 2024 -0700 |
committer | Atneya Nair <atneya@google.com> | Tue Sep 10 16:30:31 2024 -0700 |
tree | 2f05e6a136998338dd9d14cccd4895be02ffbe7a | |
parent | 91f155a91176e15277efc91b5c53e331ecb2b0a7 [diff] |
appops: checkOp uid mode fgd translation checkOp (non-raw) currently evaluates the foreground mode in most cases, except if the default mode is MODE_FOREGROUND. While this is generally not an issue, since this mode is mainly used with runtime permissions, remove this inconsistency since we are moving some appops to default mode MODE_FOREGROUND. Test: CtsAppOpsTestCases Flag: EXEMPT bugfix Bug: 294609684 Change-Id: Ic5139358bd5b9e37871decc022cd90bb654a8424