Loading services/credentials/java/com/android/server/credentials/CredentialManagerService.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -247,8 +247,13 @@ public final class CredentialManagerService } } public static boolean isCredentialDescriptionApiEnabled() { public static boolean isCredentialDescriptionApiEnabled() { final long origId = Binder.clearCallingIdentity(); try { return DeviceConfig.getBoolean( return DeviceConfig.getBoolean( DeviceConfig.NAMESPACE_CREDENTIAL, DEVICE_CONFIG_ENABLE_CREDENTIAL_DESC_API, false); DeviceConfig.NAMESPACE_CREDENTIAL, DEVICE_CONFIG_ENABLE_CREDENTIAL_DESC_API, false); } finally { Binder.restoreCallingIdentity(origId); } } } @SuppressWarnings("GuardedBy") // ErrorProne requires initiateProviderSessionForRequestLocked @SuppressWarnings("GuardedBy") // ErrorProne requires initiateProviderSessionForRequestLocked Loading Loading
services/credentials/java/com/android/server/credentials/CredentialManagerService.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -247,8 +247,13 @@ public final class CredentialManagerService } } public static boolean isCredentialDescriptionApiEnabled() { public static boolean isCredentialDescriptionApiEnabled() { final long origId = Binder.clearCallingIdentity(); try { return DeviceConfig.getBoolean( return DeviceConfig.getBoolean( DeviceConfig.NAMESPACE_CREDENTIAL, DEVICE_CONFIG_ENABLE_CREDENTIAL_DESC_API, false); DeviceConfig.NAMESPACE_CREDENTIAL, DEVICE_CONFIG_ENABLE_CREDENTIAL_DESC_API, false); } finally { Binder.restoreCallingIdentity(origId); } } } @SuppressWarnings("GuardedBy") // ErrorProne requires initiateProviderSessionForRequestLocked @SuppressWarnings("GuardedBy") // ErrorProne requires initiateProviderSessionForRequestLocked Loading