diff options
author | Inseob Kim <inseob@google.com> | 2019-11-08 15:06:37 +0900 |
---|---|---|
committer | Inseob Kim <inseob@google.com> | 2019-12-17 13:57:16 +0900 |
commit | a9d6cd4469abb62c5fc315e120376848ceb47a26 (patch) | |
tree | 22781f054e75256aa52caf10519ee3923526a4fa /cmds/telecom/src | |
parent | 36af0dc32e8d6d66eae27f74a9a127e97c18ae86 (diff) |
Use sysprop library for telephony props
Bug: 117924132
Bug: 141246285
Test: lunch blueline-userdebug; m checkbuild
Change-Id: Idefa10b5bdeaff69496bc66730a7398258f3a38e
Merged-In: Idefa10b5bdeaff69496bc66730a7398258f3a38e
(cherry picked from commit 1b5e241b9217c4d8842925a29d1ca4228329538b)
Diffstat (limited to 'cmds/telecom/src')
-rw-r--r-- | cmds/telecom/src/com/android/commands/telecom/Telecom.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds/telecom/src/com/android/commands/telecom/Telecom.java b/cmds/telecom/src/com/android/commands/telecom/Telecom.java index 9061ed1d48af..1987440106f5 100644 --- a/cmds/telecom/src/com/android/commands/telecom/Telecom.java +++ b/cmds/telecom/src/com/android/commands/telecom/Telecom.java @@ -25,8 +25,8 @@ import android.os.Looper; import android.os.Process; import android.os.RemoteException; import android.os.ServiceManager; -import android.os.SystemProperties; import android.os.UserHandle; +import android.sysprop.TelephonyProperties; import android.telecom.Log; import android.telecom.PhoneAccount; import android.telecom.PhoneAccountHandle; @@ -35,7 +35,6 @@ import android.text.TextUtils; import com.android.internal.os.BaseCommand; import com.android.internal.telecom.ITelecomService; -import com.android.internal.telephony.TelephonyProperties; import java.io.PrintStream; @@ -363,7 +362,7 @@ public final class Telecom extends BaseCommand { * "" (empty string) for a phone in SS mode */ private void runGetSimConfig() throws RemoteException { - System.out.println(SystemProperties.get(TelephonyProperties.PROPERTY_MULTI_SIM_CONFIG)); + System.out.println(TelephonyProperties.multi_sim_config().orElse("")); } private void runGetMaxPhones() throws RemoteException { |