summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Peter Li <lpeter@google.com> 2022-05-14 12:02:38 +0800
committer lpeter <lpeter@google.com> 2022-06-28 20:27:16 +0800
commitc6931d97cb20f569e86d8624e0cae49496423cb7 (patch)
tree17e512f19eee575065cc8f28e0be72d7fa3d9056 /libs/androidfw/StringPool.cpp
parent011618a551db9aceabfd85a4185e15cbd4b9fabc (diff)
Create proper ui context if original context is not a ui context
Since Android API 31 there is a new check in StrictMode, this check ensures that any ui-related operations involving context object are only performed on the ui context. If the context is not the ui context, it will fail with error when calling the ui-related methods. So we need to create proper ui context if original context is not a ui context. Bug: 220698651 Test: atest CtsVoiceInteractionTestCases Test: manual. Test VoiceInteractionSession UI. Change-Id: Ibbeae9b135b90078b3b9e36a2d0c5a92f6184b2a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions