Fix NullPointerException when showing DeleteManagedProfileDialog

If the device has a managed profile but the corresponding DPC is removed
from primary user, show default DPC icon and name instead of crashing
NullPointerException when starting ManagedProvisioning and asking user
to confirm deleting existing profile.

Bug: 23204984
Change-Id: I5e75c2883148b743b842568ff33ae43e3016d784
1 file changed
tree: c720ddd655117da79d87d46c7cbc1ddc068a13f6
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. CleanSpec.mk