Revert "REVERTME: ModemConfig: Use platform APIs for SystemProperties"
This reverts commit 14e521c0487af0b513cc9a5df93cc7a3b5add450.
This commit is contained in:
parent
403a7f1cab
commit
8cc4875938
2 changed files with 1 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ android_app {
|
|||
|
||||
required: ["privapp_whitelist_com.sony.opentelephony.modemconfig"],
|
||||
|
||||
platform_apis: true,
|
||||
sdk_version: "system_current",
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ import android.app.Service
|
|||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.os.IBinder
|
||||
import android.os.SystemProperties
|
||||
import android.telephony.SubscriptionInfo
|
||||
import android.telephony.SubscriptionManager
|
||||
import android.telephony.TelephonyManager
|
||||
|
|
@ -199,10 +198,6 @@ context.resources.getXml(R.xml.service_provider_sim_configs).use {
|
|||
val name = findConfigurationName(this, tm)
|
||||
|
||||
val notificationText = if (name != null) {
|
||||
val prop = "persist.vendor.somc.cust.modem${sub.simSlotIndex}"
|
||||
if (VERBOSE) Log.v(TAG, "Setting $prop to $name")
|
||||
SystemProperties.set(prop, name)
|
||||
|
||||
resources.getString(
|
||||
R.string.notification_text_modem_configuration_resolved_modem_config,
|
||||
name,
|
||||
|
|
|
|||
Loading…
Reference in a new issue