changes for the remote provisioning bug

This commit is contained in:
Pankaj Anand 2013-05-03 11:18:48 +05:30 committed by Yann Diorcet
parent c554ebb4e8
commit 0cd3a30291

View file

@ -40,9 +40,10 @@ public class RemoteProvisioning {
int bytesRead = 0; int bytesRead = 0;
String strFileContents = ""; String strFileContents = "";
while( (bytesRead = bis.read(contents)) != -1){ while( (bytesRead = bis.read(contents)) != -1){
strFileContents = new String(contents, 0, bytesRead); strFileContents += new String(contents, 0, bytesRead);
} }
Log.i("Download Success"); Log.i("Download Success");
Log.i(strFileContents);
// Initialize converter // Initialize converter
LpConfig lp = LinphoneCoreFactory.instance().createLpConfig(mLocalLP); LpConfig lp = LinphoneCoreFactory.instance().createLpConfig(mLocalLP);