mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 858808 - Use String version of getBytes to accommodate Froyo; r=blassey
This commit is contained in:
parent
6630ed5f1e
commit
c6eefe8e12
@ -30,7 +30,6 @@ import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.OutputStream;
|
||||
import java.io.Reader;
|
||||
import java.nio.charset.Charset;
|
||||
import java.security.GeneralSecurityException;
|
||||
import java.security.MessageDigest;
|
||||
import java.util.UUID;
|
||||
@ -55,8 +54,8 @@ public final class ANRReporter extends BroadcastReceiver
|
||||
// for the ping file, it lossily converts utf-16 to ascii. therefore,
|
||||
// we have to treat characters in the traces file as ascii rather than
|
||||
// say utf-8. otherwise, we will get a wrong checksum
|
||||
private static final Charset TRACES_CHARSET = Charset.forName("us-ascii");
|
||||
private static final Charset PING_CHARSET = Charset.forName("us-ascii");
|
||||
private static final String TRACES_CHARSET = "us-ascii";
|
||||
private static final String PING_CHARSET = "us-ascii";
|
||||
|
||||
private static final ANRReporter sInstance = new ANRReporter();
|
||||
private static int sRegisteredCount;
|
||||
|
Loading…
Reference in New Issue
Block a user