Catch ServiceSpecificException in weaver service
When getting the config, catch ServiceSpeficiException that the HAL may throw. It's a similar error case to if the HAL simply didn't exist. Test: na Bug: 252760591 Change-Id: Idf3ca993b2cc49a56968be6c3f64aebd3cd8d58d
This commit is contained in:
@@ -513,7 +513,7 @@ class SyntheticPasswordManager {
|
||||
WeaverConfig weaverConfig = null;
|
||||
try {
|
||||
weaverConfig = weaver.getConfig();
|
||||
} catch (RemoteException e) {
|
||||
} catch (RemoteException | ServiceSpecificException e) {
|
||||
Slog.e(TAG, "Failed to get weaver config", e);
|
||||
}
|
||||
if (weaverConfig == null || weaverConfig.slots <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user