Skip to content

Commit

Permalink
Do not strip CxxInspectorPackagerConnection.DelegateImpl methods
Browse files Browse the repository at this point in the history
Summary:
Changelog: [Internal]

Adds the missing `DoNotStrip` annotations to methods of `CxxInspectorPackagerConnection.DelegateImpl` that are called from C++.

Differential Revision: D57708376
  • Loading branch information
motiz88 authored and facebook-github-bot committed May 23, 2024
1 parent 95de14d commit 8e380df
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ private static class DelegateImpl {

private final Handler mHandler = new Handler(Looper.getMainLooper());

@DoNotStrip
public IWebSocket connectWebSocket(String url, WebSocketDelegate delegate) {
Request request = new Request.Builder().url(url).build();
final WebSocket webSocket =
Expand Down Expand Up @@ -135,6 +136,7 @@ public void close() {
};
}

@DoNotStrip
public void scheduleCallback(Runnable runnable, long delayMs) {
mHandler.postDelayed(runnable, delayMs);
}
Expand Down

0 comments on commit 8e380df

Please sign in to comment.