summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2023-03-07 08:51:16 -0500
committer Lucas Silva <lusilva@google.com> 2023-03-09 16:26:47 +0000
commitd64f7b0bc6e887d7d0557b9ec78df9bc252b1b4a (patch)
tree7b48e8fdcfdb30b210a060714701f76f150573ba /libs/androidfw/ApkParsing.cpp
parentb85665b3167b0907cf0e1abb742928058a1c32f8 (diff)
Handle bindService errors in ObservableServiceConnection
If the component doesn't exist, or if we don't have permission to bind to it, a SecurityException is thrown. In this case, we should return false instead of crashing the process. Bug: 271997433 Test: atest ObservableServiceConnectionTest Change-Id: I2869e3438ead888b20ab00f643ac37e4373e924e
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions