Merge "Swallow exception from failed idmap2d disable" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-27 22:30:18 +00:00
committed by Android (Google) Code Review

View File

@@ -194,7 +194,13 @@ class IdmapDaemon {
}
private static void stopIdmapService() {
SystemService.stop(IDMAP_DAEMON);
try {
SystemService.stop(IDMAP_DAEMON);
} catch (RuntimeException e) {
// If the idmap daemon cannot be disabled for some reason, it is okay
// since we already finished invoking idmap.
Slog.w(TAG, "Failed to disable idmap2 daemon", e);
}
}
private Connection connect() throws TimeoutException, RemoteException {