Merge "Fix VerificationActivity Intent" am: b2d41e93f8
Change-Id: Ie9e153c83afae642e7322c27a1f7e179ab1575e6
This commit is contained in:
@@ -84,7 +84,6 @@ public class VerificationActivity extends Activity {
|
|||||||
// retrieve data from calling intent
|
// retrieve data from calling intent
|
||||||
Intent callingIntent = getIntent();
|
Intent callingIntent = getIntent();
|
||||||
Uri url = callingIntent.getData();
|
Uri url = callingIntent.getData();
|
||||||
Bundle extras = callingIntent.getExtras();
|
|
||||||
|
|
||||||
if (url != null) {
|
if (url != null) {
|
||||||
sVerifiedUrl = url.toString();
|
sVerifiedUrl = url.toString();
|
||||||
@@ -96,7 +95,7 @@ public class VerificationActivity extends Activity {
|
|||||||
intent.setData(url);
|
intent.setData(url);
|
||||||
}
|
}
|
||||||
intent.setAction(DynamicSystemClient.ACTION_START_INSTALL);
|
intent.setAction(DynamicSystemClient.ACTION_START_INSTALL);
|
||||||
intent.putExtras(extras);
|
intent.putExtras(callingIntent);
|
||||||
|
|
||||||
Log.d(TAG, "Starting Installation Service");
|
Log.d(TAG, "Starting Installation Service");
|
||||||
startServiceAsUser(intent, UserHandle.SYSTEM);
|
startServiceAsUser(intent, UserHandle.SYSTEM);
|
||||||
|
|||||||
Reference in New Issue
Block a user