This change ensures that null ProxyInfo instances are honored
and reflected in the actual VpnProfile.
Ikev2VpnProfiles incorrectly set ProxyInfo as an empty instance
when provided with a null ProxyInfo. Other components in the
system sometimes have different behavior if presented with an
empty ProxyInfo instead of a null one.
Bug: 244281603
Test: atest FrameworksNetTests
Test: Manual testing with VPN validation enabled
Change-Id: I67ee2aa5c96dc22ba8fcd2be3fd4c090dec20697
Visualizer.getSamplingRate method was always returning
the same value. This is not valid since the actual
sampling rate depends on the audio stream where
the Visualizer is instantiated.
Bug: 162727518
Test: atest CtsMediaAudioTestCases:VisualizerTest
Merged-In: Ia2fc453ce8b6b0e11e61bc00c764f822b39cf951
Change-Id: Ia2fc453ce8b6b0e11e61bc00c764f822b39cf951
Using else to make the when expression exhaustive won't flag future
enum values that are not handled, so use the explicit null case
instead.
Test: m PackageManagerServiceHostTests
Change-Id: I818587d181231bbc198b731637248ed18bbcac21
Bazel doesn't allow a module and file with the same name.
These are some extra modules I missed in aosp/2201115
Bug: 198619163
Test: m am, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/am and not am.sh
Change-Id: I763a938918854541ec5b0bcf740b1b6cf0fce771
The out-of-date std::span in external/libcxx currently uses ptrdiff_t
as the type of size() and the second ctor argument. The C++20 std::span
actually uses size_t for these values instead. Try to accommodate both
versions of std::span until libc++ is upgraded.
Bug: http://b/175635923
Test: treehugger
Change-Id: Idc43f880b6eb21dad79e79fa456847d5865a1ed2
Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY to carrier
config, which indicates the capabilities that are exempt from the single
PDN rule.
Fix: 237550962
Test: atest + cts
Change-Id: Ie49f6274d8e780534e203d6d0a5ead4ed2f3cfa7
Merged-In: Ie49f6274d8e780534e203d6d0a5ead4ed2f3cfa7
As only the FGS flag is removed by removeForegroundServiceFlagFromNotification,
it exceeds the package limit(MAX_PACKAGE_NOTIFICATIONS).
And eventually OutOfMemory occurs and the device is reset.
When the flag is removed, check in the same way the normal notification to prevent problems.
Test: Searching for images in the Chrome browser
Test: Download more than 50 images
Test: Check NotificationRecord count in Notification dump
Change-Id: Iacbc3a3e545f62d15bae5245ebcf6ed47f5c83a8
To support state retrieval of ignoring orientation request in
a specific display area, we have to extend capability of protocol
buffer to expose such information.
This change revises WMS's protobuf definition to reach the goal.
Bug: 234669107
Test: atest android.server.wm.AppConfigurationTests
atest android.dpi.cts.ConfigurationScreenLayoutTest
atest android.view.cts.AttachedSurfaceControlTest
Change-Id: I8cd658283bd90fb6a4f8c55d7a60e7e7e9202195
For some unknown reason, the merged imsi list might contain
duplicated items. Deduplication for better error handling.
Test: NetworkPolicyManagerServiceTest
Bug: 243015487
Change-Id: I69d332ee0acde6cdd7582d1aa18c82576f7090f2
This change modifies the test config file by switching to use `PushFilePreparer` instead of `FilePusher`, since the `FilePusher` class which is defined in `compatibility-tradefed` is designed for the tests that are part of compatibility suite, but PreloadCheck is not.
Bug: 220991354
Test: atest PreloadCheck
Change-Id: Id25a16d6339b0ec8b5b61f1799c842f5ebd143ba
BackgroundActivityStartController is a new class to contain the logic
to permit activity launches from the background. The logic itself has
just been moved from ActivityStarter without any changes.
Bug: 236234252
Test: atest ActivityStarterTests
Change-Id: Id2f6b6a8bc7e8f6fbf206aa1b82f1a75d7e35aaa
Merged-In: I6ee0e839a4000c9e27630c2e654d945bf45b21e6
- ePDG private error type CONGESTION was added in 3GPP TS 24.502
and used by some carriers.
Bug: 233121749
Test: ErrorPolicyManagerTest# testErrorPolicyWithNumAttemptsPerFqdn()
Change-Id: I85e6a1700f72db1d55a7929e5d4d93f8cac66c64
The processing job is non-critical but quite CPU intensive. Reducing
priority allows the system to throttle the job more aggresively.
Test: presubmit
Bug: 241948742
Change-Id: Ie7aa921dec1aa1f4f8582041dae1679950f4d868
Bazel doesn't allow a module and file with the same name.
Bug: 198619163
Test: m ime, verified it was still installed to out/target/product/emulator64_x86_64/system/bin/ime and not ime.sh
Change-Id: I214e190e159a7aff9149e77146d1a493992e885d