History log of /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
25a4d3d99c94d562cb11eef8bef81ddf4d602ec2 21-Mar-2016 Steven Ng <stevenckng@google.com> Deprecate the use of package name in Profile owner creation flow

+ Replace the use of deviceAdminPackageName with
deviceAdminComponentName.getPackageName() because, in the profile
owner provisioning, the device admin app must be installed. Even only
if the package name is provided, the device component name can be
inferred by the package name via PackageManager.

Bug: 27743708
Change-Id: I4b84c3c899a7a204b2e10ff57e4e75e7191f0340
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java
7079df5a3fb155947004843ee8ec25b36127e3ed 17-Mar-2016 Steven Ng <stevenckng@google.com> Refactor MessageParser

+ Split MessageParser into two
+ ExtrasProvisioningDataParser which parses provisioning data from
extras.
+ PropertiesProvisioningDataParser which parses provisioning data
from NFC message.
+ Removed the confusing field isSelfOriginated as this can be derived
from the intent action.
+ Added unit tests for parsing.

Bug: 27356175
Change-Id: Ib3e001203cb0ed36f5ef3c59ba171b78288a30bf
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java
d1784bd4d917bb36125e6faf125a2425c343838b 09-Mar-2016 Steven Ng <stevenckng@google.com> Make ProvisioningParams mostly immutable

+ Make WifiInfo and PackageDownloadInfo immutable and truely Parcelable.
+ Make ProvisioningParams mostly immutable except the PersistentBundle
field for admin extras.
+ Implement equals for WifiInfo, PackageDownloadInfo and
ProvisioningParams.
+ Validates the ProvisioningParams fields upon construction.

Bug: 26847422
Change-Id: I8873524ab3ada6c23717aa4549bc112f8c45b4dc
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java
e04659786591df44c6fd359de5408fd8f7d6254b 01-Mar-2016 Benjamin Franz <bfranz@google.com> Remove HomeReceiverActivity and its references

SUW has switched to using the new interaction via DevicePolicyManager
provisioning state. We should therefore remove the HomeReceiverActvity
and stop writing USER_SETUP_COMPLETE as this is now the responsibility
of the SUW. Provisioning will be finalized in the FinalizationActivity
which is invoked by SUW.

Bug: 25858670
Change-Id: I806f0b4825f1c2138648bf12a9e01f00116a0d12
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java
72023ca7b7a818fa33e0303baf6f5baef05b5f1b 16-Feb-2016 Benjamin Franz <bfranz@google.com> Make Utils non-static for better injection

Make all functions in Utils non-static to be able to inject it where
necessary. Also make IllegalProvisioningArgumentException and
MdmPackageInfo top-level classes.

Bug: 27161424
Change-Id: I71981166578e537034762ecdd6e33af009ec1584
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java
ba113214d1820f32e5132cd83a06fa1eaedd2866 21-Jan-2016 Alan Treadway <alantreadway@google.com> Use new DPM APIs to explicitly record provisioning state.

First phase of changes to make setup-wizard and ManagedProvisioning
intergrations more explicit and less fragile. This change adds use
of the new mechanism, which works in parallel with old mechanism to
avoid breaking provisioning until setup-wizard changes are ready.

Bug: 25858670
Change-Id: I4f0fb28e71274ade4d6d5c68c5f4bc10ee39bef8
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/FinalizationActivity.java