diff options
author | Makoto Onuki <omakoto@google.com> | 2020-02-20 10:09:08 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2020-02-20 10:12:50 -0800 |
commit | 5577300386d49242947182e7aed62aad7f757f5f (patch) | |
tree | 638f98d74e40f7b742b1a4d28a7546caf851fa7c /cmds/telecom | |
parent | 08b20c4b0bdef2e442ad79ffdbc42f06edc6b6a7 (diff) |
Temporarily fix for the "telecom" command
Bug: 148897549
Test: m telecom && adb sync && adb shell telecom set-sim-count 0
Change-Id: I0951aa78dd3a4cc45d0a849baf9bcac1b31ef339
Diffstat (limited to 'cmds/telecom')
-rw-r--r-- | cmds/telecom/src/com/android/commands/telecom/Telecom.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/telecom/src/com/android/commands/telecom/Telecom.java b/cmds/telecom/src/com/android/commands/telecom/Telecom.java index 97074050448e..fe270a480d83 100644 --- a/cmds/telecom/src/com/android/commands/telecom/Telecom.java +++ b/cmds/telecom/src/com/android/commands/telecom/Telecom.java @@ -46,6 +46,10 @@ public final class Telecom extends BaseCommand { * @param args The command-line arguments */ public static void main(String[] args) { + // Initialize the telephony module. + // TODO: Do it in zygote and RuntimeInit. b/148897549 + ActivityThread.initializeMainlineModules(); + (new Telecom()).run(args); } |