Add gating, logging for PhoneStateListener's limit
Add gating via PlatformCompat and DeviceConfig and logging via PlatformCompat to the limit instituted on per-process listeners Fixes: 152074216 Test: atest CtsTelephonyHostCases Change-Id: I4d6681d90705b68c3349f4124e434a29b50fd3a2
This commit is contained in:
@@ -1068,7 +1068,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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user