commit | 61f814f4e287e9d556863d9cc931928a325f8880 | [log] [tgz] |
---|---|---|
author | fayey <fayey@google.com> | Tue Jun 13 18:29:19 2023 +0000 |
committer | Faye Yan <fayey@google.com> | Mon Oct 09 18:13:50 2023 +0000 |
tree | 247746fe5af367f297e4bb9b1abe445ebd2cf1c4 | |
parent | 7a7407747ddb8bc881ac240b0b9c6b8c61308af3 [diff] |
Create voice-activation permission This permission will be a signature|privileged|appop type. The permission status will be pre-grant to privileged assistant apps via allowlist. The appop protection flag allows user controls on the access status via flipping the op mode via UI toggle. The default op mode value = MODE_DEFAULT. The permission status is granted if the app is allowlisted by the OEM. The inital access is decided by the permission status. When user deny the access, op mode = MODE_IGNORED, access denied. When user allow the access, op mode = MODE_ALLOWED, access allowed, regardless of permission status. Detailed design option seen in https://docs.google.com/document/d/15Rn363JZfe9NCexOWnPYzSkaAo4XqP4JBqCQuj9UyoY/edit?resourcekey=0-EM3T-DFn2ymF7C-1_p-3Ow#bookmark=id.5jfcta6t9r7k Bug: 289087269 Bug: 287084170 Test: presubmit Change-Id: Ib30ef2d8813ac5eb74457c6b8f173bffafea52ce