summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorHolly Jiuyu Sun <jiuyu@google.com>2019-01-17 14:41:14 -0800
committerHolly Jiuyu Sun <jiuyu@google.com>2019-01-22 14:29:45 -0800
commit6bf0359b27e43bdd795ed9f3f930541965681aec (patch)
tree00753091ae8d5dd3997e70e217f578ef897ff72b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent6f19cbdd2f285a7d54ce7694488e307bbe26bfc9 (diff)
Handle permission check for multi-active SIMs devices.
For download and switch, if the caller can manage (has carrier privilege) on any active sub on any other slots && the caller can manage the active sub on the target slot or there is no active sub on the target slot, we allow the caller to continue download. Otherwise, we require user consent. For getting EID, we now check whether the caller has privilege on the target card with the given cardId. Other logic including the logic for single-active slot still keep the same. Also, open disable sub (switch to empty sub) to privileged carrier apps instead of just system. Bug: 36260308 Bug: 120621262 Test: unit test, test on phone Change-Id: Icfc0c9e9f4303876bceb1adbe217b39b538b347e
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions