Current code assumes the manual provisioning options should come
up if the qti-telephony blob is present. Don't make that assumption.
Change-Id: I5e4f28b628e3fe3fe9e506631e92c85103e87ccf
3 = right side
-->
<integer name="config_fingerprintSensorLocation">0</integer>
+
+ <!-- Does the device allow for manual subscription provisioning? Only works for multi-sim devices,
+ and currently depends on QC's proprietary telephony stack -->
+ <bool name="config_enableManualSubProvisioning">true</bool>
</resources>
// Disable manual provisioning option to user when
// device is in Airplane mode. Hide it if the extphone framework
// is not present, as the operation relies on said framework.
- if (mExtTelephony == null) {
+ if (mExtTelephony == null ||
+ !mContext.getResources().getBoolean(R.bool.config_enableManualSubProvisioning)) {
mSwitch.setVisibility(View.GONE);
} else {
mSwitch.setVisibility(View.VISIBLE);