Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
28405 commits behind the upstream repository.
user avatar
Yan Yan authored
IpSecTransformState is a new API that exposed from a mainline module.
Ideally before SDK finalization, platform should check the API flag
com.android.net.flags.ipsec_transform_state before calling the API.
However the flag is defined in mainline module is not accessible from
the platform. Thus previously a placeholder flag was used.

This patch removes the usage of the placeholder flag. Instead the
code will check the availability of the API with a try catch block

Bug: 328844044
Test: atest FrameworksVcnTests && atest CtsVcnTestCases
Flag: NONE mainline API flag not accessible; using try catch
      block to gate the behavior
Change-Id: Ibbcb14817a6d714cdc99cf0894f1fc935a602a2c
0346207e
History
user avatar 0346207e
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
AccessibilityEventsLogger
AccessoryDisplay
ActivityManagerPerfTests
ActivityTests
AmSlam
AppLaunch
AppResourcesLoaders
Assist
AttestationVerificationTest
BackgroundDexOptServiceIntegrationTests
BandwidthTests
BatteryStatsPerfTest
BatteryWaster
BiDiTests
BinaryTransparencyHostTest
BinderLeakTest
BlobStoreTestUtils
BootImageProfileTest
BrowserPowerTest
Camera2Tests
CameraPrewarmTest
ChoreographerTests
Codegen
CompanionDeviceMultiDeviceTests
Compatibility
CoreTests/android
CtsSurfaceControlTestsStaging
DataIdleTest
DozeTest
DpiTest
DynamicCodeLoggerIntegrationTests
EnforcePermission
FeatureSplit
FlickerTests
FrameworkPerf
FsVerityTest
GamePerformance
GridLayoutTest
HandwritingIme
HierarchyViewerTest
HugeBackup
Input
InputMethodStressTest
InputScreenshotTest
Internal
JankBench
JobSchedulerPerfTests
JobSchedulerTestApp
LargeAssetTest
LegacyAssistant
LegacyRestoreTest
LocalizationTest
LocationTracker
LockTaskTests
LotsOfApps
LowStorageTest
ManagedProfileLifecycleStressTest
MemoryUsage
MidiTests
MirrorSurfaceTest
MotionPrediction
MultiDeviceInput
MultiUser
NativeProcessesMemoryTest
NetworkSecurityConfigTest
NullHomeTest
OdmApps
OneMedia
PackageWatchdog
PlatformCompatGating
ProtoInputStreamTests
RemoteDisplayProvider
RollbackTest
SerialChat
ServiceCrashTest
SharedLibrary
SharedLibraryLoadingTest
ShowWhenLockedApp
SmokeTest
SmokeTestApps
SoundTriggerTestApp
Split
StagedInstallTest
StatusBar
SurfaceComposition
SurfaceControlViewHostTest
SurfaceViewBufferTests
SurfaceViewSyncTest
SystemMemoryTest
SystemUIDemoModeController
TaskOrganizerTest
TelephonyCommonTests
TouchLatency
TransformTest
TransitionTests
TrustTests
TtsTests
UiBench
UpdatableSystemFontTest
UsageReportingTest