Apply Nullsafe FIXMEs for xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.java (#50059)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50059

Note this diff is only adding FIXMEs that will be removed in the next diff. This diff exists to make the next diff easily reviewable

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D71126395

fbshipit-source-id: fb42b12dae542bde6e0e9e58baeaab054ed8c49e
This commit is contained in:
Gijs Weterings
2025-03-18 06:08:17 -07:00
committed by Facebook GitHub Bot
parent 3289569747
commit e9af9a1793
@@ -208,6 +208,7 @@ public class DevServerHelper {
mInspectorPackagerConnection =
new CxxInspectorPackagerConnection(
// NULLSAFE_FIXME[Parameter Not Nullable]
getInspectorDeviceUrl(), metadata.get("deviceName"), mPackageName);
mInspectorPackagerConnection.connect();
return null;
@@ -457,6 +458,7 @@ public class DevServerHelper {
}
try (Sink output = Okio.sink(outputFile)) {
// NULLSAFE_FIXME[Nullable Dereference]
Okio.buffer(response.body().source()).readAll(output);
}