diff options
author | Meng Wang <mewan@google.com> | 2019-11-19 11:39:31 -0800 |
---|---|---|
committer | Meng Wang <mewan@google.com> | 2019-12-20 17:02:24 -0800 |
commit | 4dad8759449c23ec98e0b0f98b136306b375da47 (patch) | |
tree | e9a41c7c5d173b5d258c36891c5aff01c5590cea | |
parent | 939d099145e95183f90ecb157387ea7a285322ee (diff) | |
download | libsysprop-4dad8759449c23ec98e0b0f98b136306b375da47.tar.gz |
Expose some telephony properties as public.
Because telephony mainline moudle cannot use hidden API.
Bug: 141246285
Test: make
Merged-In: I29d29223a36ce83439755e0ac9cee59892666518
Change-Id: I29d29223a36ce83439755e0ac9cee59892666518
-rw-r--r-- | srcs/android/sysprop/TelephonyProperties.sysprop | 26 | ||||
-rw-r--r-- | srcs/api/PlatformProperties-current.txt | 13 |
2 files changed, 13 insertions, 26 deletions
diff --git a/srcs/android/sysprop/TelephonyProperties.sysprop b/srcs/android/sysprop/TelephonyProperties.sysprop index 858f70e..4308845 100644 --- a/srcs/android/sysprop/TelephonyProperties.sysprop +++ b/srcs/android/sysprop/TelephonyProperties.sysprop @@ -116,7 +116,7 @@ prop { prop { api_name: "operator_iso_country" type: StringList - scope: Internal + scope: Public access: ReadWrite prop_name: "gsm.operator.iso-country" } @@ -217,7 +217,7 @@ prop { prop { api_name: "in_ecm_mode" type: Boolean - scope: Internal + scope: Public access: ReadWrite prop_name: "ril.cdma.inecmmode" } @@ -226,7 +226,7 @@ prop { prop { api_name: "ecm_exit_timer" type: Long - scope: Internal + scope: Public access: Readonly prop_name: "ro.cdma.ecmexittimer" } @@ -235,7 +235,7 @@ prop { prop { api_name: "operator_idp_string" type: String - scope: Internal + scope: Public access: ReadWrite prop_name: "gsm.operator.idpstring" } @@ -254,7 +254,7 @@ prop { prop { api_name: "disable_call" type: Boolean - scope: Internal + scope: Public access: Readonly prop_name: "ro.telephony.disable-call" } @@ -263,7 +263,7 @@ prop { prop { api_name: "ril_sends_multiple_call_ring" type: Boolean - scope: Internal + scope: Public access: Readonly prop_name: "ro.telephony.call_ring.multiple" } @@ -272,7 +272,7 @@ prop { prop { api_name: "call_ring_delay" type: Integer - scope: Internal + scope: Public access: Readonly prop_name: "ro.telephony.call_ring.delay" } @@ -293,7 +293,7 @@ prop { prop { api_name: "wake_lock_timeout" type: Integer - scope: Internal + scope: Public access: Readonly prop_name: "ro.ril.wake_lock_timeout" } @@ -305,7 +305,7 @@ prop { prop { api_name: "reset_on_radio_tech_change" type: Boolean - scope: Internal + scope: Public access: Readonly prop_name: "persist.radio.reset_on_switch" } @@ -344,7 +344,7 @@ prop { prop { api_name: "test_csim" type: Boolean - scope: Internal + scope: Public access: Readonly prop_name: "persist.radio.test-csim" } @@ -355,7 +355,7 @@ prop { prop { api_name: "ignore_nitz" type: Boolean - scope: Internal + scope: Public access: Readonly prop_name: "telephony.test.ignore.nitz" } @@ -366,7 +366,7 @@ prop { prop { api_name: "multi_sim_config" type: String - scope: Internal + scope: Public access: ReadWrite prop_name: "persist.radio.multisim.config" } @@ -428,7 +428,7 @@ prop { prop { api_name: "mobile_data" type: Boolean - scope: Internal + scope: Public access: Readonly prop_name: "ro.com.android.mobiledata" } diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt index 17b6129..2eabbed 100644 --- a/srcs/api/PlatformProperties-current.txt +++ b/srcs/api/PlatformProperties-current.txt @@ -166,7 +166,6 @@ props { prop { api_name: "call_ring_delay" type: Integer - scope: Internal prop_name: "ro.telephony.call_ring.delay" } prop { @@ -203,13 +202,11 @@ props { } prop { api_name: "disable_call" - scope: Internal prop_name: "ro.telephony.disable-call" } prop { api_name: "ecm_exit_timer" type: Long - scope: Internal prop_name: "ro.cdma.ecmexittimer" } prop { @@ -240,13 +237,11 @@ props { } prop { api_name: "ignore_nitz" - scope: Internal prop_name: "telephony.test.ignore.nitz" } prop { api_name: "in_ecm_mode" access: ReadWrite - scope: Internal prop_name: "ril.cdma.inecmmode" } prop { @@ -269,14 +264,12 @@ props { } prop { api_name: "mobile_data" - scope: Internal prop_name: "ro.com.android.mobiledata" } prop { api_name: "multi_sim_config" type: String access: ReadWrite - scope: Internal prop_name: "persist.radio.multisim.config" } prop { @@ -290,7 +283,6 @@ props { api_name: "operator_idp_string" type: String access: ReadWrite - scope: Internal prop_name: "gsm.operator.idpstring" } prop { @@ -309,7 +301,6 @@ props { api_name: "operator_iso_country" type: StringList access: ReadWrite - scope: Internal prop_name: "gsm.operator.iso-country" } prop { @@ -332,7 +323,6 @@ props { } prop { api_name: "reset_on_radio_tech_change" - scope: Internal prop_name: "persist.radio.reset_on_switch" } prop { @@ -343,7 +333,6 @@ props { } prop { api_name: "ril_sends_multiple_call_ring" - scope: Internal prop_name: "ro.telephony.call_ring.multiple" } prop { @@ -367,7 +356,6 @@ props { } prop { api_name: "test_csim" - scope: Internal prop_name: "persist.radio.test-csim" } prop { @@ -379,7 +367,6 @@ props { prop { api_name: "wake_lock_timeout" type: Integer - scope: Internal prop_name: "ro.ril.wake_lock_timeout" } prop { |