History log of /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
15b7de6bdebf32729320f510165769b67b04cade 19-Sep-2014 Jessica Hummel <jhummel@google.com> Wait for mdm to receive provisioning complete before finishing

This avoids a lag between provisioning and the mdm starting. Only for managed provisioning as I didn't see the same lag for DO, probably because the intent is not sent across to a different user in that case.

bug:14287553
Change-Id: Ie17158b176e2d5ddc0ac1e9200c18a27da77169a
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
9480d6efd4a67573f16755b559e6aa7c7cb9546f 19-Sep-2014 Kenny Guy <kennyguy@google.com> Fix crash when trying to create profile.

Crashed when user manager couldn't create another
user. Also fix error reporting from service back to
activity, receiver had changed to use LocalBroadcastManager
but sender hadn't been updated.

Bug: 17580476
Change-Id: I6642f691860443fce99d565576d6fb9730b2a878
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
30fdbad0536115f0d74c663de0e6686961f18c48 10-Sep-2014 Jessica Hummel <jhummel@google.com> Merge "Remove unused default profile name and legacy admin package extras." into lmp-dev
418aaf4c4ff54e5f890bff004e120d8d5e5af755 08-Sep-2014 Nicolas Prevot <nprevot@google.com> On system update, do not delete system apps enabled by the profile owner.

Also, during the creation of a new profile, if there is a list of installed system apps present from a previously created profile with the same user id, ignore that file.

BUG:17423480
BUG:17434709
Change-Id: Ie69c707465cb42bb979e71f8913e68f07bb0c15d
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
ff364bd8dafb6bb72a8acc3672edd884625771b5 09-Sep-2014 Jessica Hummel <jhummel@google.com> Remove unused default profile name and legacy admin package extras.

Change-Id: I205890e097abee70af09a6c8f312cc40ba6efe9a
bug:17152955
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
bdd12c730a5ac9af232e4b02ce651aae85431a09 05-Sep-2014 Nicolas Prevot <nprevot@google.com> Merge "Do not always install system apps in the managed profile after a system update." into lmp-dev
3b76f0d34ed293c310605a66711cf3aba42f09e6 03-Sep-2014 Nicolas Prevot <nprevot@google.com> Do not always install system apps in the managed profile after a system update.

ManagedProvisionning keeps track of apps in the system image, deleted for the managed profile or not.
If a new one is added, ManagedProvisioning may delete it when it receives PRE_BOOT_COMPLETED.
If this new app has a component listening to INSTALL_SHORTCUT, it will be disabled.

BUG:17150677

Change-Id: I78b96c7cffeef88257b178eb2ede9a275499048d
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
88d5d0ec233f6039b0e65ea66a73ba882a365e28 04-Sep-2014 Sander Alewijnse <salewijnse@google.com> Remove email extra.

From now on email should be passed through using bundle extra.

Bug:17197410
Change-Id: Idec94a671bcf575481dfe8e5c122e44585d4f823
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
f88f709f4a03da9451ea63a60fdb09f0ce972dd3 20-Aug-2014 Sander Alewijnse <salewijnse@google.com> Pass through the provisioning extra admin extras bundle.

Enables the MDM app running (as a regular app) in the primary user to pass
through a PersistableBundle of data to the instance of itself running as
profile owner in the managed profile.

Bug:17126717
Change-Id: Ie85ccf71a4e677c8bb1dd1918f61b01eca83f472
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
3da1e3290575cd7d8d0a92fc8442952b9ba49c81 02-Sep-2014 Jessica Hummel <jhummel@google.com> Fix bug where provisioning service could be started twice.

Also fixing another potential bug as we were not handling the case of the service being killed by the system.

Change-Id: I0b435a6a9f4e3c3844fff67850f52da7cda5fda6
bug:15919652
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
1350a21bf52e2e5fae569ffb0e3d1daa9d3252bb 08-Aug-2014 Kenny Guy <kennyguy@google.com> Mark managed profile with USER_SETUP_COMPLETE

Set setup complete when the managed profile
has been provisioned.

Bug: 16424117
Change-Id: I50dc7948d917097679c82b9f9e6b150dd208a7e7
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
29d6c23ee08ac51a7ffa33d264d09cbcf8bcc723 29-Jul-2014 Amith Yamasani <yamasani@google.com> Follow change to DPM.setProfileOwner API

Pass in the component name, not just the package name,
since some packages might have both admins and profile owners.
It should be possible to identify which one is a profile owner
and deactivate an admin in that package that's not a profile owner.

Side effect of Bug: 16207721

Change-Id: Id45038e7a2e676fa0ed86aa4901ad8f2e407227e
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
5f22bf5fcf695d794e3de83c03ab88e4b21808fd 24-Jul-2014 Nicolas Prevot <nprevot@google.com> Updating cross-profile intent filters after an ota.

If ManagedProvisioning receives a PRE_BOOT_COMPLETED intent,
then it resets the cross-profile intent filters.

BUG:16644274

Change-Id: Idf43ef1fd29c7176d6519532ecd11f6f405d6489
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
d6157a089c45d67d0250272cc87899b573d459f5 25-Jul-2014 Nicolas Prevot <nprevot@google.com> Forward camera intents to primary user.

Including image/video capture intents.

This is required so applications in the managed profile can
intent to the camera in the primary profile to take photos.

Bug: 15534203

Change-Id: I7b94850323324b7994b2aa17dd0770b64c848153
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
f97d6d095a4f9d485ed3eeaa69ba6ba0bf9aa0cf 23-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Remove cross-profile package intents for Settings

Bug: 16369104
Change-Id: I735e9fb0eb9e3dc7744eb51f47ac4e71469cf77e
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
39b1f49cdd7a3b5337cbc2941db32748ab0da578 03-Jul-2014 Nicolas Prevot <nprevot@google.com> Forward recognize_speech to the primary user.

And replace hardcoded strings by the associated fields.

BUG: 15900714

Change-Id: Id8fd7a62af5698b6510bdffb06801f8c0abacf31
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
e92dab73930bba29e4f9653b8ea30d7e1765ff49 24-Jun-2014 Jessica Hummel <jhummel@google.com> Merge "Allow starting provisioning with only the package name provided."
2feb1ff1c6c61d4ca635970b85141619a45e0dd0 24-Jun-2014 Jessica Hummel <jhummel@google.com> Merge "Fix bug in update intents between provisioning service and activity."
81fe104ecfc98f1fb4356891acfe696e7445acb8 23-Jun-2014 Jessica Hummel <jhummel@google.com> Fix bug in update intents between provisioning service and activity.

For some reason setting the class of the intent wasn't working(anymore?). Sending a local broadcast instead.

Change-Id: Idfc87c1ed5041bde7eecdc28f14c24108eb520bf
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
2e9cec64bd2a99b7e93d8408173e79b5d6fc3801 20-Jun-2014 Jessica Hummel <jhummel@google.com> Allow starting provisioning with only the package name provided.

This means that the intent that starts provisioning does not have to come from the mdm. It simplifies the flow in particular for the user consent.

Change-Id: Ie746f6d609cf2627c4971ca8639361c144f5447c
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
6356f05a04f20ded4adfe9ba4f4babd7b0c4dd20 13-Jun-2014 Alexandra Gherghina <alexgherghina@google.com> Adds the settings cross profile intent filters at provisioning time

Bug: 15466742
Change-Id: Ie9e0248e916f96981915069209fcd415ae59462d
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
c797f64018c731f0548df61d691d674cb03e5f3c 05-Jun-2014 Nicolas Prevot <nprevot@google.com> Update ManagedProvisionningActivity to the new Api.

The addCrossProfileIntentFilter method has changed.
And make the SET_PASSWORD, DIAL and CALL intents skip the current profile.

BUG: 14936725

Change-Id: Ib433fd9e3e11c183dbad660dc4a82fe300e1a1f2
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java
14eeef9ff6b961f4a746f2953dde1529ad27bc6a 16-Jun-2014 Jessica Hummel <jhummel@google.com> Remove provisioning tasks from the UI thread.

This introduces the managed provisioning service, which runs on a separate thread. This is consistent with what we do for device owner.
Also includes a rename of addForwardingIntentFilter to addCrossProfileIntentFilter and a few other cleanups.

Change-Id: I95f42072a9352d7e265f51c39e58a3c5c1ae12ce
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ManagedProvisioningService.java