From 9db383cf1d90aec2f2be7d40a3425fac38d3bad3 Mon Sep 17 00:00:00 2001 From: Aaron Huang Date: Tue, 28 Dec 2021 03:23:02 +0800 Subject: Use public resouce in android.R package Use public resource since IpSec is planed to be moved into Connectivity mainline module. Bug: 204153604 Test: build Change-Id: I0aafef6b9b08307c3aebce597a2dd24925c6b09a Merged-In: I0aafef6b9b08307c3aebce597a2dd24925c6b09a --- framework-t/src/android/net/IpSecAlgorithm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework-t/src/android/net/IpSecAlgorithm.java') diff --git a/framework-t/src/android/net/IpSecAlgorithm.java b/framework-t/src/android/net/IpSecAlgorithm.java index a84e7a9c63..10a22ac360 100644 --- a/framework-t/src/android/net/IpSecAlgorithm.java +++ b/framework-t/src/android/net/IpSecAlgorithm.java @@ -343,7 +343,7 @@ public final class IpSecAlgorithm implements Parcelable { // Load and validate the optional algorithm resource. Undefined or duplicate algorithms in // the resource are not allowed. final String[] resourceAlgos = systemResources.getStringArray( - com.android.internal.R.array.config_optionalIpSecAlgorithms); + android.R.array.config_optionalIpSecAlgorithms); for (String str : resourceAlgos) { if (!ALGO_TO_REQUIRED_FIRST_SDK.containsKey(str) || !enabledAlgos.add(str)) { // This error should be caught by CTS and never be thrown to API callers -- cgit v1.2.3