Loading services/core/java/com/android/server/location/contexthub/ContextHubService.java +11 −2 Original line number Diff line number Diff line Loading @@ -444,8 +444,17 @@ public class ContextHubService extends IContextHubService.Stub { mSupportedContextHubPerms = hubInfo.second; mContextHubInfoList = new ArrayList<>(mContextHubIdToInfoMap.values()); mClientManager = new ContextHubClientManager(mContext, mContextHubWrapper); mTransactionManager = new ContextHubTransactionManager( if (Flags.reduceLockingContextHubTransactionManager()) { mTransactionManager = new ContextHubTransactionManager( mContextHubWrapper, mClientManager, mNanoAppStateManager); } else { mTransactionManager = new ContextHubTransactionManagerOld( mContextHubWrapper, mClientManager, mNanoAppStateManager); } mSensorPrivacyManagerInternal = LocalServices.getService(SensorPrivacyManagerInternal.class); return true; Loading Loading
services/core/java/com/android/server/location/contexthub/ContextHubService.java +11 −2 Original line number Diff line number Diff line Loading @@ -444,8 +444,17 @@ public class ContextHubService extends IContextHubService.Stub { mSupportedContextHubPerms = hubInfo.second; mContextHubInfoList = new ArrayList<>(mContextHubIdToInfoMap.values()); mClientManager = new ContextHubClientManager(mContext, mContextHubWrapper); mTransactionManager = new ContextHubTransactionManager( if (Flags.reduceLockingContextHubTransactionManager()) { mTransactionManager = new ContextHubTransactionManager( mContextHubWrapper, mClientManager, mNanoAppStateManager); } else { mTransactionManager = new ContextHubTransactionManagerOld( mContextHubWrapper, mClientManager, mNanoAppStateManager); } mSensorPrivacyManagerInternal = LocalServices.getService(SensorPrivacyManagerInternal.class); return true; Loading