• Alan Treadway's avatar
    Ensure ManagedProvisioning finish() calls set result code. · caeb2381
    Alan Treadway authored
    To allow DPC apps to reliably differentiate between success and
    failure cases when invoking ManagedProvisioning via
    startActivityForResult(), this change attempts to ensure that all
    exit points set the returned result code to an appropriate value.
    Specifically, RESULT_CANCELED in all cases except provisioning
    success.
    
    Bug: 21063241
    Change-Id: I15b1179127b5b85c4b8df1718702818684ded7c7
    caeb2381
ProfileOwnerPreProvisioningActivity.java 19.3 KB