commit | 0adbb0277bfa74a9fec6ddac9496fa491d0aeb93 | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Wed Nov 20 10:20:53 2024 +0800 |
committer | Junyu Lai <junyulai@google.com> | Wed Nov 27 10:56:05 2024 +0800 |
tree | 86ef6d87b7c4c3ea1514ed475ca5285586b552c3 | |
parent | 5671e9d15dff2b031dd61546c93129e2d87ed65f [diff] |
Stop tethering when the current user is not allowed to do entitlement check This commit ensures that EntitlementManager sends the appropriate error code to the receiver when the current user is not allowed to perform entitlement check. This error code also listened by the tethering module, where it would stop tethering when receiving such error code. Test: atest TetheringTests:EntitlementManagerTest Bug: 376792293 Change-Id: I2dd18f9df9ad7cab542f8877b9fc86600c248144