summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Chen Xu <fionaxu@google.com> 2021-05-04 22:09:05 -0700
committer Chen Xu <fionaxu@google.com> 2021-05-07 04:57:47 +0000
commit38663c6a6cc35464e21dfe33440b74dd694ab75d (patch)
treeb8f2c3863b9c87f76164504616c2409d0690ed6e /libs/androidfw/StringPool.cpp
parent666d445123cfb1c1172ba61caba850b3c32ee340 (diff)
missing permission check to access multi_sim_data_call settings
this private settings can be accessed from alternative API SubscriptionManager.getPreferredDataSubscriptionId which requires READ_PRIVILEGED_PHONE_STATE permission. Add additional permission check for settings access to avoid any potential security holes. note: the alernative API from SubscriptionManager is also a hidden one, without the public alertnative API we have to handle app-compat properly to avoid breaking apks targeting previous SDKs. Bug: 172670679 Test: Manual Change-Id: If527f375da33cc6c30c6513c82bf529209da277a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions