Activate Telephony Service Handle Caching
The infrastructure for telephony handle caching was checked in in ag/10255108, but disabled due to changes that needed to be made in AOSP. This CL activates the caching. Test: atest PhoneSubInfoControllerTest Test: atest DcTrackerTest Test: atest CellBroadcastConfigTest Bug: 140788621 Change-Id: I42c829a07f9192ccbedef38e835019804eb20978
This commit is contained in:
@@ -13135,7 +13135,7 @@ public class TelephonyManager {
|
||||
*/
|
||||
static IPhoneSubInfo getSubscriberInfoService() {
|
||||
// Keeps cache disabled until test fixes are checked into AOSP.
|
||||
if (true) {
|
||||
if (!sServiceHandleCacheEnabled) {
|
||||
return IPhoneSubInfo.Stub.asInterface(
|
||||
TelephonyFrameworkInitializer
|
||||
.getTelephonyServiceManager()
|
||||
@@ -13169,7 +13169,7 @@ public class TelephonyManager {
|
||||
*/
|
||||
static ISub getSubscriptionService() {
|
||||
// Keeps cache disabled until test fixes are checked into AOSP.
|
||||
if (true) {
|
||||
if (!sServiceHandleCacheEnabled) {
|
||||
return ISub.Stub.asInterface(
|
||||
TelephonyFrameworkInitializer
|
||||
.getTelephonyServiceManager()
|
||||
@@ -13203,7 +13203,7 @@ public class TelephonyManager {
|
||||
*/
|
||||
static ISms getSmsService() {
|
||||
// Keeps cache disabled until test fixes are checked into AOSP.
|
||||
if (true) {
|
||||
if (!sServiceHandleCacheEnabled) {
|
||||
return ISms.Stub.asInterface(
|
||||
TelephonyFrameworkInitializer
|
||||
.getTelephonyServiceManager()
|
||||
|
||||
Reference in New Issue
Block a user