Enable ril-daemon only after migrating qcril.db

The Fairphone 2 had on Android 6 a QCOM-specific feature to
enable/disable SIM cards on multi SIM devices. This feature is not
supported anymore on Android 7. We need to make sure that previously
disabled SIMs will be enabled while upgrading, otherwise they won't be
accessible to the user without factory reset.

This db migration should be done after upgrading, but before the related
telephone components are initialized, so that no additional reboot is
required. Therefore, make sure that the ril deamon is only started when
the migration is done.

Issue: FP2N-174
Depends-On: I08acba8c28f989ab3ad5eb4dceb213933e252f5d
Change-Id: I4094586ec87c8d5738d10030dd96453ea8b57ec8
1 file changed
tree: da7ca3c8bf9aa043f43b2e281ca75ec5818634d4
  1. include/
  2. libril/
  3. librilutils/
  4. reference-ril/
  5. rild/
  6. Android.mk
  7. CleanSpec.mk