allow otasp activation for system user only
- random phone process crash due to start broadcastreceiver from
secondary user which is not allowed since phone stack only created for
the device owner.
- otaspSimStateReceiver is introduced from O refactor.
before refactor, otasp was explicitly disabled for secondary users.
Bug:35360891
Test: Manual
Change-Id: I134892df3b98d181f7c5782f586a665aef9c0a63
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 755d970..5d91fb0 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -467,7 +467,8 @@
</intent-filter>
</service>
- <receiver android:name=".otasp.OtaspSimStateReceiver" android:exported ="false">
+ <receiver android:name=".otasp.OtaspSimStateReceiver" androidprv:systemUserOnly="true"
+ android:exported ="false">
<intent-filter>
<action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" />
</intent-filter>