1. 12 Sep, 2014 1 commit
  2. 08 Sep, 2014 1 commit
  3. 05 Sep, 2014 1 commit
    • Nicolas Prevot's avatar
      Do not always install system apps in the managed profile after a system update. · 3b76f0d3
      Nicolas Prevot authored
      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
      3b76f0d3
  4. 04 Sep, 2014 1 commit
  5. 20 Aug, 2014 1 commit
  6. 04 Aug, 2014 1 commit
    • Robin Lee's avatar
      Provisioning: Add internal alias for continue flow · 4af4ed0f
      Robin Lee authored
      Creates ManagedProvisioningActivityNoCallerCheck alias which requires
      MANAGE_USERS permission to invoke. This route removes the requirement
      for a system caller to run the provisioner via startActivityForResult.
      
      Fixes issue where resuming managed provisioning from a notification
      was broken, as notifications aren't started for a result.
      
      @bug 16703456
      @bug 14818921
      
      Change-Id: I049b964d75e2647ab3c0613f9fb82b869499ab1e
      4af4ed0f
  7. 29 Jul, 2014 1 commit
  8. 30 Jun, 2014 1 commit
  9. 23 Jun, 2014 1 commit
  10. 19 Jun, 2014 1 commit
    • Jessica Hummel's avatar
      Remove provisioning tasks from the UI thread. · 14eeef9f
      Jessica Hummel authored
      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
      14eeef9f
  11. 11 Jun, 2014 2 commits
  12. 09 Jun, 2014 1 commit
    • Adam Connors's avatar
      Adapt provisioning UI to mocks. · e2033dcd
      Adam Connors authored
      Bug: 15451519
      (cherry picked from commit I329e6768fea2ac49a3bb0fe166d8f2a0b4a88252)
      
      Change-Id: I1a853e74e4fc59022c3c47a3ba8801c27d07b762
      e2033dcd
  13. 06 Jun, 2014 1 commit
  14. 05 Jun, 2014 1 commit
    • Nicolas Prevot's avatar
      Saving user consent in ManagedProvisionningActivity. · 0df3a2fe
      Nicolas Prevot authored
      An app with MANAGE_USERS permission can send the broadcast intent
      ACTION_MANAGED_PROVISIONING_USER_HAS_CONSENTED to ManagedProvisioning to notify it
      that the user has already consented to the managed profile creation with a certain mdm package name. In this case,
      ManagedProvisioning will skip disclosure.
      
      BUG: 15155749
      
      Change-Id: I21ac12ceaf79c35863c16dcf6073984d1a523d9e
      0df3a2fe
  15. 14 May, 2014 1 commit
    • Sander Alewijnse's avatar
      Perform CDMA activation and skip setup wizard. · 639e94c2
      Sander Alewijnse authored
      CDMA activation is done right after startup by sending a
      PERFORM_CDMA_PROVISIONING intent.
      
      Setup wizzard is skipped by setting specific settings flags at end of
      provisioning.
      
      Change-Id: Ib21427b357dc439d1bcad6c0f1202ea8fa5c6fff
      639e94c2
  16. 07 May, 2014 1 commit
    • Robin Lee's avatar
      Force user to encrypt before managed provisioning · 3ab2b570
      Robin Lee authored
      Adds one new screen which will ask the user if encrypting is OK before
      triggering an encrypt/reboot cycle.
      
      This should only need to happen on older devices that have not already
      had encryption enabled.
      
      Change-Id: If09d4c7e524554e73b32d941a2ae2fdeac3d43e3
      3ab2b570
  17. 29 Apr, 2014 1 commit
  18. 28 Apr, 2014 1 commit
  19. 23 Apr, 2014 1 commit
  20. 01 Apr, 2014 1 commit
    • Sander Alewijnse's avatar
      Added install package task. · 4c4badfb
      Sander Alewijnse authored
      Installs the device owner from a provided .apk file. Before
      installation it checks whether a given package and adminReceiver
      are present in the .apk.
      
      Change-Id: I28b93e8a5d4a330b8f788db356e5fef3cb25cde6
      4c4badfb
  21. 20 Mar, 2014 1 commit
  22. 19 Mar, 2014 1 commit
  23. 17 Mar, 2014 1 commit
  24. 13 Mar, 2014 1 commit
  25. 04 Mar, 2014 1 commit
  26. 28 Feb, 2014 1 commit
    • Jessica Hummel's avatar
      Separate managed and device owner provisioning. · c4d5d2b9
      Jessica Hummel authored
      Please note that ManagedProvioningActivity is a new activity now and mostly contains the functionaliyt that was in CreateProfileTask before.
      Also includes some cleanups, additional logging and smaller fixes.
      
      Change-Id: Ie5ffebe609f3fc1f6e56399b222aad2cf2cae987
      c4d5d2b9
  27. 19 Feb, 2014 1 commit
    • Sander Alewijnse's avatar
      Small fixes in ManagedProvisioningActivity. · dd96b18e
      Sander Alewijnse authored
      Now the contents of the NfcMessage (instead bunch of nulls)  is copied to the
      mPref. Renamed reference to the late ConfigureUserService. Renamed reference to
      the late NfcBumpActivity.
      
      Change-Id: Ibf9e16ab64fb2f13050b38fce5b73ae9e9668be5
      dd96b18e
  28. 13 Feb, 2014 2 commits
    • Jessica Hummel's avatar
      Ask for user consent before starting managed provisioning. · 935e3239
      Jessica Hummel authored
      Adds a dialog that asks the user for consent before managed provisioning is started. This is done as a separate acivity because provisioning happens in full screen immersive mode, so a normal dialog will be hidden behind the main activity.
      
      Change-Id: Icf8e7070d83c887baadf34e45aaa1f8c87a05199
      935e3239
    • Jessica Hummel's avatar
      Create secondary profile in the managed profile provisioning. · 7b5e9bac
      Jessica Hummel authored
      Extends the CreateProfileTask so that it creates a second user, installs the mobile devive management app (mdm) on that profile and removes it from the primary profile. Also includes some cleanups.
      
      Change-Id: I70a0da40740057026f45033e5722c566593aa0f2
      7b5e9bac
  29. 03 Feb, 2014 1 commit
    • Adam Connors's avatar
      First step to enabling BYOD flow. · fe18f457
      Adam Connors authored
      BYOD provisioning flow is triggered by a bootstrap
      application firing an appropriate PROVISION_MANAGED_PROFILE
      intent. This change added an intent filter and unified the
      properties parsing so ConfigureUserActivity is correctly
      started for both NFC & BYOD cases.
      
      It doesn't yet do anything to differentiate DeviceOwner
      or BYOD flows yet.
      
      Change-Id: I1a94a05fd55b0f7f9ea8c1a76ff6280a4c0b8ab7
      fe18f457
  30. 28 Jan, 2014 1 commit
    • Jason Monk's avatar
      Prototype of splitting provisioning · c6d71b86
      Jason Monk authored
      Based on code from vendor/google/apps/NfcProvision.
      
      It uses a pre-specified action and a package name specified in the bump to
      launch the EDU specific pieces.  It launches that activity and waits for a
      broadcast back in both the pre-MDM and post-MDM steps.  Still needs the
      security check to make sure that the activity being launched is part of a
      privileged app.
      
      The MDM is currently specified by package and admin receiver in the nfc bump.
      This needs to be expanded to allow a download location rather than a package
      to enable and use.
      
      Change-Id: Iaabe8505c5e33c33ddec3122d2a17b07a6b243fc
      c6d71b86
  31. 17 Jan, 2014 1 commit
  32. 10 Jan, 2014 1 commit