Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fabc31f0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "isDeclared handles SecurityException as well" into main am: 3cc0f825 am: b0666451

parents 06c5bddb b0666451
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ public final class ServiceManager {
    public static boolean isDeclared(@NonNull String name) {
        try {
            return getIServiceManager().isDeclared(name);
        } catch (RemoteException e) {
        } catch (RemoteException | SecurityException e) {
            Log.e(TAG, "error in isDeclared", e);
            return false;
        }