зеркало из https://github.com/mozilla/gecko-dev.git
Bug 858808 - Use String version of getBytes to accommodate Froyo; r=blassey
This commit is contained in:
Родитель
ff98be066b
Коммит
1445e2bdbb
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче