mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1081276: Don't use Java assertions. r=rnewman
This commit is contained in:
parent
1a28cd5cbc
commit
a57d3f5ce6
@ -10,6 +10,7 @@ import java.io.IOException;
|
||||
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.mozilla.gecko.Assert;
|
||||
import org.mozilla.gecko.GeckoThread;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
@ -31,8 +32,8 @@ public class InstallListener extends BroadcastReceiver {
|
||||
mData = data;
|
||||
mApkFile = apkFile;
|
||||
mManifestUrl = manifestUrl;
|
||||
assert mManifestUrl != null;
|
||||
assert mApkFile != null && mApkFile.exists();
|
||||
Assert.isNotNull(mManifestUrl);
|
||||
Assert.isTrue(mApkFile != null && mApkFile.exists());
|
||||
}
|
||||
|
||||
public boolean isReceived() {
|
||||
|
Loading…
Reference in New Issue
Block a user