Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev

* changes:
  Add gating, logging for PhoneStateListener's limit
  Institute limit on PhoneStateListener
This commit is contained in:
Hall Liu
2020-03-28 06:48:56 +00:00
committed by Android (Google) Code Review
5 changed files with 116 additions and 6 deletions

View File

@@ -1069,7 +1069,8 @@ public final class SystemServer {
t.traceEnd();
t.traceBegin("StartTelephonyRegistry");
telephonyRegistry = new TelephonyRegistry(context);
telephonyRegistry = new TelephonyRegistry(
context, new TelephonyRegistry.ConfigurationProvider());
ServiceManager.addService("telephony.registry", telephonyRegistry);
t.traceEnd();