mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
bug 860986 - SUTAgent - add abi to registration url, r=jmaher. DONTBUILD
This commit is contained in:
parent
86990b89fa
commit
834f6afd82
@ -38,6 +38,7 @@ import android.net.wifi.WifiInfo;
|
||||
import android.net.wifi.WifiManager;
|
||||
import android.net.wifi.WifiManager.WifiLock;
|
||||
import android.os.BatteryManager;
|
||||
import android.os.Build;
|
||||
import android.os.Build.VERSION;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
@ -74,6 +75,7 @@ public class SUTAgentAndroid extends Activity
|
||||
private static String RegSvrIPPort = "";
|
||||
private static String HardwareID = "";
|
||||
private static String Pool = "";
|
||||
private static String Abi = "";
|
||||
private static String sRegString = "";
|
||||
private static boolean LogCommands = false;
|
||||
|
||||
@ -172,6 +174,7 @@ public class SUTAgentAndroid extends Activity
|
||||
SUTAgentAndroid.RegSvrIPPort = dc.GetIniData("Registration Server", "PORT", sIniFile);
|
||||
SUTAgentAndroid.HardwareID = dc.GetIniData("Registration Server", "HARDWARE", sIniFile);
|
||||
SUTAgentAndroid.Pool = dc.GetIniData("Registration Server", "POOL", sIniFile);
|
||||
SUTAgentAndroid.Abi = android.os.Build.CPU_ABI;
|
||||
log(dc, "onCreate");
|
||||
|
||||
tv = (TextView) this.findViewById(R.id.Textview01);
|
||||
@ -277,6 +280,7 @@ public class SUTAgentAndroid extends Activity
|
||||
|
||||
String sConfig = "Unique ID: " + sUniqueID + lineSep;
|
||||
sConfig += "HWID: " + hwid + lineSep;
|
||||
sConfig += "ABI: " + Abi + lineSep;
|
||||
sConfig += "OS Info" + lineSep;
|
||||
sConfig += "\t" + dc.GetOSInfo() + lineSep;
|
||||
sConfig += "Screen Info" + lineSep;
|
||||
@ -302,6 +306,7 @@ public class SUTAgentAndroid extends Activity
|
||||
sRegString += "&MEMORY=" + dc.GetMemoryConfig();
|
||||
sRegString += "&HARDWARE=" + HardwareID;
|
||||
sRegString += "&POOL=" + Pool;
|
||||
sRegString += "&ABI=" + Abi;
|
||||
|
||||
String sTemp = Uri.encode(sRegString,"=&");
|
||||
sRegString = "register " + sTemp;
|
||||
|
Loading…
Reference in New Issue
Block a user