Skip to content
Commit d64f7b0b authored by Lucas Silva's avatar Lucas Silva
Browse files

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
parent b85665b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment