diff options
| author | 2023-03-07 08:51:16 -0500 | |
|---|---|---|
| committer | 2023-03-09 16:26:47 +0000 | |
| commit | d64f7b0bc6e887d7d0557b9ec78df9bc252b1b4a (patch) | |
| tree | 7b48e8fdcfdb30b210a060714701f76f150573ba /libs/androidfw/ApkParsing.cpp | |
| parent | b85665b3167b0907cf0e1abb742928058a1c32f8 (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