ICU changed ar_AE default number system from Arabic to latin. Add a
locale for Arabic so that user can change back to Arabic number system.
en-MV added in CLDR 41.
Bug: 242836935
Test: Check number in system UI.
Change-Id: Ie167cacf8fe99b51a6b1bb39a542bebd76ec2754
Merged-In: Ie167cacf8fe99b51a6b1bb39a542bebd76ec2754
This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_REKEY_MOBILITY,
IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELECTION and
IKE_OPTION_AUTOMATIC_NATT_KEEPALIVES.
This commit can also maintain compatibility with older T IPsec
modules that do not support the two IKE_OPTION_AUTOMATIC_ options
Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: Icadbe98b3df3cf3a80f51dc1467eb99753d82216
Add factory method for BLE output device with volume information
Bug: 233975367
Test: atest frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/BluetoothProfileConnectionInfoTest.java
Change-Id: If9f88e2489f93f05c6c83424fc7b7a12671c1f32
Specify that '0' means 'unlimited' for
AudioPortMixExt.maxOpenStreamCount, and 'all opened streams'
for maxActiveStreamCount.
Bug: 205884982
Test: N/A
Merged-In: Ia212fef049778a85046e3333faa0ddf8fe167c1f
Change-Id: Ia212fef049778a85046e3333faa0ddf8fe167c1f
(cherry picked from commit 52ca76ed07d48f1d9b884a7082dd7481e35eb5c8)
This reverts commit de1dca7c7609a09e83f0c1f58fd9b19024bbbfe1.
Reason for revert: This commit will be cherry picked for QPR
release and is accessing new IPsec API constants
that will not be released until mainline October train. This
commit fails to maintain the compatibility with IPsec
module that is older than the October version.
Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: Iff0dcc32025dad3016257655205beaf2e842f24c
Add support for associating an initial volume with a BLE
connection:
- add volume info to BluetoothProfileConnectionInfo in a new
BLE output factory method
- when handling device connection for BLE, also check if
volume information from the connection information is available.
Bug: 233975367
Test: atest frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/BluetoothProfileConnectionInfoTest.java
Change-Id: Ib54267727bc4d47e6999f2b84eab805f23c4955a
Merged-In: Ib54267727bc4d47e6999f2b84eab805f23c4955a
During phone creation and phone count changes,
it was possible to get a null value for onCellInfo().
Since the API is documented as NonNull, always return
a non-null value, forcing an empty list in case there
is still a null lurking somewhere else.
Bug: 237964039
Test: atest TelephonyRegistryTest#testCellInfoChanged
Change-Id: I3b46c211f5542a39187b9d3b137f8483c44ccd39
The 'session' field is only used by the framework (if at all),
so it being moved to the HAL AIDL to the system-specific part.
Also update the comment on AudioPort.
Bug: 205884982
Test: m
Merged-In: Ia214c343bbf08c7944ea5ebf6140a92821941b46
Change-Id: Ia214c343bbf08c7944ea5ebf6140a92821941b46
(cherry picked from commit 8abc0314a7e6c6b6569d5e2a21e17c3040101d32)
Copy isBypassable flag from VpnProfile to VpnConfig so that
ConnectivityService can set the correct config to netd when
network is created.
VpnConfig#allowBypass isn't set for platform VPN when
startVpnProfilePrivileged tries to convert the VpnProfile
to VpnConfig.
Bug: 242931436
Test: atest FrameworksNetTests:VpnTest
Change-Id: Ib0fa580bb41dcf67e23b00b79de8e0535e5c15a2
The exit() of of VpnRunner will do exitVpnRunner() and
cleanupVpnStateLocked(). But the exitVpnRunner() posts a runnable
to the executor. This means that disconnectVpnRunner() might run
concurrently with cleanupVpnStateLocked(), and it might even
complete after cleanupVpnStateLocked() finishes. After exiting
the runner, the states are reset. The remaining events in the
executor are irrelavent and should be skipped to prevent
accessing any of the outer class's members.
Also add missing synchronized block by verify that there is no
other field of the outer Vpn class that is used inside
Ikev2VpnRunner implicitly.
Bug: 235322391
Test: atest FrameworksNetTests
Change-Id: I9eed58b2e96ebaf33e557a42e83525a74a4697d8
Invert the order to prevent confusing VPN disconnected
notification being sent before the runner actually exits.
Bug: 235322391
Test: atest FrameworksNetTests
Change-Id: Ie83c5ee35509f6ba10465fd9867c596a956e189a
This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_REKEY_MOBILITY,
IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELECTION and
IKE_OPTION_AUTOMATIC_NATT_KEEPALIVES
Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: I0ea9fbf1e0c304a5afb563f912d2a8a49b4faad0
Lint warns on usages of @VisibleForTesting methods from
non-test code. Since SystemUI-tests is just a regular
android_library instead of an android_test, it was warning
there. Mark it as a test module so lint knows not to warn.
Fixes: 235339747
Test: Presubmits
Change-Id: Ibf8e94c4f9582740e60e285cc918b2976c1fc19a
Fix "'when' expression must be exhaustive" and UNEXPECTED_SAFE_CALL
errors.
Bug: 216136346
Test: m checkbuild
Change-Id: I2c1b1f7581426496f31198896c4ff3bd9abf2941
Merged-In: I2c1b1f7581426496f31198896c4ff3bd9abf2941
Revert submission 2141595-GRANT_PLATFORM_VPN
Reason for revert: Refer to the comment in ag/19491935.
Reverted Changes:
I0e0566bb8:Grant the ACTIVATE_PLATFORM_VPN appop if VPN app h...
I0580baca6:Test if VPN app can grant ACTIVATE_PLATFORM_VPN wi...
Change-Id: I6cfdd2b75aa6e7427ffa6024e1c3ff183a3e0379
This file notification ids to be used anywhere in the android package (e.g. system_server). Match platform resource OWNERS that has similar scope.
Change-Id: I2d525d59c24df63429ef090e41e45952506c1c59
Temporarily reduced owners during refactoring. This
is to make sure the new changes added by other developers
will be properly reviewed and picked up by the new code.
Bug: 239607619
Test: None
Change-Id: I57dfe67a4ade5acc7f5ad8b8b55faecc9ea00f03