DO NOT MERGE Defer VVM activation/deactivation until device is unlocked.

VVM activation/deactivation requires voicemail status table update and
sending SMS which is not available if the device is locked. The
activation/deactivation also requires the subId of the SIM card, which
is enumerated when the SIM loads, with the possibility of the device
still being locked.

This CL checks if the device is locked when SimChangeReceiver is
triggered. If so, the subId will be stored by DeferredSimChangeProcessor
and resent to SimChangeReceiver after the device is unlocked.

VVM SYNC SMS could also be received when the device is locked. The SMS
will simply be ignored, as a full sync will always be performed when the
device in unlocked.

Bug:27534089
Bug:26261432
Change-Id: I9a966e5b1b880a764e4ca6b18e77796a88496043
(cherry picked from commit 0d515a7e18ce04c42df7acb3160529d56cfebd80)
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 47987fa..2335d77 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -662,13 +662,22 @@
                 <data android:scheme="sms" />
             </intent-filter>
         </receiver>
-       <receiver android:name="com.android.phone.vvm.omtp.SimChangeReceiver"
+        <receiver
+            android:name="com.android.phone.vvm.omtp.SimChangeReceiver"
             android:exported="true">
             <intent-filter>
                 <action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" />
                 <action android:name="android.intent.action.SIM_STATE_CHANGED" />
             </intent-filter>
-       </receiver>
+        </receiver>
+        <receiver
+            android:name="com.android.phone.vvm.omtp.OmtpBootCompletedReceiver"
+            android:exported="true"
+            android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
+            <intent-filter>
+                <action android:name="android.intent.action.BOOT_COMPLETED"/>
+            </intent-filter>
+        </receiver>
        <receiver
            android:name="com.android.phone.vvm.omtp.fetch.FetchVoicemailReceiver"
            android:exported="true">