am 802bdbc9: am 20c811dd: am a03ea484: Merge "Change how we use provisioning url so post works" into klp-dev

* commit '802bdbc96423e14301d2bfe4195cdf344a329566':
  Change how we use provisioning url so post works
This commit is contained in:
Robert Greenwalt
2013-10-17 16:13:24 -07:00
committed by Android Git Automerger

View File

@@ -4434,8 +4434,9 @@ public class ConnectivityService extends IConnectivityManager.Stub {
mdst.enableMobileProvisioning(url); mdst.enableMobileProvisioning(url);
} else { } else {
if (DBG) log("handleMobileProvisioningAction: on default network"); if (DBG) log("handleMobileProvisioningAction: on default network");
Intent newIntent = Intent newIntent = Intent.makeMainSelectorActivity(Intent.ACTION_MAIN,
new Intent(Intent.ACTION_VIEW, Uri.parse(url)); Intent.CATEGORY_APP_BROWSER);
newIntent.setData(Uri.parse(url));
newIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT | newIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT |
Intent.FLAG_ACTIVITY_NEW_TASK); Intent.FLAG_ACTIVITY_NEW_TASK);
try { try {