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

Commit 8fef847e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Replace runtime exception with Log.wtf in ProtoLogImpl." into main

parents af4e5eca 6fcf9ab4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ public abstract class PerfettoProtoLogImpl extends IProtoLogClient.Stub implemen

                mConfigurationService.registerClient(this, args);
            } catch (RemoteException e) {
                throw new RuntimeException("Failed to register ProtoLog client", e);
                Log.wtf(LOG_TAG, "Failed to register ProtoLog client", e);
            }
        });
    }
@@ -279,7 +279,7 @@ public abstract class PerfettoProtoLogImpl extends IProtoLogClient.Stub implemen
                }
                mConfigurationService.registerGroups(this, args);
            } catch (RemoteException e) {
                throw new RuntimeException("Failed to register ProtoLog groups", e);
                Log.wtf(LOG_TAG, "Failed to register ProtoLog groups", e);
            }
        });
    }
@@ -308,7 +308,7 @@ public abstract class PerfettoProtoLogImpl extends IProtoLogClient.Stub implemen
            try {
                mConfigurationService.unregisterClient(this);
            } catch (RemoteException e) {
                throw new RuntimeException("Failed to unregister ProtoLog client", e);
                Log.wtf(LOG_TAG, "Failed to unregister ProtoLog client", e);
            }
        });
    }