Merge "Stop granting permission to report_off_body to keystore2" into main

This commit is contained in:
Eric Biggers 2024-03-18 21:08:40 +00:00 committed by Gerrit Code Review
commit b58636b2d3
2 changed files with 3 additions and 6 deletions

View file

@ -692,7 +692,7 @@ class hwservice_manager
list
}
class keystore_key
class keystore_key # No longer used
{
get_state
get
@ -727,11 +727,11 @@ class keystore2
get_attestation_key
get_auth_token
get_last_auth_time
get_state
get_state # No longer used
list
lock
pull_metrics
report_off_body
report_off_body # No longer used
reset
unlock
}

View file

@ -294,8 +294,5 @@ neverallow priv_app *:{
alg_socket nfc_socket kcm_socket qipcrtr_socket smc_socket xdp_socket
} *;
# Allow priv apps to report off body events to keystore2.
allow priv_app keystore:keystore2 report_off_body;
# Allow priv_apps to check if archiving is enabled
get_prop(priv_app, pm_archiving_enabled_prop)