Skip to content

Commit

Permalink
fbandroid/libraries/soloader/java/com/facebook/soloader/SoLoaderDSONo…
Browse files Browse the repository at this point in the history
…tFoundError.java

Reviewed By: nicholeic

Differential Revision: D60223514

fbshipit-source-id: 778d3898b39d6915b547dc398e0371390ef20da6
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Jul 25, 2024
1 parent 1bfa749 commit b343ceb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion java/com/facebook/soloader/SoLoaderDSONotFoundError.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.facebook.soloader;

import android.content.Context;
import javax.annotation.Nullable;

@DoNotStripAny
public class SoLoaderDSONotFoundError extends SoLoaderULError {
Expand All @@ -29,7 +30,8 @@ public SoLoaderDSONotFoundError(String soName, String error) {
super(soName, error);
}

public static SoLoaderDSONotFoundError create(String soName, Context ctx, SoSource[] soSources) {
public static SoLoaderDSONotFoundError create(
String soName, @Nullable Context ctx, SoSource[] soSources) {
StringBuilder sb = new StringBuilder("couldn't find DSO to load: ").append(soName);
sb.append("\n\texisting SO sources: ");
for (int i = 0; i < soSources.length; ++i) {
Expand Down

0 comments on commit b343ceb

Please sign in to comment.